8000 docs/develop/porting: Fix argument type of mp_lexer_new_from_file(). · pimoroni/micropython@f9df08d · GitHub
[go: up one dir, main page]

Skip to content

Commit f9df08d

Browse files
committed
docs/develop/porting: Fix argument type of mp_lexer_new_from_file().
Follow up to 5015779. Signed-off-by: Damien George <damien@micropython.org>
1 parent c41b421 commit f9df08d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/develop/porting.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ The basic MicroPython firmware is implemented in the main port file, e.g ``main.
8383
}
8484
8585
// There is no filesystem so opening a file raises an exception.
86-
mp_lexer_t *mp_lexer_new_from_file(const char *filename) {
86+
mp_lexer_t *mp_lexer_new_from_file(qstr filename) {
8787
mp_raise_OSError(MP_ENOENT);
8888
}
8989

0 commit comments

Comments
 (0)
0