forked from enlightenment/efl
csharp: Skip beta interfaces from the list of interfaces.
Summary: Interfaces were declaring Beta parent interfaces instead of skipping them. Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9282
This commit is contained in:
parent
3798356819
commit
7e9eac9fb1
|
@ -115,6 +115,9 @@ struct klass
|
|||
for(auto first = std::begin(cls.immediate_inherits)
|
||||
, last = std::end(cls.immediate_inherits); first != last; ++first)
|
||||
{
|
||||
if (!context_find_tag<options_context>(iface_cxt).want_beta && first->is_beta)
|
||||
continue;
|
||||
|
||||
if(first->type != attributes::class_type::regular && first->type != attributes::class_type::abstract_)
|
||||
if(!as_generator("\n" << scope_tab << string << " ,").generate(sink, name_helpers::klass_full_interface_name(*first), iface_cxt))
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue