Debian Codegraph @

build-aux/templates/mbim-enum-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 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 *
28 * Since: @enumsince@
29 */
30 const gchar *@enum_name@_get_string (@EnumName@ val);
31
32 /*** END value-header ***/
33
34 /*** BEGIN file-tail ***/
35 G_END_DECLS
36
37 /*** END file-tail ***/