mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-30 13:53:30 +02:00
Deprecate g_cache_value_foreach. (#322956, Nicolas Caniart)
2005-12-03 Matthias Clasen <mclasen@redhat.com> * glib/glib.symbols: * glib/gcache.h: Deprecate g_cache_value_foreach. (#322956, Nicolas Caniart)
This commit is contained in:
committed by
Matthias Clasen
parent
d87c91a396
commit
36c836435b
@@ -1,5 +1,8 @@
|
||||
2005-12-03 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
|
||||
* glib/tmpl/caches.sgml: Document g_cache_value_foreach
|
||||
as deprecated; document g_cache_key_foreach more thorougly
|
||||
|
||||
* glib/glib-sections.txt:
|
||||
* glib/tmpl/linked_lists_single.sgml: Add g_slist_free1.
|
||||
|
||||
|
@@ -104,6 +104,11 @@ Note that it does not destroy the keys and values which were contained in the
|
||||
<para>
|
||||
Calls the given function for each of the keys in the #GCache.
|
||||
</para>
|
||||
<note><para>@func is passed three parameters, the value and key of a
|
||||
cache entry and the @user_data. The order of value and key is different
|
||||
from the order in which g_hash_table_foreach() passes key-value pairs
|
||||
to its callback function !
|
||||
</para></note>
|
||||
|
||||
@cache: a #GCache.
|
||||
@func: the function to call with each #GCache key.
|
||||
@@ -118,6 +123,8 @@ Calls the given function for each of the values in the #GCache.
|
||||
@cache: a #GCache.
|
||||
@func: the function to call with each #GCache value.
|
||||
@user_data: user data to pass to the function.
|
||||
@Deprecated: Since it passes pointers to internal data structures
|
||||
to @func; use g_cache_key_foreach() instead
|
||||
|
||||
|
||||
<!-- ##### USER_FUNCTION GCacheDestroyFunc ##### -->
|
||||
|
Reference in New Issue
Block a user