diff options
Diffstat (limited to 'Objects/dict-common.h')
-rw-r--r-- | Objects/dict-common.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Objects/dict-common.h b/Objects/dict-common.h index d31cafe..865c020 100644 --- a/Objects/dict-common.h +++ b/Objects/dict-common.h @@ -62,7 +62,12 @@ struct _dictkeysobject { - 8 bytes otherwise (Py_ssize_t*) Dynamically sized, 8 is minimum. */ - char dk_indices[8]; + union { + int8_t as_1[8]; + int16_t as_2[4]; + int32_t as_4[2]; + int64_t as_8[1]; + } dk_indices; /* "PyDictKeyEntry dk_entries[dk_usable];" array follows: see the DK_ENTRIES() macro */ |