memallocator_t

Type Alias memallocator_t 

Source
pub type memallocator_t = s_memallocator;

Aliased Type§

#[repr(C)]
pub struct memallocator_t { pub priv_: *mut c_void, pub malloc: Option<unsafe extern "C" fn(*mut c_void, u32) -> *mut c_void>, pub free: Option<unsafe extern "C" fn(*mut c_void, *mut c_void)>, pub realloc: Option<unsafe extern "C" fn(*mut c_void, *mut c_void, u32) -> *mut c_void>, }

Fields§

§priv_: *mut c_void§malloc: Option<unsafe extern "C" fn(*mut c_void, u32) -> *mut c_void>§free: Option<unsafe extern "C" fn(*mut c_void, *mut c_void)>§realloc: Option<unsafe extern "C" fn(*mut c_void, *mut c_void, u32) -> *mut c_void>