Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib/include Modified Files: evas_common.h Log Message: use stringshare. saves a few hundred allocs... if we start doing lots of text :) =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/include/evas_common.h,v retrieving revision 1.43 retrieving revision 1.44 diff -u -3 -r1.43 -r1.44 --- evas_common.h 11 Nov 2005 06:09:46 -0000 1.43 +++ evas_common.h 28 Nov 2005 15:18:01 -0000 1.44 @@ -42,6 +42,10 @@ #include <sys/types.h> #include <ctype.h> +#ifdef HAVE_ALLOCA_H +#include <alloca.h> +#endif + #ifdef _WIN32_WCE #include <windows.h> #endif @@ -210,7 +214,7 @@ { int format; char *file; - char *real_file; +// char *real_file; char *key; char *comment; } info; @@ -571,6 +575,9 @@ void evas_hash_foreach (Evas_Hash *hash, Evas_Bool (*func) (Evas_Hash *hash, const char *key, void *data, void *fdata), const void *fdata); int evas_hash_alloc_error (void); +const char *evas_stringshare_add (const char *str); +void evas_stringshare_del (const char *str); + void *evas_object_list_append (void *in_list, void *in_item); void *evas_object_list_prepend (void *in_list, void *in_item); void *evas_object_list_append_relative (void *in_list, void *in_item, void *in_relative); ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs