summaryrefslogtreecommitdiffstatshomepage
path: root/py/objtuple.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/objtuple.h')
-rw-r--r--py/objtuple.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/py/objtuple.h b/py/objtuple.h
index ebfc5c4066..760135f866 100644
--- a/py/objtuple.h
+++ b/py/objtuple.h
@@ -30,13 +30,13 @@
typedef struct _mp_obj_tuple_t {
mp_obj_base_t base;
- mp_uint_t len;
+ size_t len;
mp_obj_t items[];
} mp_obj_tuple_t;
typedef struct _mp_rom_obj_tuple_t {
mp_obj_base_t base;
- mp_uint_t len;
+ size_t len;
mp_rom_obj_t items[];
} mp_rom_obj_tuple_t;
@@ -59,6 +59,6 @@ extern const mp_obj_type_t mp_type_attrtuple;
void mp_obj_attrtuple_print_helper(const mp_print_t *print, const qstr *fields, mp_obj_tuple_t *o);
#endif
-mp_obj_t mp_obj_new_attrtuple(const qstr *fields, mp_uint_t n, const mp_obj_t *items);
+mp_obj_t mp_obj_new_attrtuple(const qstr *fields, size_t n, const mp_obj_t *items);
#endif // __MICROPY_INCLUDED_PY_OBJTUPLE_H__