diff options
author | Sebastian Wilhelmi <wilhelmi@ira.uka.de> | 2000-04-26 08:42:19 +0000 |
---|---|---|
committer | Sebastian Wilhelmi <wilhelmi@src.gnome.org> | 2000-04-26 08:42:19 +0000 |
commit | d5fccfb0eb2ec99fc29845082c72a5dc0a66045a (patch) | |
tree | 26726447ee1187541fbb0d08f00056f297220f12 /gcache.c | |
parent | 7e3c98f8e96449618b3f9dc4d5a3ec1fcd7aa37a (diff) |
Changed the 'value' parameter of g_cache_remove from gpointer to
2000-04-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib.h, gcache.c, gtree.c: Changed the 'value' parameter of
g_cache_remove from gpointer to gconstpointer. Dito for the 'key'
parameter of g_tree_lookup and g_tree_remove and the 'data'
parameter of g_tree_serach. This function now takes a function of
type GCompareFunc instead of GSearchFunc.
* glib.h: Removed declaration of GSearchFunc.
* gmem.c: s/GSearchFunc/GCompareFunc/.
Diffstat (limited to 'gcache.c')
-rw-r--r-- | gcache.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -143,8 +143,8 @@ g_cache_insert (GCache *cache, } void -g_cache_remove (GCache *cache, - gpointer value) +g_cache_remove (GCache *cache, + gconstpointer value) { GRealCache *rcache; GCacheNode *node; |