diff options
Diffstat (limited to 'py/runtime.h')
-rw-r--r-- | py/runtime.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/py/runtime.h b/py/runtime.h index 3e325a31b3..df5e45b2d3 100644 --- a/py/runtime.h +++ b/py/runtime.h @@ -134,6 +134,10 @@ mp_obj_t mp_import_from(mp_obj_t module, qstr name); void mp_import_all(mp_obj_t module); // Raise NotImplementedError with given message +NORETURN void mp_raise_msg(const mp_obj_type_t *exc_type, const char *msg); +//NORETURN void nlr_raise_msg_varg(const mp_obj_type_t *exc_type, const char *fmt, ...); +NORETURN void mp_raise_ValueError(const char *msg); +NORETURN void mp_raise_TypeError(const char *msg); NORETURN void mp_not_implemented(const char *msg); NORETURN void mp_exc_recursion_depth(void); |