diff options
| author | Tyge Lovset <[email protected]> | 2023-04-26 13:13:47 +0200 |
|---|---|---|
| committer | Tyge Lovset <[email protected]> | 2023-04-26 13:13:47 +0200 |
| commit | 9d5766ae528595050dcfe0db4c1c3c0c058b186c (patch) | |
| tree | 07b330e220fce0590aa46caa95be72884ce9008b /include/stc | |
| parent | bf118447590bd10d8c6b205a19b25038d84274c2 (diff) | |
| download | STC-modified-9d5766ae528595050dcfe0db4c1c3c0c058b186c.tar.gz STC-modified-9d5766ae528595050dcfe0db4c1c3c0c058b186c.zip | |
Internal.
Diffstat (limited to 'include/stc')
| -rw-r--r-- | include/stc/cmap.h | 1 | ||||
| -rw-r--r-- | include/stc/forward.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/stc/cmap.h b/include/stc/cmap.h index 533e8a16..65e4a544 100644 --- a/include/stc/cmap.h +++ b/include/stc/cmap.h @@ -53,6 +53,7 @@ int main(void) { #include "forward.h" #include <stdlib.h> #include <string.h> +struct chash_slot { uint8_t hashx; }; typedef struct { intptr_t idx; uint8_t hashx, found; } chash_bucket; #endif // CMAP_H_INCLUDED diff --git a/include/stc/forward.h b/include/stc/forward.h index ae49dc31..b534e48b 100644 --- a/include/stc/forward.h +++ b/include/stc/forward.h @@ -101,7 +101,7 @@ typedef union { SELF##_node *last; \ } SELF -typedef struct { uint8_t hashx; } chash_slot; +typedef struct chash_slot chash_slot; #define _c_chash_types(SELF, KEY, VAL, MAP_ONLY, SET_ONLY) \ typedef KEY SELF##_key; \ |
