Skip to content

A simple, hash table based, C dictionnary. What other languages call a hash array.

License

Notifications You must be signed in to change notification settings

thomedes/simple-c-dict

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-c-dict

A simple, hash table based, C dictionnary. What other languages call a hash array.

Usage

dicthdl d = dict_new(false, 256, NULL);

dict_set(d, "hola", "lola");
dict_set(d, "foo",  "bar");

puts(dict_get(d, "hola"));
puts(dict_get(d, "foo"));

dict_unset(d, "hola");

dict_free(d);

About

A simple, hash table based, C dictionnary. What other languages call a hash array.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published