Function snmalloc_sys::rust_dealloc [−][src]
pub unsafe extern "C" fn rust_dealloc(
ptr: *mut c_void,
alignment: usize,
size: usize
) -> c_voidExpand description
De-allocate the memory at the given address with the given alignment and size. The client must assure the following things:
- the memory is acquired using the same allocator and the pointer points to the start position.
alignmentandsizeis the same as allocation The program may be forced to abort if the constrains are not full-filled.