Enlightenment CVS committal Author : barbieri Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib/cache Modified Files: evas_cache_image.c Log Message: Add const: evas_hash.c As agreed on IRC, evas_hash_foreach() now takes const, to make clear that hash shouldn't be changed. If one wants to change he must do a cast and return 0. However this will require users to be updated in applications. =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/cache/evas_cache_image.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -3 -r1.11 -r1.12 --- evas_cache_image.c 11 Jan 2008 07:33:57 -0000 1.11 +++ evas_cache_image.c 8 Feb 2008 19:55:02 -0000 1.12 @@ -55,7 +55,7 @@ } static Evas_Bool -_evas_cache_image_free_cb(Evas_Hash *hash, const char *key, void *data, void *fdata) +_evas_cache_image_free_cb(const Evas_Hash *hash, const char *key, void *data, void *fdata) { Evas_Cache_Image *cache = fdata; RGBA_Image *im = data; ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs