wamr_sys

Function wasm_runtime_malloc

Source
pub unsafe extern "C" fn wasm_runtime_malloc(
    size: c_uint,
) -> *mut c_void
Expand description

Allocate memory from runtime memory environment.

@param size bytes need to allocate

@return the pointer to memory allocated