summaryrefslogtreecommitdiff
path: root/py/obj.h
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2018-07-25 11:49:18 -0700
committerScott Shawcroft <scott@tannewt.org>2018-07-25 11:49:18 -0700
commit1ffb0a714f056eaffdebaa411c3fcadb79a2b6d1 (patch)
treeeac648d26df8052ce7ae55cca57d3785d77df4e5 /py/obj.h
parentf6d09d060552dd3a9033eb0f091a58b161ce30ee (diff)
parent08def6b51ecb9853ccbe21fc6feecbb18cc3e387 (diff)
Merge remote-tracking branch 'adafruit/3.x' into import_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 d086d3c14..8e95983f0 100644
--- a/py/obj.h
+++ b/py/obj.h
@@ -359,7 +359,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;