summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx/grammar/generator.hpp
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-11-22 20:16:21 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-12-05 10:14:03 +0900
commita787c3cc07b8ddcc3288091a9d1b9e0eb06582bc (patch)
tree9f4ccf771a601d1c8bdb6cbb33287e3ac89f7bb1 /src/lib/eolian_cxx/grammar/generator.hpp
parent12d50cbe1938a096e8c06674d7b8ee8c33d5c335 (diff)
cxx: Only use eo_cxx:: for methods
Add an experimental (disabled) macro to only generate functions inside the eo_cxx equivalent of a class, instead of inside both the eo_cxx and the normal class definition. I guess the duplicated definition had something to do with doxygen, but I'm not sure this is quite necessary as doc will be generated with custom scripts.
Diffstat (limited to '')
-rw-r--r--src/lib/eolian_cxx/grammar/generator.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/eolian_cxx/grammar/generator.hpp b/src/lib/eolian_cxx/grammar/generator.hpp
index 130ee6859c..10e96c7c13 100644
--- a/src/lib/eolian_cxx/grammar/generator.hpp
+++ b/src/lib/eolian_cxx/grammar/generator.hpp
@@ -3,6 +3,9 @@
3 3
4#include <type_traits> 4#include <type_traits>
5 5
6// EXPERIMENTAL
7//#define USE_EOCXX_INHERIT_ONLY
8
6namespace efl { namespace eolian { namespace grammar { 9namespace efl { namespace eolian { namespace grammar {
7 10
8template <typename T, typename Enable = void> 11template <typename T, typename Enable = void>