summaryrefslogtreecommitdiffhomepage
path: root/include/stc/forward.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-04-20 21:33:49 +0200
committerTyge Løvset <[email protected]>2023-04-20 21:33:49 +0200
commit4375640bdf856866fa2a1e7010103736077b9738 (patch)
treee43c7e9c8994f9241060ec222347f9db2d51449c /include/stc/forward.h
parent119de13b8506e5f13d7b4d5ba3edbd394b6f3218 (diff)
downloadSTC-modified-4375640bdf856866fa2a1e7010103736077b9738.tar.gz
STC-modified-4375640bdf856866fa2a1e7010103736077b9738.zip
cmap Updates to dev43 standard.
Diffstat (limited to 'include/stc/forward.h')
-rw-r--r--include/stc/forward.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/stc/forward.h b/include/stc/forward.h
index 78ec23a2..ae49dc31 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/*, psl*/; } chash_slot;
+typedef struct { uint8_t hashx; } chash_slot;
#define _c_chash_types(SELF, KEY, VAL, MAP_ONLY, SET_ONLY) \
typedef KEY SELF##_key; \
@@ -124,8 +124,7 @@ typedef struct { uint8_t hashx/*, psl*/; } chash_slot;
typedef struct SELF { \
SELF##_value* data; \
chash_slot* slot; \
- intptr_t size; \
- struct { uint64_t count: 48, maxpsl: 16; } bucket; \
+ intptr_t size, bucket_count; \
} SELF
#define _c_aatree_types(SELF, KEY, VAL, MAP_ONLY, SET_ONLY) \