remove


Description:

public bool remove (T value)

Removes a key and its associated value from a GenericSet.

If the GenericSet was created using GenericSet, 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.

Parameters:

hash_table

a GenericSet

key

the key to remove

Returns:

true if the key was found and removed from the GenericSet