ouch, SPANK SPANK SPANK... me :-( wrong function attributes.
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 27 Feb 2010 14:51:52 +0000 (14:51 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 27 Feb 2010 14:51:52 +0000 (14:51 +0000)
commit6ada20e08ab7cd76f99ea18de9f4567da86c3145
tree0ed84b7412c5ea8b386a1938ffaf213218c42e50
parent3a794e81b58b49852b63929b1e3ab3a26c97ae63
ouch, SPANK SPANK SPANK... me :-( wrong function attributes.

I forgot that EINA_CONST refer to the pointer itself, not to its
contents, as such the pointer did not changed, so gcc was optimizing
subsequent fetches of the value.

There should be another optimization to check for this... but then I
guess it's just c++

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46580 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/include/eina_strbuf.h