mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-10-31 21:27:30 +00:00
When embedding WAMR, this PR allows to register a callback that is invoked when memory.grow fails. In case of memory allocation failures, some languages allow to handle the error (e.g. by checking the return code of malloc/calloc in C), some others (e.g. Rust) just panic. |
||
|---|---|---|
| .. | ||
| aot_export.h | ||
| lib_export.h | ||
| wasm_c_api.h | ||
| wasm_export.h | ||