From 8e24a073f8a8865380a37268d2de32b3cab6f19e Mon Sep 17 00:00:00 2001 From: caro Date: Wed, 31 Aug 2011 08:50:19 +0000 Subject: [PATCH] Add missing function in lock void Patch by Youness Alaoui git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@63018 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- AUTHORS | 1 + src/include/eina_inline_lock_void.x | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/AUTHORS b/AUTHORS index e2d04d3..170169b 100644 --- a/AUTHORS +++ b/AUTHORS @@ -17,3 +17,4 @@ Brett Nash Tom Hacohen Sebastian Dransfeld Myungjae Lee +Youness Alaoui diff --git a/src/include/eina_inline_lock_void.x b/src/include/eina_inline_lock_void.x index 2c849ac..4b54da4 100644 --- a/src/include/eina_inline_lock_void.x +++ b/src/include/eina_inline_lock_void.x @@ -203,6 +203,18 @@ eina_rwlock_release(Eina_RWLock *mutex) return EINA_LOCK_FAIL; } +static inline Eina_Lock_Result +eina_rwlock_take_read(Eina_RWLock *mutex) +{ + return EINA_LOCK_FAIL; +} + +static inline Eina_Lock_Result +eina_rwlock_take_write(Eina_RWLock *mutex) +{ + return EINA_LOCK_FAIL; +} + /** * @} */ -- 2.7.4