summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/pyexec.h
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/pyexec.h')
-rw-r--r--stmhal/pyexec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/stmhal/pyexec.h b/stmhal/pyexec.h
index e360273519..d01d505a78 100644
--- a/stmhal/pyexec.h
+++ b/stmhal/pyexec.h
@@ -32,9 +32,12 @@ typedef enum {
extern pyexec_mode_kind_t pyexec_mode_kind;
#define PYEXEC_FORCED_EXIT (0x100)
+#define PYEXEC_SWITCH_MODE (0x200)
int pyexec_raw_repl(void);
int pyexec_friendly_repl(void);
int pyexec_file(const char *filename);
+void pyexec_friendly_repl_init(void);
+int pyexec_friendly_repl_process_char(int c);
MP_DECLARE_CONST_FUN_OBJ(pyb_set_repl_info_obj);