1 /*** BEGIN file-header ***/
5 /*** END file-header ***/
6 /*** BEGIN file-production ***/
7 /* Enumerations from "@filename@" */
8 /*** END file-production ***/
9 /*** BEGIN value-header ***/
11 @enum_name@_get_type(void)
13 static GType etype = 0;
14 if (G_UNLIKELY(etype == 0)) {
15 static const G@Type@Value values[] = {
16 /*** END value-header ***/
17 /*** BEGIN value-production ***/
18 { @VALUENAME@, "@VALUENAME@", "@valuenick@" },
19 /*** END value-production ***/
20 /*** BEGIN value-tail ***/
24 etype = g_@type@_register_static("@EnumName@", values);
30 /*** END value-tail ***/