Typedefs | |
typedef uint32(* | HashFunction )(void *key, uint32 keySize) |
typedef _HashTable * | HashTable |
Functions | |
ErrorCode | hashTableCreate (HashTable *table, uint32 size, HashFunction hashFunction) |
ErrorCode | hashTableAdd (HashTable table, void *key, uint32 keySize, Pointer object) |
ErrorCode | hashTableAddString (HashTable table, String key, Pointer object) |
ErrorCode | hashTableGet (HashTable table, void *key, uint32 keySize, Pointer *object) |
ErrorCode | hashTableGetString (HashTable table, String key, Pointer *object) |
ErrorCode | hashTableDestroy (HashTable *table) |
Variables | |
const uint32 | HashTableDefaultSize = 97 |
|
Definition at line 29 of file hashTable.h. |
|
Definition at line 31 of file hashTable.h. |
|
|
|
|
|
|
|
|
|
|
|
|
|
The default hash table size (large prime numbers are the best sizes when using the modulus method of clamping hash values into table range) Definition at line 27 of file hashTable.h. |