ObjectFree

Type Alias ObjectFree 

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

ObjectFree: @obj: the object being freed

Called when an object’s last reference is removed.

Aliased Type§

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