Inserts a new key and value into a GenericSet similar to @set.
The difference is that if the key already exists in the GenericSet, it gets replaced by
the new key. If you supplied a value_destroy_func
when creating the GenericSet
, the old value is freed using that function. If you supplied a key_destroy_func
when creating the
GenericSet, the old key is freed using that function.
key |
a key to insert |
value |
the value to associate with the key |
hash_table |
true of the key did not exist yet |