diff options
author | Damien George <damien.p.george@gmail.com> | 2016-01-03 14:21:40 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-01-11 00:49:27 +0000 |
commit | 4b72b3a133ea87a1ef8b964508dc25c551ccf093 (patch) | |
tree | e00ae8b891475f1a5d76bd2401d20a4dfb26e1e1 /qemu-arm/test_main.c | |
parent | a0c97814dfcb0debbde8be99539e3d5ca2334e54 (diff) | |
download | micropython-4b72b3a133ea87a1ef8b964508dc25c551ccf093.tar.gz micropython-4b72b3a133ea87a1ef8b964508dc25c551ccf093.zip |
py: Change type signature of builtin funs that take variable or kw args.
With this patch the n_args parameter is changed type from mp_uint_t to
size_t.
Diffstat (limited to 'qemu-arm/test_main.c')
-rw-r--r-- | qemu-arm/test_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-arm/test_main.c b/qemu-arm/test_main.c index f678946d49..a98e275cee 100644 --- a/qemu-arm/test_main.c +++ b/qemu-arm/test_main.c @@ -82,7 +82,7 @@ mp_import_stat_t mp_import_stat(const char *path) { return MP_IMPORT_STAT_NO_EXIST; } -mp_obj_t mp_builtin_open(mp_uint_t n_args, const mp_obj_t *args, mp_map_t *kwargs) { +mp_obj_t mp_builtin_open(size_t n_args, const mp_obj_t *args, mp_map_t *kwargs) { return mp_const_none; } MP_DEFINE_CONST_FUN_OBJ_KW(mp_builtin_open_obj, 1, mp_builtin_open); |