
This allows us to skip needing to include the non-existent build_string_from_mask() or get_string() counterparts in the documentation index.
34 lines
825 B
Plaintext
34 lines
825 B
Plaintext
/*** BEGIN file-header ***/
|
|
|
|
#include <glib-object.h>
|
|
|
|
G_BEGIN_DECLS
|
|
/*** END file-header ***/
|
|
|
|
/*** BEGIN file-production ***/
|
|
|
|
/* enumerations from "@basename@" */
|
|
/*** END file-production ***/
|
|
|
|
/*** BEGIN value-header ***/
|
|
GType @enum_name@_get_type (void) G_GNUC_CONST;
|
|
#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ())
|
|
|
|
/**
|
|
* @enum_name@_build_string_from_mask:
|
|
* @mask: bitmask of @EnumName@ values.
|
|
*
|
|
* Builds a string containing a comma-separated list of nicknames for
|
|
* each #@EnumName@ in @mask.
|
|
*
|
|
* Returns: (transfer full): a string with the list of nicknames, or %NULL if none given. The returned value should be freed with g_free().
|
|
*/
|
|
gchar *@enum_name@_build_string_from_mask (@EnumName@ mask);
|
|
|
|
/*** END value-header ***/
|
|
|
|
/*** BEGIN file-tail ***/
|
|
G_END_DECLS
|
|
|
|
/*** END file-tail ***/
|