aboutsummaryrefslogtreecommitdiff
path: root/src/hash/djb2.c
diff options
context:
space:
mode:
authoramelia squires <[email protected]>2025-04-21 20:43:51 -0500
committeramelia squires <[email protected]>2025-04-21 20:43:51 -0500
commitaf975d63f67e6cc2d17f1804acb66328905f8701 (patch)
treeab23744e784044d29cc73cd1da4070011e7e858c /src/hash/djb2.c
parentb2ee662b4621282b137a2a2cf1be13bd60073c5a (diff)
better version support, fixes, and memory saftey
Diffstat (limited to 'src/hash/djb2.c')
-rw-r--r--src/hash/djb2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hash/djb2.c b/src/hash/djb2.c
index d17c163..e75a0ed 100644
--- a/src/hash/djb2.c
+++ b/src/hash/djb2.c
@@ -3,6 +3,10 @@
#include <stdint.h>
#include <inttypes.h>
+int djb2_free_l(lua_State* L){
+ return 0;
+}
+
struct djb2_hash djb2_init(){
return (struct djb2_hash){.hash = 5381};
}