get_keys_as_ptr_array


Description:

[ Version ( since = "2.76" ) ]
public GenericArray<unowned K> get_keys_as_ptr_array ()

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

a GenericSet

Returns:

a GenericArray containing each key from the table. Unref with with g_ptr_array_unref when done.