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 /unix/file.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 'unix/file.c')
-rw-r--r-- | unix/file.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/file.c b/unix/file.c index f037b6f7ea..948ec44051 100644 --- a/unix/file.c +++ b/unix/file.c @@ -140,7 +140,7 @@ MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(mp_builtin_open_obj, 1, 2, mp_builtin_open); void file_init() { mp_obj_t m_sys = mp_obj_new_module(MP_QSTR_sys); - rt_store_attr(m_sys, MP_QSTR_stdin, fdfile_new(STDIN_FILENO)); - rt_store_attr(m_sys, MP_QSTR_stdout, fdfile_new(STDOUT_FILENO)); - rt_store_attr(m_sys, MP_QSTR_stderr, fdfile_new(STDERR_FILENO)); + mp_store_attr(m_sys, MP_QSTR_stdin, fdfile_new(STDIN_FILENO)); + mp_store_attr(m_sys, MP_QSTR_stdout, fdfile_new(STDOUT_FILENO)); + mp_store_attr(m_sys, MP_QSTR_stderr, fdfile_new(STDERR_FILENO)); } |