aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-09-17 13:48:15 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-09-17 13:48:44 +0200
commit4a60495d9122f7fa7f70a1650d6ee36fdc14e781 (patch)
tree3f0011dfa7b6df7f5b48aff90fcc9ab8a0ef5ad3
parentefl_ui_multi_selectable: remove SINGLE_ALWAYS (diff)
downloadefl-4a60495d9122f7fa7f70a1650d6ee36fdc14e781.tar.gz
eolian: skip funcs from beta-classes when unimplemented-checking
-rw-r--r--src/lib/eolian/database_validate.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/eolian/database_validate.c b/src/lib/eolian/database_validate.c
index 196ab5bb88..cdbd699293 100644
--- a/src/lib/eolian/database_validate.c
+++ b/src/lib/eolian/database_validate.c
@@ -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