summaryrefslogtreecommitdiffstatshomepage
path: root/cortex-m3-qemu/pyexec.h
diff options
context:
space:
mode:
Diffstat (limited to 'cortex-m3-qemu/pyexec.h')
-rw-r--r--cortex-m3-qemu/pyexec.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/cortex-m3-qemu/pyexec.h b/cortex-m3-qemu/pyexec.h
new file mode 100644
index 0000000000..d191a2fc4e
--- /dev/null
+++ b/cortex-m3-qemu/pyexec.h
@@ -0,0 +1,12 @@
+typedef enum {
+ PYEXEC_MODE_RAW_REPL,
+ PYEXEC_MODE_FRIENDLY_REPL,
+} pyexec_mode_kind_t;
+
+extern pyexec_mode_kind_t pyexec_mode_kind;
+
+int pyexec_raw_repl(void);
+int pyexec_friendly_repl(void);
+bool pyexec_file(const char *filename);
+
+MP_DECLARE_CONST_FUN_OBJ(pyb_set_repl_info_obj);