about summary refs log tree commit diff
path: root/misc/hashtable.c
AgeCommit message (Collapse)Author
2009-02-06Hashtable tweaks.Richard Nyberg
o Added ability to set the ratio items:buckets. o One can remove items while iterating. o _htbl_tov now allocates the result array, _htbl_fillv acts as the old _htbl_tov did.
2006-10-15OpenBSD doesn't have stdint.h. It'd be great if they would implement basic c99Richard Nyberg
library support some day...
2006-09-12Pointers to different things need not be represented in the same way.Richard Nyberg
Use the fact that we only can store structs in the table to make the complex pointer use safe. Unfortunately the equal and hash functions need to take void * arguments.
2006-09-12Add a hashtable implementation.Richard Nyberg