summaryrefslogtreecommitdiff
path: root/py/mpstate.h
diff options
context:
space:
mode:
authorRoy Hooper <rhooper@toybox.ca>2018-05-14 16:57:50 -0400
committerRoy Hooper <rhooper@toybox.ca>2018-05-14 16:57:50 -0400
commit567f3e30a77f286713b697a0f8a85e8b31a4a27a (patch)
tree2b0b986dbe8711ff0bf7c8cbd474e89c69222e55 /py/mpstate.h
parenta0954b9e11f9d768908858855fdc96d7814633c6 (diff)
Initial implementation of supervisor.reload()
Diffstat (limited to 'py/mpstate.h')
-rw-r--r--py/mpstate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/mpstate.h b/py/mpstate.h
index 19a5d711e..c50947066 100644
--- a/py/mpstate.h
+++ b/py/mpstate.h
@@ -136,6 +136,9 @@ typedef struct _mp_state_vm_t {
mp_obj_exception_t mp_kbd_exception;
#endif
+ // exception object of type ReloadException
+ mp_obj_exception_t mp_reload_exception;
+
// dictionary with loaded modules (may be exposed as sys.modules)
mp_obj_dict_t mp_loaded_modules_dict;