mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 15:48:54 +02:00
ghash: Add functions to steal all keys and values preserving ownership
Add functions to steal all the keys or values from a ghash (especially useful when it's used as a set), passing the ownership of then to a GPtrArray container that preserves the destroy notify functions.
This commit is contained in:
@@ -2578,6 +2578,8 @@ GHFunc
|
||||
g_hash_table_remove
|
||||
g_hash_table_steal
|
||||
g_hash_table_steal_extended
|
||||
g_hash_table_steal_all_keys
|
||||
g_hash_table_steal_all_values
|
||||
g_hash_table_foreach_remove
|
||||
g_hash_table_foreach_steal
|
||||
g_hash_table_remove_all
|
||||
|
Reference in New Issue
Block a user