b2FreeFcn

Type Alias b2FreeFcn 

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

Prototype for user free function @param mem the memory previously allocated through b2AllocFcn

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.