diff options
author | ian-v <ianv888@gmail.com> | 2014-01-06 13:51:53 -0800 |
---|---|---|
committer | ian-v <ianv888@gmail.com> | 2014-01-06 13:51:53 -0800 |
commit | 5fd8fd2c16076f683b629b513e8865e461d4c9a8 (patch) | |
tree | 9f10aab33ca9b4325cbe84c41b1e4d614d202021 /py/objtuple.c | |
parent | 7a16fadbf843ca5d49fb20b5f5785ffccfd9019f (diff) | |
download | micropython-5fd8fd2c16076f683b629b513e8865e461d4c9a8.tar.gz micropython-5fd8fd2c16076f683b629b513e8865e461d4c9a8.zip |
Revert MP_BOOL, etc. and use <stdbool.h> instead
Diffstat (limited to 'py/objtuple.c')
-rw-r--r-- | py/objtuple.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/py/objtuple.c b/py/objtuple.c index a8ecc3a4f2..a59e674b19 100644 --- a/py/objtuple.c +++ b/py/objtuple.c @@ -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) { |