aboutsummaryrefslogtreecommitdiff
path: root/src/ht/ft_hthash.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ht/ft_hthash.c')
-rw-r--r--src/ht/ft_hthash.c5
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;