diff options
| author | Franklin Wei <git@fwei.tk> | 2016-01-22 19:14:06 -0500 |
|---|---|---|
| committer | Franklin Wei <git@fwei.tk> | 2016-01-22 19:14:06 -0500 |
| commit | f2a04d689ad656c0ef915261025cb0ce534c4c48 (patch) | |
| tree | 7bbca8c06d2443c1ed7b4a6241e696b9362a7de9 /src/hash.h | |
| parent | b33d9c81c116d43b38ceb8b247bd77f9736574b9 (diff) | |
| download | netcosm-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.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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); |