| 1 |
/*** BEGIN file-header ***/ |
| 2 |
|
| 3 |
#include <glib-object.h> |
| 4 |
|
| 5 |
G_BEGIN_DECLS |
| 6 |
/*** END file-header ***/ |
| 7 |
|
| 8 |
/*** BEGIN file-production ***/ |
| 9 |
|
| 10 |
/* enumerations from "@filename@" */ |
| 11 |
/*** END file-production ***/ |
| 12 |
|
| 13 |
/*** BEGIN value-header ***/ |
| 14 |
GType @enum_name@_get_type (void) G_GNUC_CONST; |
| 15 |
#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ()) |
| 16 |
|
| 17 |
/* Define type-specific symbols */ |
| 18 |
#define __@ENUMNAME@_IS_@TYPE@__ |
| 19 |
|
| 20 |
/** |
| 21 |
* @enum_name@_get_string: |
| 22 |
* @val: a @EnumName@. |
| 23 |
* |
| 24 |
* Gets the nickname string for the #@EnumName@ specified at @val. |
| 25 |
* |
| 26 |
* Returns: (transfer none): a string with the nickname, or %NULL if not found. Do not free the returned value. |
| 27 |
* Since: @enumsince@ |
| 28 |
*/ |
| 29 |
const gchar *@enum_name@_get_string (@EnumName@ val); |
| 30 |
|
| 31 |
/*** END value-header ***/ |
| 32 |
|
| 33 |
/*** BEGIN file-tail ***/ |
| 34 |
G_END_DECLS |
| 35 |
|
| 36 |
/*** END file-tail ***/ |