mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-05 14:20:05 -05:00
Updates tommy lib.
This commit is contained in:
parent
915c3b9202
commit
797d9d15f9
6 changed files with 79 additions and 13 deletions
|
|
@ -162,7 +162,7 @@ void* tommy_hashdyn_remove_existing(tommy_hashdyn* hashdyn, tommy_hashdyn_node*
|
|||
return node->data;
|
||||
}
|
||||
|
||||
void* tommy_hashdyn_remove(tommy_hashdyn* hashdyn, tommy_compare_func* cmp, const void* cmp_arg, tommy_hash_t hash)
|
||||
void* tommy_hashdyn_remove(tommy_hashdyn* hashdyn, tommy_search_func* cmp, const void* cmp_arg, tommy_hash_t hash)
|
||||
{
|
||||
unsigned pos = hash % hashdyn->bucket_max;
|
||||
tommy_hashdyn_node* i = hashdyn->bucket[pos];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue