diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-10-09 11:57:41 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-10-09 15:23:48 +0200 |
commit | 3bbdc479476a401398b1b62dac9a881bfc636feb (patch) | |
tree | 4ddf7bc0d7e92b4806eaad091fd6f5a32eb0144e /build-aux/templates/qmi-enum-types-template.h | |
parent | a873852f8e0e4f248e0b7bb9acf6ab232bfcf644 (diff) | |
download | external_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.h | 10 |
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 |