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/objexcept.c | |
parent | 09d207785c77c85c957471b064ceebe0d2ee0a23 (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/objexcept.c')
-rw-r--r-- | py/objexcept.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objexcept.c b/py/objexcept.c index afcaa1c6d..7dd5c7ac3 100644 --- a/py/objexcept.c +++ b/py/objexcept.c @@ -244,7 +244,7 @@ bool mp_obj_is_exception_instance(mp_obj_t self_in) { // exception type. bool mp_obj_exception_match(mp_obj_t exc, const mp_obj_type_t *exc_type) { // TODO: move implementation from RT_BINARY_OP_EXCEPTION_MATCH here. - return rt_binary_op(RT_BINARY_OP_EXCEPTION_MATCH, exc, (mp_obj_t)exc_type) == mp_const_true; + return mp_binary_op(MP_BINARY_OP_EXCEPTION_MATCH, exc, (mp_obj_t)exc_type) == mp_const_true; } void mp_obj_exception_clear_traceback(mp_obj_t self_in) { |