py: Change all uint to mp_uint_t in obj.h.
Part of code cleanup, working towards resolving issue #50.
This commit is contained in:
@@ -296,7 +296,7 @@ mp_obj_t mp_obj_new_exception_arg1(const mp_obj_type_t *exc_type, mp_obj_t arg)
|
||||
return mp_obj_new_exception_args(exc_type, 1, &arg);
|
||||
}
|
||||
|
||||
mp_obj_t mp_obj_new_exception_args(const mp_obj_type_t *exc_type, uint n_args, const mp_obj_t *args) {
|
||||
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) {
|
||||
assert(exc_type->make_new == mp_obj_exception_make_new);
|
||||
return exc_type->make_new((mp_obj_t)exc_type, n_args, 0, args);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user