Commit 3c11e790 authored by Jonathan Jenkins's avatar Jonathan Jenkins
Browse files

clarified qhash 'compare' function (equality, not greater/less than)

parent 677901c5
......@@ -46,6 +46,10 @@ struct qhash_table
* hash function and compare function must be provided.
* table_size should be a good prime number.
* the compare function tests equality between the input key
* and the given qhash entry, returning 1 on equal and 0 on
* non-equal
* returns pointer to table on success, NULL on failure
static inline struct qhash_table *qhash_init(
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment