26 #ifndef MICROPY_INCLUDED_PY_OBJTYPE_H 27 #define MICROPY_INCLUDED_PY_OBJTYPE_H 47 #define mp_obj_is_instance_type(type) ((type)->make_new == mp_obj_instance_make_new) 48 #define mp_obj_is_native_type(type) ((type)->make_new != mp_obj_instance_make_new) 52 #endif // MICROPY_INCLUDED_PY_OBJTYPE_H
STATIC const uint8_t attr[]
bool mp_obj_instance_is_callable(mp_obj_t self_in)
struct _mp_obj_instance_t mp_obj_instance_t
mp_obj_t mp_obj_instance_call(mp_obj_t self_in, size_t n_args, size_t n_kw, const mp_obj_t *args)
void mp_obj_instance_attr(mp_obj_t self_in, qstr attr, mp_obj_t *dest)
mp_obj_t mp_obj_instance_make_new(const mp_obj_type_t *self_in, size_t n_args, size_t n_kw, const mp_obj_t *args)