summaryrefslogtreecommitdiff
path: root/stmhal/pyexec.h
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/pyexec.h')
-rw-r--r--stmhal/pyexec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stmhal/pyexec.h b/stmhal/pyexec.h
index ce9fe5cbc..dec241dee 100644
--- a/stmhal/pyexec.h
+++ b/stmhal/pyexec.h
@@ -31,6 +31,8 @@ typedef enum {
extern pyexec_mode_kind_t pyexec_mode_kind;
+#define PYEXEC_FORCED_EXIT (0x100)
+
int pyexec_raw_repl(void);
int pyexec_friendly_repl(void);
bool pyexec_file(const char *filename);