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
Damien George 2024-01-16 11:12:12 +11:00
rodzic c41b421d48
commit f9df08d8ee
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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);
}