mp_obj_t mp_obj_new_dict(size_t n_args) { mp_obj_dict_t *o = m_new_obj(mp_obj_dict_t); mp_obj_dict_init(o, n_args); return MP_OBJ_FROM_PTR(o); }
void mp_module_init(void) { mp_obj_dict_init(&MP_STATE_VM(mp_loaded_modules_dict), 3); }
mp_obj_t mp_obj_new_dict(int n_args) { mp_obj_dict_t *o = m_new_obj(mp_obj_dict_t); mp_obj_dict_init(o, n_args); return o; }
mp_obj_t mp_obj_new_dict(mp_uint_t n_args) { mp_obj_t o_out = m_new_obj(mp_obj_dict_t); mp_obj_dict_t *o = MP_OBJ_CAST(o_out); mp_obj_dict_init(o, n_args); return o_out; }