Debian Codegraph @

gdk/gdkenumtypes.c.template

raw
1 /*** BEGIN file-header ***/
2 #define GDK_ENABLE_BROKEN
3 #include "gdk.h"
4 #include "gdkalias.h"
5
6 /*** END file-header ***/
7
8 /*** BEGIN file-production ***/
9 /* enumerations from "@filename@" */
10 /*** END file-production ***/
11
12 /*** BEGIN value-header ***/
13 GType
14 @enum_name@_get_type (void)
15 {
16 static GType etype = 0;
17 if (G_UNLIKELY(etype == 0)) {
18 static const G@Type@Value values[] = {
19 /*** END value-header ***/
20
21 /*** BEGIN value-production ***/
22 { @VALUENAME@, "@VALUENAME@", "@valuenick@" },
23 /*** END value-production ***/
24
25 /*** BEGIN value-tail ***/
26 { 0, NULL, NULL }
27 };
28 etype = g_@type@_register_static (g_intern_static_string ("@EnumName@"), values);
29 }
30 return etype;
31 }
32
33 /*** END value-tail ***/
34
35 /*** BEGIN file-tail ***/
36 #define __GDK_ENUM_TYPES_C__
37 #include "gdkaliasdef.c"
38 /*** END file-tail ***/