felipealmeida pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=78251aa0d2d4092d95d95e37de4980cee6a9698d
commit 78251aa0d2d4092d95d95e37de4980cee6a9698d Author: Lauro Moura <lauromo...@expertisesolutions.com.br> Date: Fri Mar 9 22:31:44 2018 -0300 eolian_cxx: Add 'unknown' to parameter direction It'll be used in eolian_mono as the 'direction' of return types in some helper functions. --- src/lib/eolian_cxx/grammar/klass_def.hpp | 2 +- src/lib/eolian_cxx/grammar/parameter.hpp | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/lib/eolian_cxx/grammar/klass_def.hpp b/src/lib/eolian_cxx/grammar/klass_def.hpp index 83e84abb54..124c99ba42 100644 --- a/src/lib/eolian_cxx/grammar/klass_def.hpp +++ b/src/lib/eolian_cxx/grammar/klass_def.hpp @@ -413,7 +413,7 @@ inline void type_def::set(Eolian_Expression_Type eolian_exp_type) enum class parameter_direction { - in, inout, out + unknown, in, inout, out }; namespace detail { diff --git a/src/lib/eolian_cxx/grammar/parameter.hpp b/src/lib/eolian_cxx/grammar/parameter.hpp index e06cfeaaf0..c82345b685 100644 --- a/src/lib/eolian_cxx/grammar/parameter.hpp +++ b/src/lib/eolian_cxx/grammar/parameter.hpp @@ -23,7 +23,10 @@ struct parameter_type_generator break; case attributes::parameter_direction::in: dir = "in"; - break; + break; + case attributes::parameter_direction::unknown: + dir = ""; + break; } attributes::regular_type_def const* typ = --