pub type GOptionErrorFunc = Option<unsafe extern "C" fn(*mut _GOptionContext, *mut _GOptionGroup, *mut c_void, *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§
pub enum GOptionErrorFunc {
None,
Some(unsafe extern "C" fn(*mut _GOptionContext, *mut _GOptionGroup, *mut c_void, *mut *mut _GError)),
}