Macros and functions to help memory allocation.
Macros for displaying error messages.
Definition type_hash.h:14
bool(* comp)(uint, uint)
Comparison function for the values in the hash table.
Definition type_hash.h:22
uint collisions
Number of collisions in the hash table.
Definition type_hash.h:18
uint * table
Pointer to the hash table.
Definition type_hash.h:19
uint num_elements
Number of elements in the hash table.
Definition type_hash.h:16
uint size
Size of the hash table.
Definition type_hash.h:15
uint(* hash_func)(uint, uint)
Hash function to compute the index for a given key.
Definition type_hash.h:20