[Pkg-e-commits] [SCM] Core abstraction layer for enlightenment DR 0.17 branch, upstream-vcs, updated. f8800b819e276faf82605c6e6ef3724b8a5f37ab

pfritz pfritz at alioth.debian.org
Wed Mar 19 18:17:54 UTC 2008


The following commit has been merged in the upstream-vcs branch:
commit f8800b819e276faf82605c6e6ef3724b8a5f37ab
Author: pfritz <pfritz>
Date:   Sun Mar 16 23:05:50 2008 +0000

    remove dangerous casts

diff --git a/src/lib/ecore/Ecore_Data.h b/src/lib/ecore/Ecore_Data.h
index 9608f38..1957f7d 100644
--- a/src/lib/ecore/Ecore_Data.h
+++ b/src/lib/ecore/Ecore_Data.h
@@ -178,11 +178,11 @@ extern "C" {
    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 @@ extern "C" {
    
    /* 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);

-- 
Core abstraction layer for enlightenment DR 0.17



More information about the Pkg-e-commits mailing list