Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/evas
Dir : e17/libs/evas/src/lib/include
Modified Files:
evas_private.h
Log Message:
i'm playign with memory pools for evas lists. it seems to improve things.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/include/evas_private.h,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -3 -r1.53 -r1.54
--- evas_private.h 8 Nov 2005 11:59:21 -0000 1.53
+++ evas_private.h 23 Nov 2005 10:43:54 -0000 1.54
@@ -618,6 +618,20 @@
RGBA_Font *font;
};
+typedef struct _Evas_Mempool Evas_Mempool;
+
+struct _Evas_Mempool
+{
+ int item_size;
+ int pool_size;
+ int usage;
+ void *first;
+};
+
+void *evas_mempool_malloc(Evas_Mempool *pool, int size);
+void evas_mempool_free(Evas_Mempool *pool, void *ptr);
+void *evas_mempool_calloc(Evas_Mempool *pool, int size);
+
#ifdef __cplusplus
}
#endif
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs