b2FreeFcn

Type Alias b2FreeFcn 

Source
pub type b2FreeFcn = Option<unsafe extern "C" fn(mem: *mut c_void, size: c_uint)>;
Expand description

Prototype for user free function @param mem the memory previously allocated through b2AllocFcn @param size the allocation size in bytes

Aliased Type§

pub enum b2FreeFcn {
    None,
    Some(unsafe extern "C" fn(*mut c_void, u32)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void, u32))

Some value of type T.