srdja / Collections-C

A library of generic data structures for the C language.
http://srdja.github.io/Collections-C
GNU Lesser General Public License v3.0
2.8k stars 328 forks source link

document is inaccurate about key_compare function #158

Open xujiesh0510 opened 1 year ago

xujiesh0510 commented 1 year ago

https://srdja.github.io/Collections-C/#hashtableconf field key_compare in HashTableConf :

key comparator function which returns true if the keys are identical

---> should change to "key comparator function which returns 0 if the keys are identical"

took half an hour to figured it out