diff options
author | Damien George <damien.p.george@gmail.com> | 2017-08-30 10:59:58 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-08-30 10:59:58 +1000 |
commit | 71c9cfb028d423bf4760d66b1afe8951335fa5da (patch) | |
tree | 83ce8ec7270f759f73911f5b45bede989872a9b5 /unix/modjni.c | |
parent | 784909ce1655bf8b2a97ac81a3842e844992082f (diff) |
all: Convert remaining "mp_uint_t n_args" to "size_t n_args".
This is to have consistency across the whole repository.
Diffstat (limited to 'unix/modjni.c')
-rw-r--r-- | unix/modjni.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/modjni.c b/unix/modjni.c index 85fc89144..b7ac49dc8 100644 --- a/unix/modjni.c +++ b/unix/modjni.c @@ -64,7 +64,7 @@ STATIC const mp_obj_type_t jmethod_type; STATIC mp_obj_t new_jobject(jobject jo); STATIC mp_obj_t new_jclass(jclass jc); -STATIC mp_obj_t call_method(jobject obj, const char *name, jarray methods, bool is_constr, mp_uint_t n_args, const mp_obj_t *args); +STATIC mp_obj_t call_method(jobject obj, const char *name, jarray methods, bool is_constr, size_t n_args, const mp_obj_t *args); STATIC bool py2jvalue(const char **jtypesig, mp_obj_t arg, jvalue *out); typedef struct _mp_obj_jclass_t { @@ -463,7 +463,7 @@ STATIC mp_obj_t jvalue2py(const char *jtypesig, jobject arg) { } #endif -STATIC mp_obj_t call_method(jobject obj, const char *name, jarray methods, bool is_constr, mp_uint_t n_args, const mp_obj_t *args) { +STATIC mp_obj_t call_method(jobject obj, const char *name, jarray methods, bool is_constr, size_t n_args, const mp_obj_t *args) { jvalue jargs[n_args]; // printf("methods=%p\n", methods); jsize num_methods = JJ(GetArrayLength, methods); |