38 #if MICROPY_ERROR_REPORTING == MICROPY_ERROR_REPORTING_DETAILED 52 size_t n_total = n_args + 2 * n_kw;
67 if (free_args2 !=
NULL) {
78 #if MICROPY_PY_FUNCTION_ATTRS 84 if (
attr == MP_QSTR___name__) {
93 .
name = MP_QSTR_bound_method,
94 #if MICROPY_ERROR_REPORTING == MICROPY_ERROR_REPORTING_DETAILED 98 #if MICROPY_PY_FUNCTION_ATTRS 99 .attr = bound_meth_attr,
STATIC const uint8_t attr[]
#define m_del(type, ptr, num)
int mp_print_str(const mp_print_t *print, const char *str)
STATIC void bound_meth_print(const mp_print_t *print, mp_obj_t o_in, mp_print_kind_t kind)
#define MP_OBJ_FROM_PTR(p)
#define MP_OBJ_NEW_QSTR(qst)
struct _mp_obj_bound_meth_t mp_obj_bound_meth_t
#define m_new_maybe(type, num)
qstr mp_obj_fun_get_name(mp_const_obj_t fun)
void mp_obj_print_helper(const mp_print_t *print, mp_obj_t o_in, mp_print_kind_t kind)
STATIC mp_obj_t bound_meth_call(mp_obj_t self_in, size_t n_args, size_t n_kw, const mp_obj_t *args)
const mp_obj_type_t mp_type_type
mp_obj_t mp_call_method_self_n_kw(mp_obj_t meth, mp_obj_t self, size_t n_args, size_t n_kw, const mp_obj_t *args)
STATIC const mp_obj_type_t mp_type_bound_meth
int mp_printf(const mp_print_t *print, const char *fmt,...)
mp_obj_t mp_call_function_n_kw(mp_obj_t fun_in, size_t n_args, size_t n_kw, const mp_obj_t *args)
void * memcpy(void *dst, const void *src, size_t n)
mp_obj_t mp_obj_new_bound_meth(mp_obj_t meth, mp_obj_t self)