Type Alias GFreeFunc

Source
pub type GFreeFunc = Option<unsafe extern "C" fn(data: gpointer)>;
Expand description

GFreeFunc: @data: a data pointer

Declares a type of function which takes an arbitrary data pointer argument and has no return value. It is not currently used in GLib or GTK.

Aliased Type§

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