Fix couple of issues with MAGIC handling.
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 6 Dec 2008 06:17:11 +0000 (06:17 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 6 Dec 2008 06:17:11 +0000 (06:17 +0000)
commit203ba5ec4eb59bd7a3fdf29974321929c45adbd0
tree39d0ad9515ba95856b16171e3bfb4f44d1f572ab
parent4d78a0bbaeb3137c6f0fff19f867ab5ee8e1ac12
Fix couple of issues with MAGIC handling.

eina_magic.h MUST include eina_config.h, otherwise it will not
consider EINA_MAGIC stuff. Worse than that, some files were including
that directly and were considering EINA_MAGIC attribute even if the
file that alloc'ed the memory were not!

Also add missing EINA_MAGIC_SET() to iterators and accessors.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@37960 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/include/eina_magic.h
src/lib/eina_hash.c
src/lib/eina_inlist.c
src/lib/eina_rbtree.c