Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib


Modified Files:
        Evas.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/Evas.h,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -3 -r1.72 -r1.73
--- Evas.h      26 Nov 2005 08:04:18 -0000      1.72
+++ Evas.h      28 Nov 2005 15:18:00 -0000      1.73
@@ -300,6 +300,7 @@
     * do we really need this? hmmm - let me think... there may be a better way
     */
    EAPI Evas_Hash        *evas_hash_add                     (Evas_Hash *hash, 
const char *key, const void*data);
+   EAPI Evas_Hash        *evas_hash_direct_add              (Evas_Hash *hash, 
const char *key, const void*data);
    EAPI Evas_Hash        *evas_hash_del                     (Evas_Hash *hash, 
const char *key, const void*data);
    EAPI void             *evas_hash_find                    (Evas_Hash *hash, 
const char *key);
    EAPI void             *evas_hash_modify                  (Evas_Hash *hash, 
const char *key, const void*data);
@@ -307,6 +308,10 @@
    EAPI void              evas_hash_free                    (Evas_Hash *hash);
    EAPI void              evas_hash_foreach                 (Evas_Hash *hash, 
Evas_Bool (*func) (Evas_Hash *hash, const char *key, void *data, void *fdata), 
const void *fdata);
    EAPI int               evas_hash_alloc_error             (void);
+   
+   EAPI const char       *evas_stringshare_add              (const char *str);
+   EAPI void              evas_stringshare_del              (const char *str);
+       
 
    EAPI int               evas_alloc_error                  (void);
 




-------------------------------------------------------
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

Reply via email to