Enlightenment CVS committal
Author : cedric
Project : e17
Module : proto/eina
Dir : e17/proto/eina/src/include
Modified Files:
eina_inlist.h
Log Message:
Add eina inlist tests suite, remove dead code and cleanup iterator.
===================================================================
RCS file: /cvs/e/e17/proto/eina/src/include/eina_inlist.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- eina_inlist.h 31 Jul 2008 14:58:23 -0000 1.3
+++ eina_inlist.h 1 Aug 2008 15:44:53 -0000 1.4
@@ -27,8 +27,8 @@
//typedef Eina_Bool (*Eina_Iterator_Func)(Eina_Inlist *l, void *data);
-#define EINA_INLIST_ITER_NEXT(list, l) for (l = (Eina_Inlist *)list; l; l =
l->next)
-#define EINA_INLIST_ITER_LAST(list, l) for (l = ((Eina_Inlist *)list)->last;
l; l = l->prev)
+#define EINA_INLIST_ITER_NEXT(list, l) for (l = (void*)(Eina_Inlist *)list; l;
l = (void*)((Eina_Inlist *)l)->next)
+#define EINA_INLIST_ITER_LAST(list, l) for (l = (void*)((Eina_Inlist
*)list)->last; l; l = (void*)((Eina_Inlist *)l)->prev)
/** @} */
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs