hashtable: keep track of entry count

This commit is contained in:
Matheus
2023-05-01 01:01:10 -03:00
parent ade8aa4e2b
commit 13982e15b7
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -15,6 +15,7 @@ typedef struct hashentry_t {
} hashentry_t;
typedef struct {
size_t entrycount;
size_t capacity;
hashentry_t **entries;
} hashtable_t;