Fix incorrect prototype of mp_builtin_open() after args refactor.

This commit is contained in:
Paul Sokolovsky 2014-01-19 07:49:29 +02:00
parent e2f3e1d24a
commit 50a2d6ff59

View File

@ -112,7 +112,7 @@ static const mp_obj_type_t rawfile_type = {
};
// 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
return fdfile_make_new((mp_obj_t)&rawfile_type, n_args, 0, args);
}