Update main.c
This commit is contained in:
parent
24a93b0355
commit
935050905c
@ -241,12 +241,15 @@ mp_lexer_t *mp_lexer_new_from_file(const char *filename) {
|
||||
mp_import_stat_t mp_import_stat(const char *path) {
|
||||
return MP_IMPORT_STAT_NO_EXIST;
|
||||
}
|
||||
|
||||
#ifndef WASM_FILE_API
|
||||
#if !MICROPY_PY_IO_FILEIO
|
||||
mp_obj_t mp_builtin_open(size_t n_args, const mp_obj_t *args, mp_map_t *kwargs) {
|
||||
return mp_const_none;
|
||||
}
|
||||
MP_DEFINE_CONST_FUN_OBJ_KW(mp_builtin_open_obj, 1, mp_builtin_open);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
void nlr_jump_fail(void *val) {
|
||||
while (1);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user