eina_model: correctly retrieve the memory from value.
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 8 Feb 2012 15:13:25 +0000 (15:13 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 8 Feb 2012 15:13:25 +0000 (15:13 +0000)
commit386d2ea15d668a5bfe7d240661503aa0c83f715a
tree619c25d4412719e54e6910a98f5a4985679f4e43
parent3668def2ae225e7d36ec515a347c8fa9dedbeb1c
eina_model: correctly retrieve the memory from value.

val->value.ptr is just valid on 64bits platforms, as on 32bits both
pointers of the Eina_Value_Struct fits in the 8bytes of val->value.buf.

Always use the function to correctly retrieve it.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@67764 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/eina_model.c