circuitpython/nrf52/mp_functions.c

22 lines
519 B
C
Raw Normal View History

2016-06-22 16:34:11 -04:00
// NOTE: the objective is to move these functions to their respective final implementations
#include "py/obj.h"
#include "py/lexer.h"
void nlr_jump_fail(void *val) {
}
mp_import_stat_t mp_import_stat(const char *path) {
return MP_IMPORT_STAT_NO_EXIST;
}
mp_lexer_t *mp_lexer_new_from_file(const char *filename) {
return NULL;
}
mp_obj_t mp_builtin_open(uint 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);