Skip to content

Commit bc8e62c

Browse files
committed
refactor: update wasm_copy_callstack to use WASMCApiFrame instead of wasm_frame_t
1 parent ea62ad9 commit bc8e62c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/iwasm/include/wasm_export.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ typedef struct wasm_frame_t {
139139
uint32_t *lp;
140140
} WASMCApiFrame;
141141

142-
typedef WASMCApiFrame wasm_frame_t;
142+
// typedef WASMCApiFrame wasm_frame_t;
143143

144144
/* WASM section */
145145
typedef struct wasm_section_t {
@@ -904,7 +904,7 @@ wasm_runtime_destroy_exec_env(wasm_exec_env_t exec_env);
904904
* @return number of copied frames
905905
*/
906906
WASM_RUNTIME_API_EXTERN uint32_t
907-
wasm_copy_callstack(const wasm_exec_env_t exec_env, wasm_frame_t *buffer,
907+
wasm_copy_callstack(const wasm_exec_env_t exec_env, WASMCApiFrame *buffer,
908908
const uint32_t length, const uint32_t skip_n,
909909
char *error_buf, uint32_t error_buf_size);
910910

0 commit comments

Comments
 (0)