Skip to main content

mi_malloc

Function mi_malloc 

Source
pub unsafe extern "C" fn mi_malloc(size: usize) -> *mut c_void
Expand description

Allocate size uninitialized bytes.

Returns a pointer to the allocated memory or null if out of memory. The pointer will still be unique if size is 0.