samples/native-stack-overflow: comment

This commit is contained in:
YAMAMOTO Takashi 2024-04-22 12:46:32 +09:00
parent 09b084281f
commit 671d6cc523

View File

@ -124,8 +124,8 @@ main(int argc, char **argv)
/* note: the function type is (ii)i */ /* note: the function type is (ii)i */
uint32_t wasm_argv[] = { uint32_t wasm_argv[] = {
stack, stack, /* native_stack */
30, 30, /* recurse_count */
}; };
uint32_t wasm_argc = 2; uint32_t wasm_argc = 2;
if (!wasm_runtime_call_wasm(exec_env, func, wasm_argc, wasm_argv)) { if (!wasm_runtime_call_wasm(exec_env, func, wasm_argc, wasm_argv)) {