Browse Source

update signature

Georgii Rylov 1 year ago
parent
commit
478b373cda
2 changed files with 2 additions and 2 deletions
  1. 1 1
      core/iwasm/interpreter/wasm_runtime.c
  2. 1 1
      core/iwasm/interpreter/wasm_runtime.h

+ 1 - 1
core/iwasm/interpreter/wasm_runtime.c

@@ -4197,7 +4197,7 @@ wasm_get_module_inst_mem_consumption(const WASMModuleInstance *module_inst,
                  || (WASM_ENABLE_MEMORY_TRACING != 0) */
 
 #if WASM_ENABLE_DUMP_CALL_STACK != 0
-uint32
+void
 wasm_interp_iterate_callstack(WASMExecEnv *exec_env,
                               const wasm_frame_callback frame_handler,
                               void *user_data)

+ 1 - 1
core/iwasm/interpreter/wasm_runtime.h

@@ -731,7 +731,7 @@ wasm_get_table_inst(const WASMModuleInstance *module_inst, uint32 tbl_idx)
 
 #if WASM_ENABLE_DUMP_CALL_STACK != 0
 
-uint32
+void
 wasm_interp_iterate_callstack(WASMExecEnv *exec_env,
                               const wasm_frame_callback frame_handler,
                               void *user_data);