attractivechaos / khashl

Generic hash table library in C
19 stars 0 forks source link

_clear implementation missing in KHASHL_CSET_INIT compared to version 0.1 #4

Closed slw287r closed 4 months ago

slw287r commented 4 months ago

Hi, Heng:

I have compiling issues when using the _clear() call and found that the implementation line is dropped out of the r24 version. Add back the second line fix the issue.

Thanks for the excellent lib.

https://github.com/attractivechaos/khashl/blob/592c23b2039fb74e230167aff8dd1b7e32287b75/khashl.h#L362

attractivechaos commented 4 months ago

Thanks a lot for all these reports! prefix##_clear() should work now. Let me know if you see new problems. Thanks again.