[][src]Function heaparray::alloc_utils::deallocate

pub unsafe fn deallocate<T>(ptr: &mut T, size: usize, align: usize)

Deallocate a block of memory using the given size and alignment information. Completely ignores the type of the input pointer, so the size and align need to be correct.