summaryrefslogtreecommitdiff
path: root/docs/reference/glib
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2022-12-14 04:08:10 +0100
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2022-12-16 18:45:36 +0100
commitd68e7bc84a1e9fe7413388760d9286ed59bcf06c (patch)
tree6d9b68cd587eb5942aa57a6bf87ef7bcab238dca /docs/reference/glib
parentd2c3f7f513dfa48a72f52adf0bfbbc675e80302b (diff)
downloadglib-d68e7bc84a1e9fe7413388760d9286ed59bcf06c.tar.gz
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.
Diffstat (limited to 'docs/reference/glib')
-rw-r--r--docs/reference/glib/glib-sections.txt.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/reference/glib/glib-sections.txt.in b/docs/reference/glib/glib-sections.txt.in
index 2ac3af6bb..ab7453e60 100644
--- a/docs/reference/glib/glib-sections.txt.in
+++ b/docs/reference/glib/glib-sections.txt.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