Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        e16-ecore_list.c e16-ecore_list.h 


Log Message:
Enable using ecore_list_... functions from library.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/e16-ecore_list.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e16-ecore_list.c    19 Feb 2006 15:51:19 -0000      1.2
+++ e16-ecore_list.c    27 Feb 2006 19:34:49 -0000      1.3
@@ -41,6 +41,8 @@
 #define TRUE 1
 #endif
 
+#if !USE_ECORE
+
 struct _ecore_list_node
 {
    void               *data;
@@ -954,6 +956,8 @@
    return TRUE;
 }
 
+#endif /* !USE_ECORE */
+
 /*
  * E16 additions
  */
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/e16-ecore_list.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e16-ecore_list.h    19 Feb 2006 15:51:19 -0000      1.2
+++ e16-ecore_list.h    27 Feb 2006 19:34:49 -0000      1.3
@@ -33,6 +33,12 @@
 #ifndef _E16_ECORE_LIST_H_
 #define _E16_ECORE_LIST_H_
 
+#if USE_ECORE
+
+#include <Ecore_Data.h>
+
+#else
+
 #undef EAPI
 #define EAPI
 
@@ -94,6 +100,8 @@
 EAPI int            ecore_list_set_free_cb(Ecore_List * list,
                                           Ecore_Free_Cb free_func);
 
+#endif /* USE_ECORE */
+
 /* e16 additions */
 #define ECORE_LIST_FOR_EACH(list, p) \
    for (ecore_list_goto_first(list); (p = ecore_list_next(list)) != NULL;)




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to