aboutsummaryrefslogtreecommitdiffstats
path: root/build-aux/templates/qmi-enum-types-template.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-10-09 11:57:41 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-10-09 15:23:48 +0200
commit3bbdc479476a401398b1b62dac9a881bfc636feb (patch)
tree4ddf7bc0d7e92b4806eaad091fd6f5a32eb0144e /build-aux/templates/qmi-enum-types-template.h
parenta873852f8e0e4f248e0b7bb9acf6ab232bfcf644 (diff)
downloadexternal_libqmi-3bbdc479476a401398b1b62dac9a881bfc636feb.zip
external_libqmi-3bbdc479476a401398b1b62dac9a881bfc636feb.tar.gz
external_libqmi-3bbdc479476a401398b1b62dac9a881bfc636feb.tar.bz2
docs: improve documentation of enums, flags and errors
Diffstat (limited to 'build-aux/templates/qmi-enum-types-template.h')
-rw-r--r--build-aux/templates/qmi-enum-types-template.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/build-aux/templates/qmi-enum-types-template.h b/build-aux/templates/qmi-enum-types-template.h
index 13db2a6..bdcd4e7 100644
--- a/build-aux/templates/qmi-enum-types-template.h
+++ b/build-aux/templates/qmi-enum-types-template.h
@@ -15,15 +15,15 @@ GType @enum_name@_get_type (void) G_GNUC_CONST;
#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ())
/* Define type-specific symbols */
-#undef IS_ENUM
-#undef IS_FLAGS
-#define IS_@TYPE@
+#undef __QMI_IS_ENUM__
+#undef __QMI_IS_FLAGS_
+#define __QMI_IS_@TYPE@__
-#if defined IS_ENUM
+#if defined __QMI_IS_ENUM__
const gchar *@enum_name@_get_string (@EnumName@ val);
#endif
-#if defined IS_FLAGS
+#if defined __QMI_IS_FLAGS__
gchar *@enum_name@_build_string_from_mask (@EnumName@ mask);
#endif