1 /*** BEGIN file-header ***/
3 #include <glib-object.h>
5 #ifndef GCR_COMPILATION
6 #define GCR_COMPILATION
9 /*** END file-header ***/
11 /*** BEGIN file-production ***/
13 /* enumerations from "@filename@" */
14 /*** END file-production ***/
16 /*** BEGIN value-header ***/
17 GType @enum_name@_get_type (void) G_GNUC_CONST;
20 @enum_name@_get_type (void)
22 static GType etype = 0;
23 if (G_UNLIKELY(etype == 0)) {
24 static const G@Type@Value values[] = {
25 /*** END value-header ***/
27 /*** BEGIN value-production ***/
28 { @VALUENAME@, "@VALUENAME@", "@valuenick@" },
29 /*** END value-production ***/
31 /*** BEGIN value-tail ***/
34 etype = g_@type@_register_static (g_intern_static_string ("@EnumName@"), values);
39 /*** END value-tail ***/
41 /*** BEGIN file-tail ***/
43 /*** END file-tail ***/