onurturhan / c_hashmap

A simple string hashmap in C

Home Page:http://petewarden.typepad.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a simple C hashmap, using strings for the keys.

Originally based on code by Eliot Back at http://elliottback.com/wp/hashmap-implementation-in-c/
Reworked by Pete Warden - http://petewarden.typepad.com/searchbrowser/2010/01/c-hashmap.html

This version is now deprecated, since it's unmaintained. @sheredom has a newer version at
https://github.com/sheredom/hashmap.h

main.c contains an example that tests the functionality of the hashmap module.
To compile it, run something like this on your system:
gcc main.c hashmap.c -o hashmaptest

There are no restrictions on how you reuse this code.

About

A simple string hashmap in C

http://petewarden.typepad.com/

License:Other


Languages

Language:C 99.8%Language:Shell 0.2%