Skip to main content

host_dealloc

Function host_dealloc 

Source
pub fn host_dealloc(ptr: u32, len: u32)
Expand description

Free a buffer previously returned by host_alloc (or packed into a -> u64 ABI return). No-op for null pointers, zero length, or an oversized length that could not have been allocated.