eolian: skip funcs from beta-classes when unimplemented-checking
authorDaniel Kolesa <d.kolesa@samsung.com>
Tue, 17 Sep 2019 11:48:15 +0000 (13:48 +0200)
committerJongmin Lee <jm105.lee@samsung.com>
Tue, 17 Sep 2019 21:10:59 +0000 (06:10 +0900)
src/lib/eolian/database_validate.c

index 196ab5b..cdbd699 100644 (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