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:
7abbccd
)
eo: only call costly function _eo_op_desc_name_get when in debug mode.
author
Cedric BAIL
<cedric@osg.samsung.com>
Wed, 24 Jan 2018 23:36:39 +0000
(15:36 -0800)
committer
Wonki Kim
<wonki_.kim@samsung.com>
Tue, 3 Apr 2018 09:50:09 +0000
(18:50 +0900)
src/lib/eo/eo.c
patch
|
blob
|
history
diff --git
a/src/lib/eo/eo.c
b/src/lib/eo/eo.c
index
973e564
..
49e02ba
100644
(file)
--- a/
src/lib/eo/eo.c
+++ b/
src/lib/eo/eo.c
@@
-804,7
+804,9
@@
_eo_class_funcs_set(Eo_Vtable *vtable, const Efl_Object_Ops *ops, const _Efl_Cla
op_id++;
}
+#ifdef EO_DEBUG
DBG("%p->%p '%s'", op_desc->api_func, op_desc->func, _eo_op_desc_name_get(op_desc));
+#endif
if (!_vtable_func_set(vtable, klass, override_class, op, op_desc->func, EINA_TRUE))
return EINA_FALSE;