Eo: Allow interfaces to have class constructors/destructors.

SVN revision: 73606
This commit is contained in:
Tom Hacohen 2012-07-12 08:43:59 +00:00
parent 9aaa7690f7
commit 153b94bcae
1 changed files with 0 additions and 2 deletions

View 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);
}