@@ -467,14 +467,14 @@ wasm_runtime_set_wasi_ns_lookup_pool(wasm_module_t module, const char *ns_lookup
467
467
* Instantiate a WASM module.
468
468
*
469
469
* @param module the WASM module to instantiate
470
- * @param stack_size the default stack size of the module instance when the
470
+ * @param default_stack_size the default stack size of the module instance when the
471
471
* exec env's operation stack isn't created by user, e.g. API
472
472
* wasm_application_execute_main() and wasm_application_execute_func()
473
473
* create the operation stack internally with the stack size specified
474
474
* here. And API wasm_runtime_create_exec_env() creates the operation
475
475
* stack with stack size specified by its parameter, the stack size
476
476
* specified here is ignored.
477
- * @param heap_size the default heap size of the module instance, a heap will
477
+ * @param host_managed_heap_size the default heap size of the module instance, a heap will
478
478
* be created besides the app memory space. Both wasm app and native
479
479
* function can allocate memory from the heap.
480
480
* @param error_buf buffer to output the error info if failed
@@ -484,7 +484,7 @@ wasm_runtime_set_wasi_ns_lookup_pool(wasm_module_t module, const char *ns_lookup
484
484
*/
485
485
WASM_RUNTIME_API_EXTERN wasm_module_inst_t
486
486
wasm_runtime_instantiate (const wasm_module_t module ,
487
- uint32_t stack_size , uint32_t heap_size ,
487
+ uint32_t default_stack_size , uint32_t host_managed_heap_size ,
488
488
char * error_buf , uint32_t error_buf_size );
489
489
490
490
/**
0 commit comments