summaryrefslogtreecommitdiff
path: root/legacy/eobj
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2012-07-12 08:43:59 +0000
committerTom Hacohen <tom@stosb.com>2012-07-12 08:43:59 +0000
commit153b94bcae54f82d167fc16824bb473de311717c (patch)
tree8feade3e9dd68d15788247a036f2b6e7554133cd /legacy/eobj
parent9aaa7690f7b0cf5f0e783e7e9117403b94409d9d (diff)
Eo: Allow interfaces to have class constructors/destructors.
SVN revision: 73606
Diffstat (limited to 'legacy/eobj')
-rw-r--r--legacy/eobj/src/lib/eo.c2
1 files changed, 0 insertions, 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
831 /* Check restrictions on Interface types. */ 831 /* Check restrictions on Interface types. */
832 if (desc->type == EO_CLASS_TYPE_INTERFACE) 832 if (desc->type == EO_CLASS_TYPE_INTERFACE)
833 { 833 {
834 EINA_SAFETY_ON_FALSE_RETURN_VAL(!desc->class_constructor, NULL);
835 EINA_SAFETY_ON_FALSE_RETURN_VAL(!desc->class_destructor, NULL);
836 EINA_SAFETY_ON_FALSE_RETURN_VAL(!desc->data_size, NULL); 834 EINA_SAFETY_ON_FALSE_RETURN_VAL(!desc->data_size, NULL);
837 } 835 }
838 836