HashTable.remove

Removes a key and its associated value from a #GHashTable.

If the #GHashTable was created using g_hash_table_new_full(), the key and value are freed using the supplied destroy functions, otherwise you have to make sure that any dynamically allocated values are freed yourself.

class HashTable
bool
remove
(
void* key
)

Parameters

key void*

the key to remove

Return: %TRUE if the key was found and removed from the #GHashTable

Meta