summaryrefslogtreecommitdiff
path: root/src/lib/eo/eo_ptr_indirection.x
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eo/eo_ptr_indirection.x')
-rw-r--r--src/lib/eo/eo_ptr_indirection.x11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/eo/eo_ptr_indirection.x b/src/lib/eo/eo_ptr_indirection.x
index 5e0f7bf376..ef3c0e0cb5 100644
--- a/src/lib/eo/eo_ptr_indirection.x
+++ b/src/lib/eo/eo_ptr_indirection.x
@@ -366,6 +366,17 @@ _eo_id_domain_compatible(const Eo *o1, const Eo *o2)
366 return EINA_FALSE; 366 return EINA_FALSE;
367} 367}
368 368
369static inline void
370_eo_obj_pointer_done(const Eo_Id obj_id)
371{
372#ifdef HAVE_EO_ID
373 Efl_Id_Domain domain = (obj_id >> SHIFT_DOMAIN) & MASK_DOMAIN;
374 if (EINA_LIKELY(domain != EFL_ID_DOMAIN_SHARED)) return;
375 eina_lock_release(&(_eo_table_data_shared_data->obj_lock));
376#endif
377 (void)obj_id;
378}
379
369////////////////////////////////////////////////////////////////////////// 380//////////////////////////////////////////////////////////////////////////
370 381
371 382