pub unsafe fn free_shared(ptr: *mut u8, size: usize)Expand description
Free shared memory allocated by alloc_shared.
ยงSafety
ptr must have been returned by alloc_shared with the same size.
The pointer must not be used after this call.
pub unsafe fn free_shared(ptr: *mut u8, size: usize)Free shared memory allocated by alloc_shared.
ptr must have been returned by alloc_shared with the same size.
The pointer must not be used after this call.