We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58cb634 commit 3618de1Copy full SHA for 3618de1
Include/internal/pycore_dict.h
@@ -205,6 +205,8 @@ static inline PyDictUnicodeEntry* DK_UNICODE_ENTRIES(PyDictKeysObject *dk) {
205
#define DICT_WATCHER_MASK ((1 << DICT_MAX_WATCHERS) - 1)
206
#define DICT_WATCHER_AND_MODIFICATION_MASK ((1 << (DICT_MAX_WATCHERS + DICT_WATCHED_MUTATION_BITS)) - 1)
207
208
+#define DICT_VALUES_USED_SIZE(values) ((uint8_t *)values)[-2]
209
+
210
#ifdef Py_GIL_DISABLED
211
#define DICT_NEXT_VERSION(INTERP) \
212
(_Py_atomic_add_uint64(&(INTERP)->dict_state.global_version, DICT_VERSION_INCREMENT) + DICT_VERSION_INCREMENT)
0 commit comments