Debian Codegraph @

build-aux/templates/mm-helper-enums-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 "@basename@" */
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 #if defined __@ENUMNAME@_IS_ENUM__
21 const gchar *@enum_name@_get_string (@EnumName@ val);
22 #endif
23
24 #if defined __@ENUMNAME@_IS_FLAGS__
25 gchar *@enum_name@_build_string_from_mask (@EnumName@ mask);
26 #endif
27
28 /*** END value-header ***/
29
30 /*** BEGIN file-tail ***/
31 G_END_DECLS
32
33 /*** END file-tail ***/