diff options
| author | Mistivia <i@mistivia.com> | 2025-06-08 23:10:19 +0800 |
|---|---|---|
| committer | Mistivia <i@mistivia.com> | 2025-06-08 23:10:19 +0800 |
| commit | 7894904d822f91e89c27ab6c54fc3a4d3d9a4cb3 (patch) | |
| tree | d2579ba62ed7827d577e2cd5d4fb3324f4f56731 /src/hash_table.c | |
| parent | d265d0292afde05985f06241c5277a5a9ca7de78 (diff) | |
add void ptr
Diffstat (limited to 'src/hash_table.c')
| -rw-r--r-- | src/hash_table.c | 3 |
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) { |
