34 #if MICROPY_PY_BUILTINS_COMPILE 36 typedef struct _mp_obj_code_t {
50 mp_globals_set(globals);
51 mp_locals_set(locals);
65 mp_globals_set(old_globals);
66 mp_locals_set(old_locals);
70 mp_globals_set(old_globals);
71 mp_locals_set(old_locals);
100 mp_obj_code_t *code =
m_new_obj(mp_obj_code_t);
101 code->base.type = &mp_type_code;
107 #endif // MICROPY_PY_BUILTINS_COMPILE 109 #if MICROPY_PY_BUILTINS_EVAL_EXEC 115 for (
size_t i = 1; i < 3 && i < n_args; ++i) {
127 #if MICROPY_PY_BUILTINS_COMPILE 159 #endif // MICROPY_PY_BUILTINS_EVAL_EXEC 161 #if MICROPY_PY_BUILTINS_EXECFILE qstr mp_obj_str_get_qstr(mp_obj_t self_in)
const mp_obj_type_t mp_type_fun_bc
#define MP_OBJ_IS_TYPE(o, t)
mp_lexer_t * mp_lexer_new_from_str_len(qstr src_name, const char *str, size_t len, size_t free_len)
#define MP_OBJ_FROM_PTR(p)
mp_obj_t mp_call_function_0(mp_obj_t fun)
mp_obj_t mp_parse_compile_execute(mp_lexer_t *lex, mp_parse_input_kind_t parse_input_kind, mp_obj_dict_t *globals, mp_obj_dict_t *locals)
mp_lexer_t * mp_lexer_new_from_file(const char *filename)
const char * mp_obj_str_get_data(mp_obj_t self_in, size_t *len)
#define MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(obj_name, n_args_min, n_args_max, fun_name)
#define MICROPY_PY_BUILTINS_EXECFILE
const mp_obj_type_t mp_type_type
NORETURN void mp_raise_ValueError(const char *msg)
const mp_obj_type_t mp_type_dict
NORETURN void mp_raise_TypeError(const char *msg)