summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx/grammar/klass_def.hpp
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-10-11 21:45:03 +0000
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2019-10-12 19:18:13 -0300
commit5516b06af58c4a5210b35c8c9b8e011cf5320c55 (patch)
tree8d2f4842d2cb33ab3adef9471325c5e71dd8b658 /src/lib/eolian_cxx/grammar/klass_def.hpp
parentb1a1cdc701add170f1e6adf68573828bf13bf496 (diff)
eolian-cxx: Make events inherit beta info from klass.
To mimic function behavior Reviewed-by: Felipe Magno de Almeida <felipe@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D10381
Diffstat (limited to '')
-rw-r--r--src/lib/eolian_cxx/grammar/klass_def.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eolian_cxx/grammar/klass_def.hpp b/src/lib/eolian_cxx/grammar/klass_def.hpp
index 5b977a6c57..0dd6779778 100644
--- a/src/lib/eolian_cxx/grammar/klass_def.hpp
+++ b/src/lib/eolian_cxx/grammar/klass_def.hpp
@@ -1188,7 +1188,7 @@ struct event_def
1188 } : eina::optional<type_def>{}) 1188 } : eina::optional<type_def>{})
1189 , name( ::eolian_event_name_get(event)) 1189 , name( ::eolian_event_name_get(event))
1190 , c_name( ::eolian_event_c_macro_get(event)) 1190 , c_name( ::eolian_event_c_macro_get(event))
1191 , is_beta( ::eolian_event_is_beta(event)) 1191 , is_beta( ::eolian_event_is_beta(event) || klass.is_beta)
1192 , is_protected( ::eolian_event_scope_get(event) == EOLIAN_SCOPE_PROTECTED) 1192 , is_protected( ::eolian_event_scope_get(event) == EOLIAN_SCOPE_PROTECTED)
1193 , documentation( ::eolian_event_documentation_get(event)) {} 1193 , documentation( ::eolian_event_documentation_get(event)) {}
1194}; 1194};