diff options
Diffstat (limited to 'src/hashmap.h')
-rw-r--r-- | src/hashmap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hashmap.h b/src/hashmap.h index a37d3d6..93297af 100644 --- a/src/hashmap.h +++ b/src/hashmap.h @@ -1,6 +1,7 @@ +#define HASHMAP_CAP 26 struct hashmap { - struct node *buckets[26]; + struct node *buckets[HASHMAP_CAP]; }; void hashmap_insert(struct hashmap *hm, char *key, void *value); |