From 153b94bcae54f82d167fc16824bb473de311717c Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Thu, 12 Jul 2012 08:43:59 +0000 Subject: [PATCH] Eo: Allow interfaces to have class constructors/destructors. SVN revision: 73606 --- legacy/eobj/src/lib/eo.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/legacy/eobj/src/lib/eo.c b/legacy/eobj/src/lib/eo.c index e82030ba6c..3a5a9a60e9 100644 --- a/legacy/eobj/src/lib/eo.c +++ b/legacy/eobj/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); }