Eo: Only implement _eo_class_mro_has when in testing mode.

SVN revision: 70799
This commit is contained in:
Tom Hacohen 2012-05-06 12:03:29 +00:00
parent a267989520
commit f26251cb4f
1 changed files with 2 additions and 0 deletions

View File

@ -455,6 +455,7 @@ _eo_class_base_op_init(Eo_Class *klass)
*(desc->ops.base_op_id) = klass->class_id << OP_CLASS_OFFSET;
}
#ifndef NDEBUG
static Eina_Bool
_eo_class_mro_has(const Eo_Class *klass, const Eo_Class *find)
{
@ -469,6 +470,7 @@ _eo_class_mro_has(const Eo_Class *klass, const Eo_Class *find)
return EINA_FALSE;
}
#endif
static Eina_List *
_eo_class_mro_add(Eina_List *mro, const Eo_Class *klass)