diff options
author | Damien George <damien.p.george@gmail.com> | 2014-03-30 13:35:08 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-03-30 13:35:08 +0100 |
commit | d17926db710189db97a49e9b2e72d782fc404231 (patch) | |
tree | 406396ee6f3010511a606dd4ea3ed5a817d959eb /py/objboundmeth.c | |
parent | 09d207785c77c85c957471b064ceebe0d2ee0a23 (diff) | |
download | micropython-d17926db710189db97a49e9b2e72d782fc404231.tar.gz micropython-d17926db710189db97a49e9b2e72d782fc404231.zip |
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/objboundmeth.c')
-rw-r--r-- | py/objboundmeth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/objboundmeth.c b/py/objboundmeth.c index 1b9ac61f24..55b75e42cd 100644 --- a/py/objboundmeth.c +++ b/py/objboundmeth.c @@ -24,13 +24,13 @@ mp_obj_t bound_meth_call(mp_obj_t self_in, uint n_args, uint n_kw, const mp_obj_ mp_obj_t args2[5]; args2[0] = self->self; memcpy(args2 + 1, args, n_total * sizeof(mp_obj_t)); - return rt_call_function_n_kw(self->meth, n_args + 1, n_kw, &args2[0]); + return mp_call_function_n_kw(self->meth, n_args + 1, n_kw, &args2[0]); } else { // use heap to allocate temporary args array mp_obj_t *args2 = m_new(mp_obj_t, 1 + n_total); args2[0] = self->self; memcpy(args2 + 1, args, n_total * sizeof(mp_obj_t)); - mp_obj_t res = rt_call_function_n_kw(self->meth, n_args + 1, n_kw, &args2[0]); + mp_obj_t res = mp_call_function_n_kw(self->meth, n_args + 1, n_kw, &args2[0]); m_del(mp_obj_t, args2, 1 + n_total); return res; } |