forked from enlightenment/efl
eolian: add composites into hard deps when checking
This prevents composites from being considered unused imports.
This commit is contained in:
parent
3283a11a88
commit
cdf48fcf70
|
@ -130,6 +130,11 @@ _check_class(const Eolian_Class *cl, Eina_Hash *depset, Eina_Hash *chash)
|
|||
_add_dep(depset, icl->base.unit);
|
||||
eina_iterator_free(itr);
|
||||
|
||||
itr = eina_list_iterator_new(cl->composite);
|
||||
EINA_ITERATOR_FOREACH(itr, icl)
|
||||
_add_dep(depset, icl->base.unit);
|
||||
eina_iterator_free(itr);
|
||||
|
||||
const Eolian_Function *fid;
|
||||
itr = eina_list_iterator_new(cl->properties);
|
||||
EINA_ITERATOR_FOREACH(itr, fid)
|
||||
|
|
Loading…
Reference in New Issue