Add g_hash_table_get_keys_as_array()

Returns a %NULL-terminated array of the keys of a hashtable.

In the case that the hash table has strings for keys, this is actually a
gchar**.

https://bugzilla.gnome.org/show_bug.cgi?id=710964
This commit is contained in:
Ryan Lortie
2013-10-26 18:48:42 -07:00
parent 415c6d2e27
commit 2880767702
3 changed files with 50 additions and 0 deletions

View File

@@ -2296,6 +2296,7 @@ g_hash_table_remove_all
g_hash_table_steal_all
g_hash_table_get_keys
g_hash_table_get_values
g_hash_table_get_keys_as_array
GHRFunc
g_hash_table_freeze
g_hash_table_thaw