all: Consistently update signatures of .make_new and .call methods.

Otherwise, they serve reoccurring source of copy-paste mistakes and
breaking nanbox build.
This commit is contained in:
Paul Sokolovsky
2017-01-04 16:10:42 +03:00
parent c3f70c603e
commit eac22e29a5
41 changed files with 51 additions and 52 deletions

View File

@@ -78,7 +78,7 @@ void mp_hal_rtc_init(void) {
pyb_rtc_alarm0_expiry = 0;
}
STATIC mp_obj_t pyb_rtc_make_new(const mp_obj_type_t *type, mp_uint_t n_args, mp_uint_t n_kw, const mp_obj_t *args) {
STATIC mp_obj_t pyb_rtc_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *args) {
// check arguments
mp_arg_check_num(n_args, n_kw, 0, 0, false);