libhmap-c

C hashmap library
git clone https://git.sinitax.com/sinitax/libhmap-c
Log | Files | Refs | Submodules | LICENSE | sfeed.txt

commit 27a45430478270bc34bed263397b6e026465edad
parent 5312e094a5019fab57447b4c004579e9c6aecb67
Author: Louis Burda <quent.burda@gmail.com>
Date:   Fri, 17 Mar 2023 16:58:35 +0100

Switch hashmap_link to void *

Diffstat:
Minclude/hashmap.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/hashmap.h b/include/hashmap.h @@ -10,9 +10,9 @@ typedef uint32_t (*map_hash_func)(const void *data, size_t size); struct hashmap_link { - uint8_t *key; + void *key; size_t key_size; - uint8_t *value; + void *value; size_t value_size; struct hashmap_link *next; };