summaryrefslogtreecommitdiff
path: root/py/obj.h
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2018-07-28 14:13:54 -0400
committerDan Halbert <halbert@halwitz.org>2018-07-28 14:13:54 -0400
commit2e260a0eab80dfd47fe319edb3173d112960a862 (patch)
tree75a5c1b0da652c81832eaf30ce845463b51ed9b5 /py/obj.h
parentf48b70050e3e4122eaae3eee47d35fc30bda2a4c (diff)
parentfbfc9c39957b389fd359ed8107d1e244e9749930 (diff)
Merge remote-tracking branch 'adafruit/master' into micropython-25ae98f-merge
Diffstat (limited to 'py/obj.h')
-rw-r--r--py/obj.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/py/obj.h b/py/obj.h
index 040c8630d..6d314e461 100644
--- a/py/obj.h
+++ b/py/obj.h
@@ -350,7 +350,9 @@ typedef struct _mp_map_t {
size_t all_keys_are_qstrs : 1;
size_t is_fixed : 1; // a fixed array that can't be modified; must also be ordered
size_t is_ordered : 1; // an ordered array
- size_t used : (8 * sizeof(size_t) - 3);
+ size_t scanning : 1; // true if we're in the middle of scanning linked dictionaries,
+ // e.g., make_dict_long_lived()
+ size_t used : (8 * sizeof(size_t) - 4);
size_t alloc;
mp_map_elem_t *table;
} mp_map_t;