Skip to main content

void_malloc

Function void_malloc 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn void_malloc(size: usize) -> *mut u8
Expand description

Allocates memory block on the WebAssembly heap. This is called internally by the Javascript Host to pass inputs.