Enlightenment CVS committal
Author : cedric
Project : e17
Module : proto/eina
Dir : e17/proto/eina/src/include
Modified Files:
eina_types.h
Log Message:
Cleanup.
===================================================================
RCS file: /cvs/e/e17/proto/eina/src/include/eina_types.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- eina_types.h 6 Aug 2008 18:15:19 -0000 1.3
+++ eina_types.h 11 Aug 2008 16:21:51 -0000 1.4
@@ -71,16 +71,13 @@
#define EINA_SORT_MIN 0
#define EINA_SORT_MAX 1
-typedef void (*Eina_For_Each) (void *value, void *user_data);
-#define EINA_FOR_EACH(function) ((Eina_For_Each)function)
-
-typedef void (*Eina_Free_Cb) (void *data);
-#define EINA_FREE_CB(func) ((Eina_Free_Cb)func)
-
-typedef unsigned int (*Eina_Hash_Cb) (const void *key);
-#define EINA_HASH_CB(function) ((Eina_Hash_Cb)function)
-
typedef int (*Eina_Compare_Cb) (const void *data1, const void *data2);
#define EINA_COMPARE_CB(function) ((Eina_Compare_Cb)function)
+
+typedef Eina_Bool (*Eina_Each)(const void *container,
+ void *data,
+ void *fdata);
+#define EINA_EACH(Function) ((Eina_Each)Function)
+
#endif /*EINA_TYPES_H_*/
-------------------------------------------------------------------------
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