Commit graph

12 commits

Author SHA1 Message Date
2324d9982f Format code. 2022-08-09 21:05:10 -04:00
d9e355edb9 Relocate free() in HashMap to a sensible location. 2022-08-09 21:02:57 -04:00
560624ba98 Fix memory leak in HashMap 2022-08-09 20:23:25 -04:00
1087069416 Fix some invalid structures. 2022-07-29 12:32:46 -04:00
b3e71c32fd Update license text. 2022-07-28 12:00:52 -04:00
c991d93444 Add license headers to all source files. 2022-07-28 11:15:04 -04:00
bc849819d9 Make HashMap and Json conform to C89.
Clang on OpenBSD didn't catch this, but GCC on Linux did.
2022-07-27 09:47:22 -04:00
90c4709823 Fix HashMapIterate not resetting the iterator at the right place. 2022-07-25 22:55:22 -04:00
ace2682dec Rework HashMapIterate to be more flexible.
We now get the keys, and we don't have to operate within the confines
of a callback function.
2022-07-25 21:31:09 -04:00
580b036d26 Add key to bucket, make iteratorFunc in HashMapIterate take it. 2022-07-25 16:26:30 -04:00
aabb2a0203 Run indent(1) on all C source files. 2022-07-25 15:18:35 -04:00
d102ba8676 Initial revision 2022-07-22 20:19:12 -04:00