GMemVTable

Type Alias GMemVTable 

Source
pub type GMemVTable = _GMemVTable;

Aliased Type§

#[repr(C)]
pub struct GMemVTable { pub malloc: Option<unsafe extern "C" fn(u64) -> *mut c_void>, pub realloc: Option<unsafe extern "C" fn(*mut c_void, u64) -> *mut c_void>, pub free: Option<unsafe extern "C" fn(*mut c_void)>, pub calloc: Option<unsafe extern "C" fn(u64, u64) -> *mut c_void>, pub try_malloc: Option<unsafe extern "C" fn(u64) -> *mut c_void>, pub try_realloc: Option<unsafe extern "C" fn(*mut c_void, u64) -> *mut c_void>, }

Fields§

§malloc: Option<unsafe extern "C" fn(u64) -> *mut c_void>§realloc: Option<unsafe extern "C" fn(*mut c_void, u64) -> *mut c_void>§free: Option<unsafe extern "C" fn(*mut c_void)>§calloc: Option<unsafe extern "C" fn(u64, u64) -> *mut c_void>§try_malloc: Option<unsafe extern "C" fn(u64) -> *mut c_void>§try_realloc: Option<unsafe extern "C" fn(*mut c_void, u64) -> *mut c_void>