32 #if MICROPY_PY_BUILTINS_REVERSED 34 typedef struct _mp_obj_reversed_t {
50 mp_obj_reversed_t *o =
m_new_obj(mp_obj_reversed_t);
63 if (self->cur_index == 0) {
74 .
name = MP_QSTR_reversed,
75 .make_new = reversed_make_new,
77 .iternext = reversed_iternext,
80 #endif // MICROPY_PY_BUILTINS_REVERSED const mp_obj_type_t mp_type_reversed
void mp_load_method_maybe(mp_obj_t obj, qstr attr, mp_obj_t *dest)
#define MP_OBJ_IS_TYPE(o, t)
#define MP_OBJ_FROM_PTR(p)
void mp_arg_check_num(size_t n_args, size_t n_kw, size_t n_args_min, size_t n_args_max, bool takes_kw)
mp_int_t mp_obj_get_int(mp_const_obj_t arg)
#define MP_OBJ_NEW_SMALL_INT(small_int)
#define mp_check_self(pred)
const mp_obj_type_t mp_type_type
mp_obj_t mp_call_method_n_kw(size_t n_args, size_t n_kw, const mp_obj_t *args)
mp_obj_t mp_identity_getiter(mp_obj_t self, mp_obj_iter_buf_t *iter_buf)
#define MP_OBJ_STOP_ITERATION
mp_obj_t mp_obj_len(mp_obj_t o_in)
mp_obj_t mp_obj_subscr(mp_obj_t base, mp_obj_t index, mp_obj_t value)