[−][src]Function snmalloc_sys::rust_dealloc
pub unsafe extern "C" fn rust_dealloc(
ptr: *mut c_void,
alignment: size_t,
size: size_t
) -> c_void
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.
alignment
andsize
is the same as allocation The program may be forced to abort if the constrains are not full-filled.