mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-23 10:27:51 +02:00
Added a lowercase_name option, to be used next to the enum declaration,
2003-12-30 Murray Cumming <murrayc@usa.net> * gobject/glib-mkenums.in: Added a lowercase_name option, to be used next to the enum declaration, where the flag option is already used, when it is not possible to guess where to put the underscores in the _get_type() function name, for instance for GNOMEVFSURIHide.
This commit is contained in:
committed by
Murray Cumming
parent
0c42077069
commit
10bacd6058
@@ -240,7 +240,11 @@ and end with the trigraph sequence <literal>>*/</literal>.
|
||||
Per enum definition, the options "skip" and "flags" can be specified, to
|
||||
indicate this enum definition to be skipped, or for it to be treated as
|
||||
a flags definition, or to specify the common prefix to be stripped from
|
||||
all values to generate value nicknames, respectively.
|
||||
all values to generate value nicknames, respectively. The "lowercase_name"
|
||||
option can be used to specify the word separation used in the *_get_type()
|
||||
function. For instance, /*< lowercase_name=gnome_vfs_uri_hide_options >*/.
|
||||
</para>
|
||||
<para>
|
||||
Per value definition, the options "skip" and "nick" are supported.
|
||||
The former causes the value to be skipped, and the latter can be used to
|
||||
specify the otherwise auto-generated nickname.
|
||||
|
Reference in New Issue
Block a user