diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2018-09-09 01:26:06 +0300 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-09-20 16:03:53 +1000 |
commit | 11573fcabdcb96eb3e4c1cbfcecc561c4ce3caec (patch) | |
tree | 129a00f1c8c8a36b2253ede0506def5383c576fc | |
parent | 3f6ffe059f64b3ebc44dc0bbc63452cb8850702b (diff) |
unix/modjni: Update .getiter signature to include mp_obj_iter_buf_t* .
And thus be buildable again.
-rw-r--r-- | ports/unix/modjni.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/unix/modjni.c b/ports/unix/modjni.c index 8ec5ae54d..31c219461 100644 --- a/ports/unix/modjni.c +++ b/ports/unix/modjni.c @@ -316,9 +316,9 @@ MP_DEFINE_CONST_FUN_OBJ_2(subscr_load_adaptor_obj, subscr_load_adaptor); // .getiter special method which returns iterator which works in terms // of object subscription. -STATIC mp_obj_t subscr_getiter(mp_obj_t self_in) { +STATIC mp_obj_t subscr_getiter(mp_obj_t self_in, mp_obj_iter_buf_t *iter_buf) { mp_obj_t dest[2] = {(mp_obj_t)&subscr_load_adaptor_obj, self_in}; - return mp_obj_new_getitem_iter(dest); + return mp_obj_new_getitem_iter(dest, iter_buf); } STATIC const mp_obj_type_t jobject_type = { |