1 /*** BEGIN file-header ***/
2 #include "cheese-enum-types.h"
3 /*** END file-header ***/
5 /*** BEGIN file-production ***/
7 /* enumerations from "@filename@" */
10 /*** END file-production ***/
12 /*** BEGIN value-header ***/
14 @enum_name@
_get_type (void)
16 static volatile gsize g_enum_type_id__volatile
= 0;
18 if (g_once_init_enter (&g_enum_type_id__volatile
))
20 static const G@Type@Value values
[] = {
21 /*** END value-header ***/
23 /*** BEGIN value-production ***/
24 { @VALUENAME@
, "@VALUENAME@", "@valuenick@" },
25 /*** END value-production ***/
27 /*** BEGIN value-tail ***/
33 g_@type@
_register_static (g_intern_static_string ("@EnumName@"), values
);
35 g_once_init_leave (&g_enum_type_id__volatile
, g_enum_type_id
);
38 return g_enum_type_id__volatile
;
40 /*** END value-tail ***/