malloc_rust

Function generic_rust_malloc

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

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