pub type CSSM_API_MEMORY_FUNCS = CSSM_MEMORY_FUNCS;👎Deprecated
Available on crate features
cssmconfig and cssmtype only.Expand description
Aliased Type§
#[repr(C)]pub struct CSSM_API_MEMORY_FUNCS {
pub malloc_func: Option<unsafe extern "C-unwind" fn(usize, *mut c_void) -> *mut c_void>,
pub free_func: Option<unsafe extern "C-unwind" fn(*mut c_void, *mut c_void)>,
pub realloc_func: Option<unsafe extern "C-unwind" fn(*mut c_void, usize, *mut c_void) -> *mut c_void>,
pub calloc_func: Option<unsafe extern "C-unwind" fn(u32, usize, *mut c_void) -> *mut c_void>,
pub AllocRef: *mut c_void,
}Fields§
§malloc_func: Option<unsafe extern "C-unwind" fn(usize, *mut c_void) -> *mut c_void>§free_func: Option<unsafe extern "C-unwind" fn(*mut c_void, *mut c_void)>§realloc_func: Option<unsafe extern "C-unwind" fn(*mut c_void, usize, *mut c_void) -> *mut c_void>§calloc_func: Option<unsafe extern "C-unwind" fn(u32, usize, *mut c_void) -> *mut c_void>§AllocRef: *mut c_void