diff options
author | Damien George <damien.p.george@gmail.com> | 2017-02-16 16:09:51 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-02-16 16:51:16 +1100 |
commit | 229823942c79b1233c43dc155bae01c20a8cec57 (patch) | |
tree | c8d34335c09b21505c8d853868d68f02eb0bbcb5 /py/obj.h | |
parent | 891dc5c62ce9b266f0352fc96ed78f36ee9fc825 (diff) | |
download | micropython-229823942c79b1233c43dc155bae01c20a8cec57.tar.gz micropython-229823942c79b1233c43dc155bae01c20a8cec57.zip |
py/objtuple: Convert mp_uint_t to size_t where appropriate.
Diffstat (limited to 'py/obj.h')
-rw-r--r-- | py/obj.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -630,7 +630,7 @@ mp_obj_t mp_obj_new_fun_viper(mp_uint_t n_args, void *fun_data, mp_uint_t type_s mp_obj_t mp_obj_new_fun_asm(mp_uint_t n_args, void *fun_data, mp_uint_t type_sig); mp_obj_t mp_obj_new_gen_wrap(mp_obj_t fun); mp_obj_t mp_obj_new_closure(mp_obj_t fun, mp_uint_t n_closed, const mp_obj_t *closed); -mp_obj_t mp_obj_new_tuple(mp_uint_t n, const mp_obj_t *items); +mp_obj_t mp_obj_new_tuple(size_t n, const mp_obj_t *items); mp_obj_t mp_obj_new_list(mp_uint_t n, mp_obj_t *items); mp_obj_t mp_obj_new_dict(mp_uint_t n_args); mp_obj_t mp_obj_new_set(mp_uint_t n_args, mp_obj_t *items); |