summaryrefslogtreecommitdiff
path: root/src/hashmap.c
diff options
context:
space:
mode:
author0scar <qgt268@alumni.ku.dk>2020-09-29 06:51:02 +0000
committer0scar <qgt268@alumni.ku.dk>2023-07-28 09:48:17 +0000
commit6c16f339224a4736f4ed57d15bb3e5f968a635ab (patch)
treeab13afea4b6f9acfb4a139a3125f265c90bc9d80 /src/hashmap.c
Initial independent commit
Diffstat (limited to 'src/hashmap.c')
-rw-r--r--src/hashmap.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/hashmap.c b/src/hashmap.c
new file mode 100644
index 0000000..edcf9cb
--- /dev/null
+++ b/src/hashmap.c
@@ -0,0 +1,5 @@
+#include <engine/hashmap.h>
+
+i32 lolhash(const usize s, i32 v) {
+ return v % s;
+}