Add user to enlarge memory error callback (#2546)

This commit is contained in:
Enrico Loparco
2023-09-13 12:03:49 +02:00
committed by GitHub
parent a6fda9b7ab
commit 83db970953
3 changed files with 11 additions and 6 deletions

View File

@ -26,7 +26,7 @@ wasm_runtime_memory_pool_size();
void
wasm_runtime_set_enlarge_mem_error_callback(
const enlarge_memory_error_callback_t callback);
const enlarge_memory_error_callback_t callback, void *user_data);
#ifdef __cplusplus
}