diff options
author | Søren Sandmann Pedersen <sandmann@daimi.au.dk> | 2009-08-29 14:31:11 -0400 |
---|---|---|
committer | Søren Sandmann Pedersen <sandmann@daimi.au.dk> | 2009-08-29 14:31:11 -0400 |
commit | 636993cbd190a067a364aaa86587c2bb4cd435f3 (patch) | |
tree | ee54902be5e122c8d6b827e4d24d51db633b43fa /libnul.h | |
parent | 5aef73cb7d023436f954906b84e61a58115a07f3 (diff) |
Add hash-test.c. Some hash bug fixes.
Diffstat (limited to 'libnul.h')
-rw-r--r-- | libnul.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -149,11 +149,11 @@ void nul_buffer_delete_tail (nul_buffer_t *queue, * Hash tables */ typedef struct nul_hash_t nul_hash_t; +typedef size_t (* nul_hash_func_t) (nul_const_ptr_t key); + typedef nul_bool_t (* nul_hash_equal_func_t) (nul_const_ptr_t key1, nul_const_ptr_t key2); -typedef uint32_t (* nul_hash_func_t) (nul_const_ptr_t key); - typedef void (* nul_free_func_t) (nul_ptr_t data); nul_hash_t *nul_hash_new (nul_hash_func_t hash, |