Fix incorrect prototype of mp_builtin_open() after args refactor.
This commit is contained in:
parent
e2f3e1d24a
commit
50a2d6ff59
@ -112,7 +112,7 @@ static const mp_obj_type_t rawfile_type = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Factory function for I/O stream classes
|
// Factory function for I/O stream classes
|
||||||
mp_obj_t mp_builtin_open(uint n_args, uint n_kw, const mp_obj_t *args) {
|
mp_obj_t mp_builtin_open(uint n_args, const mp_obj_t *args) {
|
||||||
// TODO: analyze mode and buffering args and instantiate appropriate type
|
// TODO: analyze mode and buffering args and instantiate appropriate type
|
||||||
return fdfile_make_new((mp_obj_t)&rawfile_type, n_args, 0, args);
|
return fdfile_make_new((mp_obj_t)&rawfile_type, n_args, 0, args);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user