wasm_alloc

Function wasm_alloc 

Source
#[unsafe(no_mangle)]
pub extern "C" fn wasm_alloc(size: u32) -> u32
Expand description

Allocate memory from WASM linear memory. Returns pointer (0 on failure; sets last_error).