A lightweight, cross-platform C library for hashmaps.
Caution
The library is not ready. It is still missing features for automatic resizing and there is an issue with tables using integer keys and string values.
- Supports various key and value types:
- Signed/unsigned integers
- Signed/unsigned floats/doubles
- C strings
- No external dependencies (standard C only)
- CMake build system
- GoogleTest framework for unit testing
- Doxygen for API documentation
- Clone the repository:
git clone https://github.com/your-username/htlib.git
- Build the library:
mkdir build && cd build
cmake ..
make
- Run tests:
./htlib_test
- Install (optional):
make install
See the htlib.h
header file for API documentation.
API documentation is generated using Doxygen and can be found in the docs
folder. You can also view the documentation online at RARM.github.com/htlib.
Contributions are welcome! Please feel free to submit pull requests.
This project is released to the public domain using the Unlicense. See the UNLICENSE file for details.