diff options
| author | nasr <nsrddyn@gmail.com> | 2026-04-16 17:10:02 +0200 |
|---|---|---|
| committer | nasr <nsrddyn@gmail.com> | 2026-04-16 17:10:02 +0200 |
| commit | 8ea6a3c8621287d11296b8300029f32a27743d9a (patch) | |
| tree | cd12aa5fcd3e058fa74b45705c7b82524658d444 /source/base/bash_hash.h | |
| parent | f430bfe8f71430032bec689bf0bbdc94ac409c22 (diff) | |
feature(checkpoint): checkpoint cleaning up base library
Diffstat (limited to 'source/base/bash_hash.h')
| -rw-r--r-- | source/base/bash_hash.h | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/source/base/bash_hash.h b/source/base/bash_hash.h index 2c286a2..758ef72 100644 --- a/source/base/bash_hash.h +++ b/source/base/bash_hash.h | |||
| @@ -1,15 +1,24 @@ | |||
| 1 | ##ifndef HEADER_H | 1 | #ifndef BASH_HASH_H |
| 2 | #define HEADER_H | 2 | #define BASH_HASH_H |
| 3 | 3 | ||
| 4 | typedef struct hash_map hash_map; | 4 | typedef struct hash_map hash_map; |
| 5 | typedef struct hash hash; | 5 | typedef struct hash hash; |
| 6 | 6 | ||
| 7 | 7 | struct map | |
| 8 | struct hash_map | ||
| 9 | { | 8 | { |
| 9 | string8 | ||
| 10 | u64 capacity | ||
| 11 | }; | ||
| 10 | 12 | ||
| 11 | 13 | ||
| 14 | struct index | ||
| 15 | { | ||
| 16 | string8 key; | ||
| 17 | string8 value; | ||
| 12 | }; | 18 | }; |
| 13 | 19 | ||
| 14 | 20 | ||
| 15 | #endif /* HEADER_H */ | 21 | |
| 22 | internal void | ||
| 23 | |||
| 24 | #endif /* BASH_HASH_H */ | ||
