Eo: Allow interfaces to have class constructors/destructors.
authortasn <tasn>
Thu, 12 Jul 2012 08:43:59 +0000 (08:43 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 12 Jul 2012 08:43:59 +0000 (08:43 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@73606 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/eo.c

index e82030b..3a5a9a6 100644 (file)
@@ -831,8 +831,6 @@ eo_class_new(const Eo_Class_Description *desc, Eo_Class_Id id, const Eo_Class *p
    /* Check restrictions on Interface types. */
    if (desc->type == EO_CLASS_TYPE_INTERFACE)
      {
-        EINA_SAFETY_ON_FALSE_RETURN_VAL(!desc->class_constructor, NULL);
-        EINA_SAFETY_ON_FALSE_RETURN_VAL(!desc->class_destructor, NULL);
         EINA_SAFETY_ON_FALSE_RETURN_VAL(!desc->data_size, NULL);
      }