[evolution-ews/gnome-3-8] Use @ENUMPREFIX@ in enumtypes.h.template
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews/gnome-3-8] Use @ENUMPREFIX@ in enumtypes.h.template
- Date: Fri, 12 Apr 2013 06:51:05 +0000 (UTC)
commit 3bbfb805b1af552cc2c65bc981553a8de9478b1e
Author: Milan Crha <mcrha redhat com>
Date: Fri Apr 12 08:50:43 2013 +0200
Use @ENUMPREFIX@ in enumtypes.h.template
This way the TYPE define does not have hardcoded prefix, thus the same
template can be used to generate E_TYPE_... and CAMEL_TYPE_... enums.
enumtypes.h.template | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/enumtypes.h.template b/enumtypes.h.template
index e1ff4b3..e421edd 100644
--- a/enumtypes.h.template
+++ b/enumtypes.h.template
@@ -12,7 +12,7 @@ G_BEGIN_DECLS
/*** END file-production ***/
/*** BEGIN enumeration-production ***/
-#define E_TYPE_ ENUMSHORT@ (@enum_name _get_type())
+#define @ENUMPREFIX _TYPE_@ENUMSHORT@ (@enum_name _get_type())
GType @enum_name _get_type (void) G_GNUC_CONST;
/*** END enumeration-production ***/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]