Skip to content

Commit

Permalink
minor comment fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Apr 25, 2024
1 parent 587b2b0 commit e0eb25f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions core/iwasm/include/wasm_export.h
Original file line number Diff line number Diff line change
Expand Up @@ -1763,11 +1763,12 @@ wasm_runtime_get_module_name(wasm_module_t module);
* Ensure that the calling thread still has a reasonable amount of
* native stack (WASM_STACK_GUARD_SIZE bytes) available.
*
* If enough stack is left, returns true.
* Otherwise, raise a "native stack overflow" trap and returns false.
* If enough stack is left, this function returns true.
* Otherwise, this function raises a "native stack overflow" trap and
* returns false.
*
* Note: please do not expect a very strict detection. it's a good idea
* to give some margins. wasm_runtime_detect_native_stack_overflow itslf
* to give some margins. wasm_runtime_detect_native_stack_overflow itself
* requires a small amount of stack to run.
*/
WASM_RUNTIME_API_EXTERN bool
Expand Down

0 comments on commit e0eb25f

Please sign in to comment.