Update document and fix wasm_runtime_call_wasm_a issue (#1005)
Update document memory_tune.md: fix embed wamr link error, fix description error of wasm operand stack size, update picture. Fix wasm_runtime_call_wasm_a issue reported by #1003 and update sample basic to call this API.
This commit is contained in:
@ -1629,7 +1629,7 @@ wasm_runtime_call_wasm_a(WASMExecEnv *exec_env,
|
||||
}
|
||||
|
||||
parse_args_to_uint32_array(type, args, argv);
|
||||
if (!(ret = wasm_runtime_call_wasm(exec_env, function, num_args, argv)))
|
||||
if (!(ret = wasm_runtime_call_wasm(exec_env, function, argc, argv)))
|
||||
goto fail2;
|
||||
|
||||
parse_uint32_array_to_results(type, argv, results);
|
||||
|
||||
Reference in New Issue
Block a user