diff options
| author | Damien George <damien.p.george@gmail.com> | 2017-02-16 16:38:14 +1100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2017-02-16 16:51:17 +1100 |
| commit | fa5a591757569136a444715cce2248b63ad73512 (patch) | |
| tree | adef14a4a9f9a5d61c23d32c2f63d40f6f67fe99 /py/obj.h | |
| parent | efa629028ad453206c04104735e33a79ae60c8a2 (diff) | |
py/objexcept: 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
@@ -621,7 +621,7 @@ mp_obj_t mp_obj_new_complex(mp_float_t real, mp_float_t imag); #endif mp_obj_t mp_obj_new_exception(const mp_obj_type_t *exc_type); mp_obj_t mp_obj_new_exception_arg1(const mp_obj_type_t *exc_type, mp_obj_t arg); -mp_obj_t mp_obj_new_exception_args(const mp_obj_type_t *exc_type, mp_uint_t n_args, const mp_obj_t *args); +mp_obj_t mp_obj_new_exception_args(const mp_obj_type_t *exc_type, size_t n_args, const mp_obj_t *args); mp_obj_t mp_obj_new_exception_msg(const mp_obj_type_t *exc_type, const char *msg); mp_obj_t mp_obj_new_exception_msg_varg(const mp_obj_type_t *exc_type, const char *fmt, ...); // counts args by number of % symbols in fmt, excluding %%; can only handle void* sizes (ie no float/double!) mp_obj_t mp_obj_new_fun_bc(mp_obj_t def_args, mp_obj_t def_kw_args, const byte *code, const mp_uint_t *const_table); |
