|
|
|
@ -630,7 +630,6 @@ extern const struct _mp_obj_exception_t mp_const_GeneratorExit_obj;
|
|
|
|
|
// General API for objects
|
|
|
|
|
|
|
|
|
|
mp_obj_t mp_obj_new_type(qstr name, mp_obj_t bases_tuple, mp_obj_t locals_dict);
|
|
|
|
|
mp_obj_t mp_obj_new_none(void);
|
|
|
|
|
static inline mp_obj_t mp_obj_new_bool(mp_int_t x) { return x ? mp_const_true : mp_const_false; }
|
|
|
|
|
mp_obj_t mp_obj_new_cell(mp_obj_t obj);
|
|
|
|
|
mp_obj_t mp_obj_new_int(mp_int_t value);
|
|
|
|
|