summaryrefslogtreecommitdiffstatshomepage
path: root/py/objtype.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/objtype.h')
-rw-r--r--py/objtype.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/objtype.h b/py/objtype.h
index 3fc8c6e1b0..2c613b9045 100644
--- a/py/objtype.h
+++ b/py/objtype.h
@@ -51,4 +51,7 @@ mp_obj_t mp_obj_instance_call(mp_obj_t self_in, size_t n_args, size_t n_kw, cons
// this needs to be exposed for the above macros to work correctly
mp_obj_t mp_obj_instance_make_new(const mp_obj_type_t *self_in, size_t n_args, size_t n_kw, const mp_obj_t *args);
+// this needs to be exposed for mp_getiter
+mp_obj_t mp_obj_instance_getiter(mp_obj_t self_in, mp_obj_iter_buf_t *iter_buf);
+
#endif // MICROPY_INCLUDED_PY_OBJTYPE_H