eolian: fix impl func fill
authorDaniel Kolesa <d.kolesa@osg.samsung.com>
Mon, 13 Jun 2016 15:24:20 +0000 (16:24 +0100)
committerDaniel Kolesa <d.kolesa@osg.samsung.com>
Mon, 13 Jun 2016 15:24:35 +0000 (16:24 +0100)
If there is a dot in the remaining part of the implement, it means it
actually implements another class - do not fail in those cases.

src/lib/eolian/database_fill.c

index c75f517..286b471 100644 (file)
@@ -30,7 +30,7 @@ _get_impl_func(Eolian_Class *cl, Eolian_Implement *impl,
    else
      return EINA_TRUE;
    if (strchr(imstr, '.'))
-     return EINA_FALSE;
+     return EINA_TRUE;
    impl->klass = cl;
    *foo_id = (Eolian_Function*)eolian_class_function_get_by_name(cl, imstr,
                                                                  ftype);