shared/runtime/pyexec: Use MP_REGISTER_ROOT_POINTER().
This uses MP_REGISTER_ROOT_POINTER() to register repl_line instead of using a conditional inside of mp_state_vm_t. Signed-off-by: David Lechner <david@pybricks.com>
This commit is contained in:
committed by
Damien George
parent
7e4b205cb0
commit
68f46342aa
@@ -42,7 +42,7 @@ SRC_C = \
|
||||
shared/runtime/stdout_helpers.c \
|
||||
$(BUILD)/_frozen_mpy.c \
|
||||
|
||||
SRC_QSTR += shared/readline/readline.c
|
||||
SRC_QSTR += shared/readline/readline.c shared/runtime/pyexec.c
|
||||
|
||||
OBJ = $(PY_CORE_O)
|
||||
OBJ += $(addprefix $(BUILD)/, $(SRC_C:.c=.o))
|
||||
|
||||
Reference in New Issue
Block a user