Function pkgcraft::free::pkgcraft_array_free

source ·
#[no_mangle]
pub unsafe extern "C" fn pkgcraft_array_free(
    array: *mut *mut c_void,
    len: usize,
)
Expand description

Free an array without dropping the objects inside it.

§Safety

The array objects should be explicitly dropped using other methods otherwise they will leak.