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
commit7fbafae25ca81e9acb745fd75ef7f1be55ad7d92 (patch)
tree639c6d618b44f0ff2a4fcac9f557b906f37cbec3 /src/hash/djb2.c
parentb8c10dac99316974d142c530356ad5cd8fdf9afa (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){