aboutsummaryrefslogtreecommitdiff
path: root/py/mpstate.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-02-26 16:08:58 +1100
committerDamien George <damien.p.george@gmail.com>2018-02-26 16:08:58 +1100
commit9d8347a9aac40f8cc168b0226c2e74f776a7d4bf (patch)
treedd14ba609efc28f7ab1bcfd3708647cbed2f87f0 /py/mpstate.h
parent6dad0885692f8d1e743873fb4be241f1fd1cb91a (diff)
py/mpstate.h: Add repl_line state for MICROPY_REPL_EVENT_DRIVEN.
Diffstat (limited to 'py/mpstate.h')
-rw-r--r--py/mpstate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/py/mpstate.h b/py/mpstate.h
index a7ffbbf3c..816698f4e 100644
--- a/py/mpstate.h
+++ b/py/mpstate.h
@@ -166,6 +166,10 @@ typedef struct _mp_state_vm_t {
// root pointers for extmod
+ #if MICROPY_REPL_EVENT_DRIVEN
+ vstr_t *repl_line;
+ #endif
+
#if MICROPY_PY_OS_DUPTERM
mp_obj_t dupterm_objs[MICROPY_PY_OS_DUPTERM];
mp_obj_t dupterm_arr_obj;