Function libmimalloc_sys::mi_heap_set_default
source ยท pub unsafe extern "C" fn mi_heap_set_default(
heap: *mut mi_heap_t,
) -> *mut mi_heap_t
Expand description
Set the default heap to use for mi_malloc
et al.
Returns the previous default heap.