pub type b2AllocFcn = Option<unsafe extern "C" fn(size: c_uint, alignment: c_int) -> *mut c_void>;Expand description
Prototype for user allocation function @param size the allocation size in bytes @param alignment the required alignment, guaranteed to be a power of 2
Aliased Type§
pub enum b2AllocFcn {
None,
Some(unsafe extern "C" fn(u32, i32) -> *mut c_void),
}