mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-07-15 08:48:33 +00:00
samples/native-stack-overflow: comment
This commit is contained in:
parent
09b084281f
commit
671d6cc523
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user