pub unsafe extern "C" fn xila_heap_free(
heap: *mut Heap,
pointer: *mut c_void,
) -> StatusExpand description
Free a block owned by this heap. Null succeeds. A pointer that this heap
does not own, an interior pointer or a block that was already freed returns
InvalidArgument. This check reads the block header through the pointer, so
the pointer must at least address readable memory (the trusted native
contract; see Heap).
ยงSafety
Heap must be live and exclusively accessed.