New macros, documentation and consistency for iterators and accessors.
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 27 Feb 2009 16:32:22 +0000 (16:32 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 27 Feb 2009 16:32:22 +0000 (16:32 +0000)
commite3db2e89bc6b591d4ff7c5925fc0ecfd5fba991c
tree40dc045ccb646213260b997751eab1af2d52ba3f
parent6ae355e6029adf0956dd1a6e93fab3c6f30c5f19
New macros, documentation and consistency for iterators and accessors.

EINA_ITERATOR_FOREACH() and EINA_ACCESSOR_FOREACH() are new macros to
help us forget about nasty C details (like cast to (void **)).

Document most iterators and accessors.

All iterators now set EINA_ERROR_OUT_OF_MEMORY if it's the case.

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