2.4.2.2 Setup¶
-
ZixHash *zix_hash_new(ZixAllocator *allocator, ZixKeyFunc key_func, ZixHashFunc hash_func, ZixKeyEqualFunc equal_func)¶
Create a new hash table.
- Parameters:
allocator – Allocator used for the internal array.
key_func – A function to retrieve the key from a record.
hash_func – The key hashing function.
equal_func – A function to test keys for equality.