diff options
author | Damien George <damien.p.george@gmail.com> | 2019-03-09 10:16:09 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-03-14 12:22:25 +1100 |
commit | 3b973a5658025bb99f503fb15ba11884729ac77a (patch) | |
tree | d11ff8a6999d8be5ec16149dc17dbf77883927dc /py/runtime.h | |
parent | 28c2873d99a6dcd8978eea1161fc2346fed067d0 (diff) |
py: Move mp_native_type_from_qstr() from emitnative.c to nativeglue.c.
Diffstat (limited to 'py/runtime.h')
-rw-r--r-- | py/runtime.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/runtime.h b/py/runtime.h index 9811c1b5a..3e447ee4f 100644 --- a/py/runtime.h +++ b/py/runtime.h @@ -169,6 +169,7 @@ NORETURN void mp_raise_recursion_depth(void); #endif // 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_obj_dict_t *mp_native_swap_globals(mp_obj_dict_t *new_globals); |