Hash table library for C99.
  • C 98.5%
  • CMake 1.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-09-07 00:22:50 -07:00
include Initial commit 2025-08-30 04:53:47 -07:00
src Allow passing stack-allocated structs to ht_new 2025-09-07 00:22:50 -07:00
test Update tests 2025-08-30 11:17:48 -07:00
.gitignore Initial commit 2025-08-30 04:53:47 -07:00
CMakeLists.txt Initial commit 2025-08-30 04:53:47 -07:00
Doxyfile Initial commit 2025-08-30 04:53:47 -07:00
LICENSE Initial commit 2025-08-30 04:53:47 -07:00
README.md Initial commit 2025-08-30 04:53:47 -07:00

ht

ht (official name is lowercase) is a hash table library written in standard C99. It takes inspiration from the GLib GHashTable type.

For examples of usage, see test/test_ht.c.

Building

CMake is the only dependency as it is nessesary for building.

cmake -B build
make -C build

Once built, you can run tests with

make -C build test

Documentation

you can build documentation with:

doxygen

The generated documentation is available in the docs/ directory.