Function libmimalloc_sys::mi_reallocn

source ยท
pub unsafe extern "C" fn mi_reallocn(
    p: *mut c_void,
    count: usize,
    size: usize,
) -> *mut c_void
Expand description

Re-allocate memory to count elements of size bytes.

The realloc equivalent of the mi_mallocn interface. Returns null if count * size overflows or on out-of-memory, otherwise returns the same as mi_realloc(p, count * size).