Debian Codegraph @

src/idotypebuiltins.c.template

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