wamr_sys

Function wasm_runtime_module_free

Source
pub unsafe extern "C" fn wasm_runtime_module_free(
    module_inst: wasm_module_inst_t,
    ptr: u64,
)
Expand description

Free memory to the heap of WASM module instance

@param module_inst the WASM module instance which contains heap @param ptr the pointer to free