Function libmimalloc_sys::mi_heap_strdup

source ·
pub unsafe extern "C" fn mi_heap_strdup(
    heap: *mut mi_heap_t,
    s: *const c_char
) -> *mut c_char
Expand description

Equivalent to mi_strdup, but allocates out of the specific heap instead of the default.