43 extern struct _mp_dummy_t mp_sys_stdin_obj;
44 extern struct _mp_dummy_t mp_sys_stdout_obj;
45 extern struct _mp_dummy_t mp_sys_stderr_obj;
47 #if MICROPY_PY_IO && MICROPY_PY_SYS_STDFILES 55 #define I(n) MP_OBJ_NEW_SMALL_INT(n) 66 #if MICROPY_PY_ATTRTUPLE 67 STATIC const qstr impl_fields[] = { MP_QSTR_name, MP_QSTR_version };
69 mp_sys_implementation_obj,
73 MP_ROM_PTR(&mp_sys_implementation_version_info_obj)
81 MP_ROM_PTR(&mp_sys_implementation_version_info_obj),
88 #ifdef MICROPY_PY_SYS_PLATFORM 106 #if MICROPY_PY_IO && MICROPY_PY_SYS_STDFILES 107 void *stream_obj = &mp_sys_stdout_obj;
123 #if MICROPY_PY_SYS_EXC_INFO 136 t->
items[1] = cur_exc;
156 #ifdef MICROPY_PY_SYS_PLATFORM 159 #if MP_ENDIANNESS_LITTLE 165 #if MICROPY_PY_SYS_MAXSIZE 166 #if MICROPY_LONGINT_IMPL == MICROPY_LONGINT_IMPL_NONE 178 #if MICROPY_PY_SYS_EXIT 182 #if MICROPY_PY_SYS_STDFILES 188 #if MICROPY_PY_SYS_MODULES 191 #if MICROPY_PY_SYS_EXC_INFO 194 #if MICROPY_PY_SYS_GETSIZEOF const mp_print_t mp_plat_print
mp_obj_t mp_unary_op(mp_unary_op_t op, mp_obj_t arg)
mp_obj_t mp_obj_new_tuple(size_t n, const mp_obj_t *items)
const mp_obj_type_t mp_type_SystemExit
#define MP_DEFINE_CONST_DICT(dict_name, table_name)
#define MICROPY_VERSION_MAJOR
mp_obj_t mp_obj_new_exception(const mp_obj_type_t *exc_type)
mp_obj_type_t * mp_obj_get_type(mp_const_obj_t o_in)
#define MP_OBJ_FROM_PTR(p)
#define MICROPY_VERSION_MINOR
#define MP_DEFINE_STR_OBJ(obj_name, str)
#define MP_DEFINE_CONST_FUN_OBJ_1(obj_name, fun_name)
#define MP_DEFINE_ATTRTUPLE(tuple_obj_name, fields, nitems,...)
mp_obj_t mp_obj_new_exception_arg1(const mp_obj_type_t *exc_type, mp_obj_t arg)
const mp_obj_module_t mp_module_sys
#define MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(obj_name, n_args_min, n_args_max, fun_name)
void mp_stream_write_adaptor(void *self, const char *buf, size_t len)
#define MP_DEFINE_CONST_FUN_OBJ_0(obj_name, fun_name)
#define MICROPY_VERSION_MICRO
const mp_obj_type_t mp_type_tuple
const mp_obj_int_t mp_maxsize_obj
const mp_obj_type_t mp_type_module
void mp_obj_print_exception(const mp_print_t *print, mp_obj_t exc)