aboutsummaryrefslogtreecommitdiff
path: root/src/hash_table.c
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2025-06-08 23:10:19 +0800
committerMistivia <i@mistivia.com>2025-06-08 23:10:19 +0800
commit7894904d822f91e89c27ab6c54fc3a4d3d9a4cb3 (patch)
treed2579ba62ed7827d577e2cd5d4fb3324f4f56731 /src/hash_table.c
parentd265d0292afde05985f06241c5277a5a9ca7de78 (diff)
add void ptr
Diffstat (limited to 'src/hash_table.c')
-rw-r--r--src/hash_table.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hash_table.c b/src/hash_table.c
index 8d97875..0e7bd41 100644
--- a/src/hash_table.c
+++ b/src/hash_table.c
@@ -12,8 +12,11 @@
HASH_TABLE_IMPL(String, Int);
HASH_TABLE_IMPL(String, String);
HASH_TABLE_IMPL(String, Double);
+HASH_TABLE_IMPL(String, VoidPtr);
HASH_TABLE_IMPL(Int, Int);
HASH_TABLE_IMPL(Int, Double);
+HASH_TABLE_IMPL(VoidPtr, Int);
+HASH_TABLE_IMPL(VoidPtr, String);
static void rebuild(HashTable *ht, VoidHashFn hash, VoidEqFn eq) {