Skip to content
Snippets Groups Projects
Commit 11573fca authored by Paul Sokolovsky's avatar Paul Sokolovsky Committed by Damien George
Browse files

unix/modjni: Update .getiter signature to include mp_obj_iter_buf_t* .

And thus be buildable again.
parent 3f6ffe05
No related branches found
No related tags found
No related merge requests found
......@@ -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 = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment