get_keys_as_ptr_array
Description:
Retrieves every key inside hash_table
, as a GenericArray.
The returned data is valid until changes to the hash release those keys.
This iterates over every entry in the hash table to build its return value. To iterate over the entries in a GenericSet more efficiently, use a GenericSetIter.
You should always unref the returned array with g_ptr_array_unref
.
Parameters:
hash_table |
Returns:
a GenericArray containing each key from the table. Unref with with |