aboutsummaryrefslogtreecommitdiff
path: root/py/objgetitemiter.c
diff options
context:
space:
mode:
authorDamien George2014-03-30 13:35:08 +0100
committerDamien George2014-03-30 13:35:08 +0100
commitd17926db710189db97a49e9b2e72d782fc404231 (patch)
tree406396ee6f3010511a606dd4ea3ed5a817d959eb /py/objgetitemiter.c
parent09d207785c77c85c957471b064ceebe0d2ee0a23 (diff)
Rename rt_* to mp_*.
Mostly just a global search and replace. Except rt_is_true which becomes mp_obj_is_true. Still would like to tidy up some of the names, but this will do for now.
Diffstat (limited to 'py/objgetitemiter.c')
-rw-r--r--py/objgetitemiter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/objgetitemiter.c b/py/objgetitemiter.c
index fff3f3807..09235640a 100644
--- a/py/objgetitemiter.c
+++ b/py/objgetitemiter.c
@@ -19,7 +19,7 @@ STATIC mp_obj_t it_iternext(mp_obj_t self_in) {
nlr_buf_t nlr;
if (nlr_push(&nlr) == 0) {
// try to get next item
- mp_obj_t value = rt_call_method_n_kw(1, 0, self->args);
+ mp_obj_t value = mp_call_method_n_kw(1, 0, self->args);
self->args[2] = MP_OBJ_NEW_SMALL_INT(MP_OBJ_SMALL_INT_VALUE(self->args[2]) + 1);
nlr_pop();
return value;
@@ -41,7 +41,7 @@ STATIC const mp_obj_type_t it_type = {
.iternext = it_iternext
};
-// args are those returned from rt_load_method_maybe (ie either an attribute or a method)
+// args are those returned from mp_load_method_maybe (ie either an attribute or a method)
mp_obj_t mp_obj_new_getitem_iter(mp_obj_t *args) {
mp_obj_getitem_iter_t *o = m_new_obj(mp_obj_getitem_iter_t);
o->base.type = &it_type;