Proper wrapper for evas_hash around eina_hash.
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 10 Dec 2008 21:26:17 +0000 (21:26 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 10 Dec 2008 21:26:17 +0000 (21:26 +0000)
commit4cae1aa186a86c42843cf3aaf5ac9c521fb8ace9
tree8f2f52238efd0292021a97c1fbfeb29311680c7b
parentdf15b87f13b1c3a4a92196f512246e3112e094b0
Proper wrapper for evas_hash around eina_hash.

Eina hash api must get non NULL pointer allocated with
eina_hash_new(), but Evas hash started with NULL and would allocate
and destroy the hash as required by operations.

To do a proper wrapper we must ensure we don't call Eina hash API with
NULL, we must handle that outside Eina.

PLEASE do not remove this code again (it's the second time I add it),
this is the correct approach. Other than that is going after evas_hash
usage and converting directly to eina_hash.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38091 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/Evas_Data.h