1 /*** BEGIN file-header ***/
3 #include "gioenumtypes.h"
6 /*** END file-header ***/
8 /*** BEGIN file-production ***/
9 /* enumerations from "@filename@" */
10 /*** END file-production ***/
12 /*** BEGIN value-header ***/
14 @enum_name@_get_type (void)
16 static volatile gsize g_define_type_id__volatile = 0;
18 if (g_once_init_enter (&g_define_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 ***/
30 GType g_define_type_id =
31 g_@type@_register_static (g_intern_static_string ("@EnumName@"), values);
32 g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
35 return g_define_type_id__volatile;
38 /*** END value-tail ***/