[][src]Type Definition irssi_sys::GOptionParseFunc

type GOptionParseFunc = Option<unsafe extern "C" fn(context: *mut GOptionContext, group: *mut GOptionGroup, data: gpointer, error: *mut *mut GError) -> gboolean>;

GOptionParseFunc: @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: A return location for error details

The type of function that can be called before and after parsing.

Returns: %TRUE if the function completed successfully, %FALSE if an error occurred, in which case @error should be set with g_set_error()