summaryrefslogtreecommitdiffstatshomepage
path: root/py/objarray.c
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2021-03-26 13:48:34 +1100
committerDamien George <damien@micropython.org>2021-03-26 13:48:34 +1100
commit9fef1c0bde2f9642d383bd56aa112447384a84ba (patch)
tree4f213859da75a1062b56a9d9d6f6d759030c64e9 /py/objarray.c
parent4fc2866f45692b05829d71b636724e690b786307 (diff)
downloadmicropython-9fef1c0bde2f9642d383bd56aa112447384a84ba.tar.gz
micropython-9fef1c0bde2f9642d383bd56aa112447384a84ba.zip
py: Rename remaining object types to be of the form mp_type_xxx.
For consistency with all other object types in the core. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/objarray.c')
-rw-r--r--py/objarray.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/objarray.c b/py/objarray.c
index 4947f75905..c27366d720 100644
--- a/py/objarray.c
+++ b/py/objarray.c
@@ -634,7 +634,7 @@ STATIC mp_obj_t array_it_iternext(mp_obj_t self_in) {
}
}
-STATIC const mp_obj_type_t array_it_type = {
+STATIC const mp_obj_type_t mp_type_array_it = {
{ &mp_type_type },
.name = MP_QSTR_iterator,
.getiter = mp_identity_getiter,
@@ -645,7 +645,7 @@ STATIC mp_obj_t array_iterator_new(mp_obj_t array_in, mp_obj_iter_buf_t *iter_bu
assert(sizeof(mp_obj_array_t) <= sizeof(mp_obj_iter_buf_t));
mp_obj_array_t *array = MP_OBJ_TO_PTR(array_in);
mp_obj_array_it_t *o = (mp_obj_array_it_t *)iter_buf;
- o->base.type = &array_it_type;
+ o->base.type = &mp_type_array_it;
o->array = array;
o->offset = 0;
o->cur = 0;