Type Alias panda_sys::GOptionErrorFunc

source ·
pub type GOptionErrorFunc = Option<unsafe extern "C" fn(context: *mut GOptionContext, group: *mut GOptionGroup, data: gpointer, error: *mut *mut GError)>;
Expand description

GOptionErrorFunc: @context: The active #GOptionContext @group: The group to which the function belongs @data: User data added to the #GOptionGroup containing the option when it was created with g_option_group_new() @error: The #GError containing details about the parse error

The type of function to be used as callback when a parse error occurs.

Aliased Type§

enum GOptionErrorFunc {
    None,
    Some(unsafe extern "C" fn(_: *mut _GOptionContext, _: *mut _GOptionGroup, _: *mut c_void, _: *mut *mut _GError)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut _GOptionContext, _: *mut _GOptionGroup, _: *mut c_void, _: *mut *mut _GError))

Some value of type T.