| 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@_build_string_from_mask: |
| 22 |
* @mask: bitmask of @EnumName@ values. |
| 23 |
* |
| 24 |
* Builds a string containing a comma-separated list of nicknames for |
| 25 |
* each #@EnumName@ in @mask. |
| 26 |
* |
| 27 |
* Returns: (transfer full): a string with the list of nicknames, or %NULL if none given. The returned value should be freed with g_free(). |
| 28 |
* Since: @enumsince@ |
| 29 |
*/ |
| 30 |
gchar *@enum_name@_build_string_from_mask (@EnumName@ mask); |
| 31 |
|
| 32 |
/*** END value-header ***/ |
| 33 |
|
| 34 |
/*** BEGIN file-tail ***/ |
| 35 |
G_END_DECLS |
| 36 |
|
| 37 |
/*** END file-tail ***/ |