Skip to content

Commit

Permalink
docs/develop/porting: Fix argument type of mp_lexer_new_from_file().
Browse files Browse the repository at this point in the history
Follow up to 5015779.

Signed-off-by: Damien George <[email protected]>
  • Loading branch information
dpgeorge committed Jan 16, 2024
1 parent c41b421 commit f9df08d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/develop/porting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit f9df08d

Please sign in to comment.