summaryrefslogtreecommitdiffstatshomepage
path: root/lib/utils/pyexec.h
diff options
context:
space:
mode:
authorGlenn Ruben Bakke <glennbakke@gmail.com>2017-03-03 00:36:25 +0100
committerDamien George <damien.p.george@gmail.com>2018-07-18 17:12:25 +1000
commit8a4a05c1eeae8d6ff7036ccb0362888444bc8bb4 (patch)
tree708f5cf2097ccac820cc6975077540298df2a6b3 /lib/utils/pyexec.h
parente22b94350889af32527e4ebf3a8323e4eba9280e (diff)
downloadmicropython-8a4a05c1eeae8d6ff7036ccb0362888444bc8bb4.tar.gz
micropython-8a4a05c1eeae8d6ff7036ccb0362888444bc8bb4.zip
lib/utils: Expose pyb_set_repl_info function public
The patch enables the possibility to disable or initialize the repl info from outside of the module. Can also be used to initialize the repl_display_debugging_info in pyexec.c if not startup file is clearing .bss segment.
Diffstat (limited to 'lib/utils/pyexec.h')
-rw-r--r--lib/utils/pyexec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/utils/pyexec.h b/lib/utils/pyexec.h
index 678c56cf48..a0d0b52b16 100644
--- a/lib/utils/pyexec.h
+++ b/lib/utils/pyexec.h
@@ -50,6 +50,7 @@ int pyexec_frozen_module(const char *name);
void pyexec_event_repl_init(void);
int pyexec_event_repl_process_char(int c);
extern uint8_t pyexec_repl_active;
+mp_obj_t pyb_set_repl_info(mp_obj_t o_value);
MP_DECLARE_CONST_FUN_OBJ_1(pyb_set_repl_info_obj);