diff options
author | Uros Majstorovic <majstor@majstor.org> | 2017-08-03 05:40:23 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2017-08-03 05:40:23 +0200 |
commit | 72520c7339f04849633114d9dca644e32f85e9fb (patch) | |
tree | 2c931544be4d63c3eabf02b4ca68a1eb444c5cc0 /code/core/htable/hashtable.h | |
parent | 43c30eec5196fa8ace45cc703fffe38c69563220 (diff) |
implemented mtype return mask; fixed nasty ctype bug in conn create
Diffstat (limited to 'code/core/htable/hashtable.h')
-rwxr-xr-x | code/core/htable/hashtable.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/code/core/htable/hashtable.h b/code/core/htable/hashtable.h index d99f1c4..046f740 100755 --- a/code/core/htable/hashtable.h +++ b/code/core/htable/hashtable.h @@ -67,18 +67,17 @@ struct hashtable; * create_hashtable * @name create_hashtable - * @name h hashtable to create * @param minsize minimum initial size of hashtable * @param hash_fn function for hashing keys * @param eq_fn function for determining key equality * @param malloc_fn function malloc * @param realloc_fn function realloc * @param free_fn function free - * @return non-zero on success + * @return hashtable created */ -int -create_hashtable(struct hashtable *h, unsigned int minsize, +struct hashtable * +create_hashtable(unsigned int minsize, unsigned int (*hash_fn) (void*), int (*eq_fn) (void*,void*), void *(*malloc_fn) (size_t), |