docs/develop/porting: Fix argument type of mp_lexer_new_from_file().
Follow up to 5015779a6f4a180233a78ec8b5fd1ea095057a91. Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user