| 1 |
/*** BEGIN file-header ***/ |
| 2 |
#include "gtkwidgetprofiler.h" |
| 3 |
|
| 4 |
/*** END file-header ***/ |
| 5 |
|
| 6 |
/*** BEGIN file-production ***/ |
| 7 |
/* enumerations from "@filename@" */ |
| 8 |
/*** END file-production ***/ |
| 9 |
|
| 10 |
/*** BEGIN value-header ***/ |
| 11 |
GType |
| 12 |
@enum_name@_get_type (void) |
| 13 |
{ |
| 14 |
static GType etype = 0; |
| 15 |
if (G_UNLIKELY(etype == 0)) { |
| 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 |
etype = g_@type@_register_static (g_intern_static_string ("@EnumName@"), values); |
| 27 |
} |
| 28 |
return etype; |
| 29 |
} |
| 30 |
|
| 31 |
/*** END value-tail ***/ |
| 32 |
|
| 33 |
/*** BEGIN file-tail ***/ |
| 34 |
#define __TYPE_BUILTINS_C__ |
| 35 |
/*** END file-tail ***/ |