Skip to content

Commit 813831d

Browse files
author
Georgii Rylov
committed
keep devs notes out of public API
1 parent 1b82ccc commit 813831d

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

core/iwasm/common/wasm_runtime_common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1748,7 +1748,7 @@ wasm_iterate_callstack(const wasm_exec_env_t exec_env,
17481748
{
17491749
/*
17501750
* Note for devs: please refrain from such modifications inside of
1751-
* wasm_iterate_callstack
1751+
* wasm_iterate_callstack to preserve async-signal-safety
17521752
* - any allocations/freeing memory
17531753
* - dereferencing any pointers other than: exec_env, exec_env->module_inst,
17541754
* exec_env->module_inst->module, pointers between stack's bottom and

core/iwasm/include/wasm_export.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -892,12 +892,6 @@ typedef bool (*wasm_frame_callback)(void *, wasm_frame_ptr_t);
892892
* - exec_env->module_inst
893893
* - exec_env->module_inst->module
894894
*
895-
* Note for devs: please refrain from such modifications inside of this call
896-
* - any allocations/freeing memory
897-
* - dereferencing any pointers other than: exec_env, exec_env->module_inst,
898-
* exec_env->module_inst->module, pointers between stack's bottom and
899-
* top_boundary
900-
*
901895
* @param exec_env the execution environment that containes frames
902896
* @param callback the callback function provided by the user
903897
* @param user_data context for callback provided by the user

0 commit comments

Comments
 (0)