Type Alias croaring_sys::roaring_memory_t
source · pub type roaring_memory_t = roaring_memory_s;
Aliased Type§
struct roaring_memory_t {
pub malloc: Option<unsafe extern "C" fn(_: usize) -> *mut c_void>,
pub realloc: Option<unsafe extern "C" fn(_: *mut c_void, _: usize) -> *mut c_void>,
pub calloc: Option<unsafe extern "C" fn(_: usize, _: usize) -> *mut c_void>,
pub free: Option<unsafe extern "C" fn(_: *mut c_void)>,
pub aligned_malloc: Option<unsafe extern "C" fn(_: usize, _: usize) -> *mut c_void>,
pub aligned_free: Option<unsafe extern "C" fn(_: *mut c_void)>,
}
Fields§
§malloc: Option<unsafe extern "C" fn(_: usize) -> *mut c_void>
§realloc: Option<unsafe extern "C" fn(_: *mut c_void, _: usize) -> *mut c_void>
§calloc: Option<unsafe extern "C" fn(_: usize, _: usize) -> *mut c_void>
§free: Option<unsafe extern "C" fn(_: *mut c_void)>
§aligned_malloc: Option<unsafe extern "C" fn(_: usize, _: usize) -> *mut c_void>
§aligned_free: Option<unsafe extern "C" fn(_: *mut c_void)>