Function

GLibOptionErrorFunc

Declaration

void
(* GOptionErrorFunc) (
  GOptionContext* context,
  GOptionGroup* group,
  gpointer data,
  GError** error
)

Description [src]

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

Parameters

context GOptionContext
 

The active GOptionContext.

 The data is owned by the caller of the function.
group GOptionGroup
 

The group to which the function belongs.

 The data is owned by the caller of the function.
data gpointer
 

User data added to the GOptionGroup containing the option when it was created with g_option_group_new()

error GError **
  The return location for a GError*, or NULL.