Mercurial
diff dowa/dowa.h @ 59:e06bc03d9618
[Color Game] Making game with a friend.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Sat, 20 Dec 2025 10:53:13 -0800 |
| parents | 636eab07809d |
| children | fff1b048dda6 |
line wrap: on
line diff
--- a/dowa/dowa.h Sat Dec 20 09:33:15 2025 -0800 +++ b/dowa/dowa.h Sat Dec 20 10:53:13 2025 -0800 @@ -6,6 +6,7 @@ #include <stdlib.h> // only for malloc, free, stuff #include <assert.h> // mostly for TODO #include <dirent.h> // some functions loop through files +#include <math.h> // I am not re-writing stuff I guess... #include <sys/stat.h> #include <limits.h> @@ -70,7 +71,7 @@ DOWA_HASH_MAP_TYPE_INT // Integer value } Dowa_HashMap_ValueType; -typedef struct { +typedef struct Dowa_HashEntry { char *key; void *buffer; size_t capacity;