Enlightenment CVS committal
Author : cedric
Project : e17
Module : proto/eina
Dir : e17/proto/eina/src/include
Modified Files:
eina_private.h eina_mempool.h
Log Message:
Update the mempool API header.
===================================================================
RCS file: /cvs/e/e17/proto/eina/src/include/eina_private.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- eina_private.h 31 Jul 2008 15:08:47 -0000 1.3
+++ eina_private.h 1 Aug 2008 12:29:15 -0000 1.4
@@ -89,8 +89,8 @@
void (*free)(void *data, void *element);
void *(*alloc)(void *data, unsigned int size);
void *(*realloc)(void *data, void *element, unsigned int size);
- void (*garbage_collect)(void);
- void (*statistics)(void);
+ void (*garbage_collect)(void *data);
+ void (*statistics)(void *data);
void (*shutdown)(void *data);
} Eina_Mempool_Backend;
===================================================================
RCS file: /cvs/e/e17/proto/eina/src/include/eina_mempool.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- eina_mempool.h 30 Jul 2008 13:35:49 -0000 1.2
+++ eina_mempool.h 1 Aug 2008 12:29:15 -0000 1.3
@@ -11,11 +11,10 @@
EAPI int eina_mempool_init(void);
EAPI int eina_mempool_shutdown(void);
+
+EAPI Eina_Mempool * eina_mempool_new(const char *module, const char *context,
const char *options, ...);
EAPI void eina_mempool_delete(Eina_Mempool *mp);
-EAPI Eina_Mempool * eina_mempool_new_from_buffer(const char *name, void
*buffer,
- unsigned int size, const char *options, ...);
-EAPI Eina_Mempool * eina_mempool_new(const char *name, unsigned int size,
const char
- *options, ...);
+
EAPI void * eina_mempool_realloc(Eina_Mempool *mp, void *element, unsigned int
size);
EAPI void * eina_mempool_alloc(Eina_Mempool *mp, unsigned int size);
EAPI void eina_mempool_free(Eina_Mempool *mp, void *element);
-------------------------------------------------------------------------
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