summaryrefslogtreecommitdiff
path: root/src/lib/eo/eo_base_class.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2018-05-01 16:58:29 -0700
committerCedric BAIL <cedric@osg.samsung.com>2018-05-24 16:02:18 -0700
commit93a49da161b5f985d5a202f515bc67fc5de29414 (patch)
tree7bbe6c869c87f12d36931c7ef3821850e22c382c /src/lib/eo/eo_base_class.c
parentae5d0005d3f6cd7825b693c1269265659286bd83 (diff)
eo: optimize efl object reuse by limiting the amount of call to pointer translation.
Differential Revision: https://phab.enlightenment.org/D6088
Diffstat (limited to 'src/lib/eo/eo_base_class.c')
-rw-r--r--src/lib/eo/eo_base_class.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c
index 631bef0..94ed3d4 100644
--- a/src/lib/eo/eo_base_class.c
+++ b/src/lib/eo/eo_base_class.c
@@ -666,12 +666,10 @@ _efl_object_parent_sink_set(Eo *obj, Eina_Bool sink)
666} 666}
667 667
668void 668void
669_efl_object_reuse(Eo *obj_id) 669_efl_object_reuse(_Eo_Object *obj)
670{ 670{
671 EO_OBJ_POINTER(obj_id, obj);
672 obj->is_invalidating = EINA_FALSE; 671 obj->is_invalidating = EINA_FALSE;
673 obj->invalidate = EINA_FALSE; 672 obj->invalidate = EINA_FALSE;
674 EO_OBJ_DONE(obj_id);
675} 673}
676 674
677EOLIAN static void 675EOLIAN static void