removeAll

fun removeAll(hashTable: HashTable)

Removes all keys and their associated values from a #GHashTable.

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

Since

2.12

Parameters

hashTable

a #GHashTable