Type Alias panda_sys::GClearHandleFunc

source ·
pub type GClearHandleFunc = Option<unsafe extern "C" fn(handle_id: guint)>;
Expand description

GClearHandleFunc: @handle_id: the handle ID to clear

Specifies the type of function passed to g_clear_handle_id(). The implementation is expected to free the resource identified by @handle_id; for instance, if @handle_id is a #GSource ID, g_source_remove() can be used.

Since: 2.56

Aliased Type§

enum GClearHandleFunc {
    None,
    Some(unsafe extern "C" fn(_: u32)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: u32))

Some value of type T.