summaryrefslogtreecommitdiff
path: root/py/runtime.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-01-21 17:00:01 +0000
committerDamien George <damien.p.george@gmail.com>2015-01-21 17:00:01 +0000
commitb6e6b5277f4fb966d8090e362f187d36117b2db6 (patch)
treee69854cabd65616698610aa381d5fa5660a34fd2 /py/runtime.h
parent962a5d50c94f01ca8dc7d46fe568535d713d59d0 (diff)
py: Implement proper re-raising in native codegen's finally handler.
This allows an exception to propagate correctly through a finally handler.
Diffstat (limited to 'py/runtime.h')
-rw-r--r--py/runtime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/runtime.h b/py/runtime.h
index ce87bf07b..1216462b2 100644
--- a/py/runtime.h
+++ b/py/runtime.h
@@ -119,7 +119,7 @@ NORETURN void mp_not_implemented(const char *msg);
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_t mp_native_call_function_n_kw(mp_obj_t fun_in, mp_uint_t n_args_kw, const mp_obj_t *args);
-NORETURN void mp_native_raise(mp_obj_t o);
+void mp_native_raise(mp_obj_t o);
extern struct _mp_obj_list_t mp_sys_path_obj;
extern struct _mp_obj_list_t mp_sys_argv_obj;