diff options
author | Damien George <damien.p.george@gmail.com> | 2014-03-29 13:43:38 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-03-29 13:43:38 +0000 |
commit | 3e1a5c10c5bf0a38c2ed3b9986b43b8cb8227b2f (patch) | |
tree | 76c6f10fcf7d669c52d2b9d84483e8c4f937b9d9 /unix/ffi.c | |
parent | 07ddab529cb0953c473d30795e4dc3c6dfff0d89 (diff) |
py: Rename old const type objects to mp_type_* for consistency.
Diffstat (limited to 'unix/ffi.c')
-rw-r--r-- | unix/ffi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/ffi.c b/unix/ffi.c index a25e54b54..d42e4d092 100644 --- a/unix/ffi.c +++ b/unix/ffi.c @@ -254,7 +254,7 @@ mp_obj_t ffifunc_call(mp_obj_t self_in, uint n_args, uint n_kw, const mp_obj_t * values[i] = 0; } else if (MP_OBJ_IS_INT(a)) { values[i] = mp_obj_int_get(a); - } else if (MP_OBJ_IS_STR(a) || MP_OBJ_IS_TYPE(a, &bytes_type)) { + } else if (MP_OBJ_IS_STR(a) || MP_OBJ_IS_TYPE(a, &mp_type_bytes)) { const char *s = mp_obj_str_get_str(a); values[i] = (ffi_arg)s; } else if (MP_OBJ_IS_TYPE(a, &fficallback_type)) { |