summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-10-09 16:39:38 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-10-09 16:45:30 +0200
commitfb7c35269ccc754f257e4fac98d228286ac4f43b (patch)
tree63e36c9225d2d8494a0368e6c9b83390d2859d13 /src/lib/eolian_cxx
parent9dcfe4bbbce4bef369d4ab7cd23f5c3a61d3a73d (diff)
csharp: Respect beta for type aliases
Summary: Also add beta info to `alias_def` in eolian_cxx. Reviewers: brunobelo, felipealmeida, woohyun, segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10315
Diffstat (limited to 'src/lib/eolian_cxx')
-rw-r--r--src/lib/eolian_cxx/grammar/klass_def.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/eolian_cxx/grammar/klass_def.hpp b/src/lib/eolian_cxx/grammar/klass_def.hpp
index d0de5db39b..f38ebeba6c 100644
--- a/src/lib/eolian_cxx/grammar/klass_def.hpp
+++ b/src/lib/eolian_cxx/grammar/klass_def.hpp
@@ -554,8 +554,10 @@ struct alias_def
554 bool is_undefined; 554 bool is_undefined;
555 type_def base_type {}; 555 type_def base_type {};
556 documentation_def documentation; 556 documentation_def documentation;
557 bool is_beta;
557 558
558 alias_def(Eolian_Typedecl const* alias_obj, Eolian_Unit const* unit) 559 alias_def(Eolian_Typedecl const* alias_obj, Eolian_Unit const* unit)
560 : is_beta(::eolian_typedecl_is_beta(alias_obj))
559 { 561 {
560 cxx_name = eolian_name = ::eolian_typedecl_short_name_get(alias_obj); 562 cxx_name = eolian_name = ::eolian_typedecl_short_name_get(alias_obj);
561 563