Registers a new static enumeration type with the name name. It is normally more convenient to let glib-mkenums generate a my_enum_get_type() function from a usual C enumeration definition than to write one yourself using g_enum_register_static().
A nul-terminated string used as the name of the new type.
The new type identifier.
See Implementation
Registers a new static enumeration type with the name name. It is normally more convenient to let glib-mkenums generate a my_enum_get_type() function from a usual C enumeration definition than to write one yourself using g_enum_register_static().