diff options
| author | Damien George <damien.p.george@gmail.com> | 2019-03-09 10:22:09 +1100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2019-03-14 12:22:25 +1100 |
| commit | 0e4c24ec08c19773b26a662abb133c05b474b1fa (patch) | |
| tree | 0501b0019a08e664f070a10efe5ddc70c7c4f403 /py/runtime.h | |
| parent | 3b973a5658025bb99f503fb15ba11884729ac77a (diff) | |
py/nativeglue: Rename native convert funs to match other native helpers.
Diffstat (limited to 'py/runtime.h')
| -rw-r--r-- | py/runtime.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/runtime.h b/py/runtime.h index 3e447ee4f..0dd97a584 100644 --- a/py/runtime.h +++ b/py/runtime.h @@ -170,8 +170,8 @@ NORETURN void mp_raise_recursion_depth(void); // helper functions for native/viper code int mp_native_type_from_qstr(qstr qst); -mp_uint_t mp_convert_obj_to_native(mp_obj_t obj, mp_uint_t type); -mp_obj_t mp_convert_native_to_obj(mp_uint_t val, mp_uint_t type); +mp_uint_t mp_native_from_obj(mp_obj_t obj, mp_uint_t type); +mp_obj_t mp_native_to_obj(mp_uint_t val, mp_uint_t type); mp_obj_dict_t *mp_native_swap_globals(mp_obj_dict_t *new_globals); mp_obj_t mp_native_call_function_n_kw(mp_obj_t fun_in, size_t n_args_kw, const mp_obj_t *args); void mp_native_raise(mp_obj_t o); |
