Enlightenment CVS committal Author : pfritz Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore Modified Files: Ecore_Data.h Log Message: remove dangerous casts =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore/Ecore_Data.h,v retrieving revision 1.53 retrieving revision 1.54 diff -u -3 -r1.53 -r1.54 --- Ecore_Data.h 8 Jan 2008 21:49:57 -0000 1.53 +++ Ecore_Data.h 16 Mar 2008 23:05:50 -0000 1.54 @@ -178,11 +178,11 @@ EAPI int ecore_dlist_prepend_list(Ecore_DList * _e_dlist, Ecore_DList * prepend); /* Info about list's state */ -# define ecore_dlist_first(list) ecore_list_first(ECORE_LIST(list)) -# define ecore_dlist_last(list) ecore_list_last(ECORE_LIST(list)) +# define ecore_dlist_first(list) ecore_list_first(list) +# define ecore_dlist_last(list) ecore_list_last(list) EAPI void *ecore_dlist_current(Ecore_DList *list); EAPI int ecore_dlist_index(Ecore_DList *list); -# define ecore_dlist_count(list) ecore_list_count(ECORE_LIST(list)) +# define ecore_dlist_count(list) ecore_list_count(list) /* Removing items from the list */ EAPI void *ecore_dlist_remove(Ecore_DList * _e_dlist); @@ -192,7 +192,7 @@ /* Traversing the list */ # define ecore_dlist_for_each(list, function, user_data) \ - ecore_list_for_each(ECORE_LIST(list), function, user_data) + ecore_list_for_each(list, function, user_data) EAPI void *ecore_dlist_first_goto(Ecore_DList * _e_dlist); EAPI void *ecore_dlist_last_goto(Ecore_DList * _e_dlist); EAPI void *ecore_dlist_index_goto(Ecore_DList * _e_dlist, int index); ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs