malloc_rust

Function generic_rust_realloc

Source
pub unsafe extern "C" fn generic_rust_realloc<T: Into<usize>>(
    mem: *mut c_void,
    size: T,
) -> *mut c_void
Expand description

Generic realloc implementation which requires size to be converted into usize without error