forked from enlightenment/efl
eolian_aux: this must be recursive
Summary: in order to get all callables, this must be recursive, otherwise deeper callables are forgotten. Reviewers: q66 Reviewed By: q66 Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9421
This commit is contained in:
parent
4b511671de
commit
f951ba5076
|
@ -89,11 +89,17 @@ _callables_find(const Eolian_Class *cl, Eina_List **funcs,
|
|||
|
||||
const Eolian_Class *pcl = eolian_class_parent_get(cl);
|
||||
if (pcl)
|
||||
total += _callables_find_body(pcl, funcs, events, written);
|
||||
{
|
||||
total += _callables_find_body(pcl, funcs, events, written);
|
||||
total += _callables_find(pcl, funcs, events, written);
|
||||
}
|
||||
|
||||
Eina_Iterator *itr = eolian_class_extensions_get(cl);
|
||||
EINA_ITERATOR_FOREACH(itr, pcl)
|
||||
total += _callables_find_body(pcl, funcs, events, written);
|
||||
{
|
||||
total += _callables_find_body(pcl, funcs, events, written);
|
||||
total += _callables_find(pcl, funcs, events, written);
|
||||
}
|
||||
|
||||
return total;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue