Function monotone_crescendo::wasm_memory::dealloc[][src]

#[no_mangle]
pub unsafe extern "C" fn dealloc(ptr: *mut c_void)
Expand description

Deallocate memory in WebAssembly’s linear memory at the offset located at ptr

No explicit calls to std::mem::drop are needed as std::vec::Vec::from_raw_parts takes ownership of the memory pointed at by ptr.