Parses a string containing debugging options into a %guint containing bit flags. This is used within GDK and GTK+ to parse the debug options passed on the command line or through environment variables.
string is equal to “all”, all flags are set. Any flags
specified along with “all” in
string are inverted; thus,
“all,foo,bar” or “foo,bar,all” sets all flags except those
corresponding to “foo” and “bar”.
string is equal to “help”, all the available keys in
are printed out to standard error.
A list of debug options separated by colons, spaces, or commas, or
The argument can be
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Type: An array of
Pointer to an array of
GDebugKeywhich associate strings with bit flags.
The length of the array is specified in the
The data is owned by the caller of the function.
The number of
GDebugKeysin the array.