better hashing

This commit is contained in:
2020-08-02 15:11:32 +02:00
parent debf0daf33
commit 14009a6e25
3 changed files with 2 additions and 20 deletions

View File

@ -9,6 +9,7 @@ union acl_hashmap_meta {
size_t keyBits;
};
};
/* set keySize to NULL for a dynamic keySize */
union acl_hashmap_meta* acl_hashmap_create(size_t bucketCount, size_t sizeOneElement, size_t keySize);
void acl_hashmap_put(union acl_hashmap_meta *hashmap_meta, void *key, void *element);
#endif