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.
This commit is contained in:
parent
235c0edacb
commit
159202ad00
@ -48,6 +48,7 @@ int pyexec_frozen_module(const char *name);
|
|||||||
void pyexec_event_repl_init(void);
|
void pyexec_event_repl_init(void);
|
||||||
int pyexec_event_repl_process_char(int c);
|
int pyexec_event_repl_process_char(int c);
|
||||||
extern uint8_t pyexec_repl_active;
|
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);
|
MP_DECLARE_CONST_FUN_OBJ_1(pyb_set_repl_info_obj);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user