HashTable.remove

Removes a key and its associated value from a glib.HashTable

If the glib.HashTable was created using HashTable.newFull, 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 Value

Type: bool

TRUE if the key was found and removed from the glib.HashTable