eolian: skip funcs from beta-classes when unimplemented-checking

This commit is contained in:
Daniel Kolesa 2019-09-17 13:48:15 +02:00
parent ff0aabd345
commit 4a60495d91
1 changed files with 4 additions and 0 deletions

View File

@ -921,8 +921,12 @@ _db_check_implemented(Validate_State *vals, Eolian_Class *cl, Eina_Hash *fs,
EINA_LIST_FOREACH(cl->callables, l, impl)
{
const Eolian_Function *fid = impl->foo_id;
/* not checking beta and the function is beta: skip */
if (!vals->unimplemented_beta && fid->base.is_beta)
continue;
/* not checking beta and the function's class is beta: skip */
if (!vals->unimplemented_beta && fid->klass->base.is_beta)
continue;
Impl_Status st = (Impl_Status)eina_hash_find(fs, &fid);
/* found an interface this func was originally defined in in the
* composite list; in that case, ignore it and assume it will come