diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-03-04 12:49:31 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-03-04 12:49:31 +0100 |
| commit | 2a9133a87109f9430e4827a858ff86596c5f98d5 (patch) | |
| tree | dd345d9bafab86de2b2a9f7e07f83c5b7fc6df43 /src/ht/ft_hthash.c | |
| parent | 915f1b888cf9c05e4b61321f84ac045eacd8ddd1 (diff) | |
| download | libft-2a9133a87109f9430e4827a858ff86596c5f98d5.tar.gz libft-2a9133a87109f9430e4827a858ff86596c5f98d5.tar.bz2 libft-2a9133a87109f9430e4827a858ff86596c5f98d5.zip | |
Added hash table documentation
Diffstat (limited to 'src/ht/ft_hthash.c')
| -rw-r--r-- | src/ht/ft_hthash.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ht/ft_hthash.c b/src/ht/ft_hthash.c index e7e696c..ba922e7 100644 --- a/src/ht/ft_hthash.c +++ b/src/ht/ft_hthash.c @@ -12,6 +12,11 @@ #include "libft_ht.h" +/* +** Hash a string according to the size of the hash table. +*/ + +// maybe use a less efficient but understandable function t_ftht_digest ft_hthash(t_ftht *ht, char *key) { t_ftht_digest digest; |
