kopia lustrzana https://github.com/micropython/micropython
docs/develop/porting: Fix argument type of mp_lexer_new_from_file().
Follow up to 5015779a6f
.
Signed-off-by: Damien George <damien@micropython.org>
pull/13443/head
rodzic
c41b421d48
commit
f9df08d8ee
|
@ -83,7 +83,7 @@ The basic MicroPython firmware is implemented in the main port file, e.g ``main.
|
|||
}
|
||||
|
||||
// There is no filesystem so opening a file raises an exception.
|
||||
mp_lexer_t *mp_lexer_new_from_file(const char *filename) {
|
||||
mp_lexer_t *mp_lexer_new_from_file(qstr filename) {
|
||||
mp_raise_OSError(MP_ENOENT);
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue