Revert MP_BOOL, etc. and use <stdbool.h> instead
This commit is contained in:
@@ -165,14 +165,8 @@ static mp_obj_t tuple_it_iternext(mp_obj_t self_in) {
|
||||
static const mp_obj_type_t tuple_it_type = {
|
||||
{ &mp_const_type },
|
||||
"tuple_iterator",
|
||||
NULL, // print
|
||||
NULL, // make_new
|
||||
NULL, // call_n
|
||||
NULL, // unary_op
|
||||
NULL, // binary_op
|
||||
NULL, // getiter
|
||||
tuple_it_iternext,
|
||||
NULL, // method list
|
||||
.iternext = tuple_it_iternext,
|
||||
.methods = NULL,
|
||||
};
|
||||
|
||||
static mp_obj_t mp_obj_new_tuple_iterator(mp_obj_tuple_t *tuple, int cur) {
|
||||
|
||||
Reference in New Issue
Block a user