projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a267989
)
Eo: Only implement _eo_class_mro_has when in testing mode.
author
Tom Hacohen
<tom@stosb.com>
Sun, 6 May 2012 12:03:29 +0000
(12:03 +0000)
committer
Tom Hacohen
<tom@stosb.com>
Sun, 6 May 2012 12:03:29 +0000
(12:03 +0000)
SVN revision: 70799
legacy/eobj/lib/eo.c
patch
|
blob
|
history
diff --git
a/legacy/eobj/lib/eo.c
b/legacy/eobj/lib/eo.c
index
d04f8ba
..
dfba1e8
100644
(file)
--- a/
legacy/eobj/lib/eo.c
+++ b/
legacy/eobj/lib/eo.c
@@
-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)