aboutsummaryrefslogtreecommitdiff
path: root/src/hash.h
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2016-01-22 19:14:06 -0500
committerFranklin Wei <git@fwei.tk>2016-01-22 19:14:06 -0500
commitf2a04d689ad656c0ef915261025cb0ce534c4c48 (patch)
tree7bbca8c06d2443c1ed7b4a6241e696b9362a7de9 /src/hash.h
parentb33d9c81c116d43b38ceb8b247bd77f9736574b9 (diff)
downloadnetcosm-f2a04d689ad656c0ef915261025cb0ce534c4c48.zip
netcosm-f2a04d689ad656c0ef915261025cb0ce534c4c48.tar.gz
netcosm-f2a04d689ad656c0ef915261025cb0ce534c4c48.tar.bz2
netcosm-f2a04d689ad656c0ef915261025cb0ce534c4c48.tar.xz
static analysis is *AWESOME*!
Diffstat (limited to 'src/hash.h')
-rw-r--r--src/hash.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/hash.h b/src/hash.h
index 21da10a..4def8fc 100644
--- a/src/hash.h
+++ b/src/hash.h
@@ -41,8 +41,9 @@ void hash_setfreekey_cb(void*, void (*cb)(void *key));
void hash_free(void*);
/*
- * insert a pair, returns NULL if NOT already found, otherwise returns
- * the existing data pointer without inserting the new pair
+ * insert a pair, returns NULL if NOT already found (a.k.a. success),
+ * otherwise returns the existing data pointer without inserting the
+ * new pair (a.k.a. failure)
*/
void *hash_insert(void*, const void *key, const void *data);