mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-24 11:12:11 +01:00
Merge branch 'th/hash-steal-doc' into 'main'
ghash: comment g_hash_table_steal_extended() about not destroying key/value See merge request GNOME/glib!2965
This commit is contained in:
commit
8d02465ea8
@ -1834,7 +1834,9 @@ g_hash_table_steal (GHashTable *hash_table,
|
||||
*
|
||||
* If found, the stolen key and value are removed from the hash table without
|
||||
* calling the key and value destroy functions, and ownership is transferred to
|
||||
* the caller of this method; as with g_hash_table_steal().
|
||||
* the caller of this method, as with g_hash_table_steal(). That is the case
|
||||
* regardless whether @stolen_key or @stolen_value output parameters are
|
||||
* requested.
|
||||
*
|
||||
* You can pass %NULL for @lookup_key, provided the hash and equal functions
|
||||
* of @hash_table are %NULL-safe.
|
||||
|
Loading…
x
Reference in New Issue
Block a user