mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[python] Fix type of n_args parameter of mp_builtin_open()
The n_args parameter of mp_builtin_open() has type size_t in "python/src/py/builtin.h", and type uint in "python/port/port.c". Change it to size_t.
This commit is contained in:
committed by
EmilieNumworks
parent
7e2cc375d2
commit
9a99af88aa
@@ -47,7 +47,7 @@ mp_import_stat_t mp_import_stat(const char *path) {
|
||||
return MP_IMPORT_STAT_NO_EXIST;
|
||||
}
|
||||
|
||||
mp_obj_t mp_builtin_open(uint 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);
|
||||
|
||||
Reference in New Issue
Block a user