From 049d3d60325db16d749d2214c703fcd708a9df7a Mon Sep 17 00:00:00 2001 From: tasn Date: Thu, 12 Jul 2012 08:43:59 +0000 Subject: [PATCH] Eo: Allow interfaces to have class constructors/destructors. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@73606 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/eo.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/eo.c b/src/lib/eo.c index e82030b..3a5a9a6 100644 --- a/src/lib/eo.c +++ b/src/lib/eo.c @@ -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); } -- 2.7.4