Creates an empty HashSet with the given hash and equality functions.
For string elements, pass GLib.str_hash and GLib.str_equal. For integer or pointer elements, pass GLib.direct_hash and GLib.direct_equal.
Example:
var set = new HashSet<string> (GLib.str_hash, GLib.str_equal);
assert (set.isEmpty ());
| hash_func |
the hash function for elements. |
| equal_func |
the equality function for elements. |