Function swift_runtime_sys::root::swift::swift_deallocBox

source ยท
pub unsafe extern "C" fn swift_deallocBox(object: *mut HeapObject)
Expand description

Deallocate the given memory allocated by swift_allocBox; it was returned by swift_allocBox but is otherwise in an unknown state. The given Metadata pointer must be the same metadata pointer that was passed to swift_allocBox when the memory was allocated.