Skip to main content

b3FreeFcn

Type Alias b3FreeFcn 

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

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

Aliased Type§

pub enum b3FreeFcn {
    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.