Function libmimalloc_sys::mi_heap_malloc_small
source ยท pub unsafe extern "C" fn mi_heap_malloc_small(
heap: *mut mi_heap_t,
size: usize,
) -> *mut c_void
Expand description
Equivalent to mi_malloc_small
, but allocates out of the specific
heap instead of the default.
size
must be smaller or equal to MI_SMALL_SIZE_MAX
.