aboutsummaryrefslogtreecommitdiff
path: root/src/hash/djb2.c
diff options
context:
space:
mode:
authorame <[email protected]>2024-04-06 16:50:38 -0500
committerame <[email protected]>2024-04-06 16:50:38 -0500
commitd3f3a8a1f3e786965ae473c046db2c34d7d3adb6 (patch)
tree639c6d618b44f0ff2a4fcac9f557b906f37cbec3 /src/hash/djb2.c
parent6dbb6dc2104237299cca414cd3a86256122e4abf (diff)
changed the add metamethod
Diffstat (limited to 'src/hash/djb2.c')
-rw-r--r--src/hash/djb2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hash/djb2.c b/src/hash/djb2.c
index 99f2a75..ed01345 100644
--- a/src/hash/djb2.c
+++ b/src/hash/djb2.c
@@ -23,6 +23,8 @@ uint32_t djb2(uint8_t * in, size_t len){
return djb2_final(&a);
}
+common_hash_clone(djb2);
+
common_hash_init_update(djb2);
int l_djb2_final(lua_State* L){