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:
Wenyong Huang
2022-02-14 17:36:38 +08:00
committed by GitHub
parent 59282f7ddb
commit bb87180b72
5 changed files with 13 additions and 13 deletions

View File

@ -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);