1 /*** BEGIN file-header ***/
2 /*** END file-header ***/
4 /*** BEGIN file-production ***/
5 /* enumerations from "@filename@" */
8 /*** END file-production ***/
10 /*** BEGIN value-header ***/
12 @enum_name@_get_type (void)
14 static volatile gsize the_type__volatile = 0;
16 if (g_once_init_enter (&the_type__volatile)) {
17 static const G@Type@Value values[] = {
18 /*** END value-header ***/
20 /*** BEGIN value-production ***/
24 /*** END value-production ***/
26 /*** BEGIN value-tail ***/
29 GType the_type = g_@type@_register_static (
30 g_intern_static_string ("@EnumName@"),
32 g_once_init_leave (&the_type__volatile, the_type);
34 return the_type__volatile;
37 /*** END value-tail ***/