Debian Codegraph @

libgssdp/gssdp-enums.c.template

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