Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Xin Wang
codes-dev
Commits
3c11e790
Commit
3c11e790
authored
Apr 03, 2014
by
Jonathan Jenkins
Browse files
clarified qhash 'compare' function (equality, not greater/less than)
parent
677901c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
codes/quickhash.h
View file @
3c11e790
...
...
@@ -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
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment