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