diff options
Diffstat (limited to 'source/base/bash_hash.h')
| -rw-r--r-- | source/base/bash_hash.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/source/base/bash_hash.h b/source/base/bash_hash.h new file mode 100644 index 0000000..758ef72 --- /dev/null +++ b/source/base/bash_hash.h | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | #ifndef BASH_HASH_H | ||
| 2 | #define BASH_HASH_H | ||
| 3 | |||
| 4 | typedef struct hash_map hash_map; | ||
| 5 | typedef struct hash hash; | ||
| 6 | |||
| 7 | struct map | ||
| 8 | { | ||
| 9 | string8 | ||
| 10 | u64 capacity | ||
| 11 | }; | ||
| 12 | |||
| 13 | |||
| 14 | struct index | ||
| 15 | { | ||
| 16 | string8 key; | ||
| 17 | string8 value; | ||
| 18 | }; | ||
| 19 | |||
| 20 | |||
| 21 | |||
| 22 | internal void | ||
| 23 | |||
| 24 | #endif /* BASH_HASH_H */ | ||
