Debian Codegraph @

build-aux/templates/qmi-flags64-types.h.template

raw
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
15 #define __@ENUMNAME@_IS_@TYPE@__
16
17 #if defined __@ENUMNAME@_IS_ENUM__
18 #error Only flags expected, @EnumName@ is an enumeration
19 #endif
20
21 /**
22 * @enum_name@_build_string_from_mask:
23 * @mask: bitmask of @EnumName@ values.
24 *
25 * Builds a string containing a comma-separated list of nicknames for
26 * each #@EnumName@ in @mask.
27 *
28 * Returns: (transfer full): a string with the list of nicknames, or %NULL if none given. The returned value should be freed with g_free().
29 * Since: @enumsince@
30 */
31 gchar *@enum_name@_build_string_from_mask (@EnumName@ mask);
32
33 /*** END value-header ***/
34
35 /*** BEGIN file-tail ***/
36 G_END_DECLS
37
38 /*** END file-tail ***/