improve readability: avoid macros inside our code
authorbarbieri <barbieri>
Tue, 28 Oct 2008 17:47:59 +0000 (17:47 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 28 Oct 2008 17:47:59 +0000 (17:47 +0000)
commit181718d48bc7c281c92956c2f53867ae2ea685e8
treec4a7dd86af0614a1b794eb2772c3d0eb3d0d953b
parent35b22706bab49f0cd4b07de3b716fce51bd68baa
improve readability: avoid macros inside our code

mixing #ifdef'ed blocks inside code is bad, can lead to warnings if
some variables are not used and it's a pain to read.

instead, just define functions and always call them, choose their
implementation based on the ifdef macros. I opted to have 2
declarations, but one can go like other parts and #ifdef around the
function contents as well.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@37281 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/eina_stringshare.c