micropython/docs/develop
David Lechner 81dbea1ce3 shared/readline: Use MP_REGISTER_ROOT_POINTER().
This uses MP_REGISTER_ROOT_POINTER() to register the readline_history root
pointer array used by shared/readline.c and removes the registration from
all mpconfigport.h files.

This also required adding a new MICROPY_READLINE_HISTORY_SIZE config option
since not all ports used the same sized array.

Signed-off-by: David Lechner <david@pybricks.com>
2022-07-18 13:48:49 +10:00
..
img docs/develop: Add MicroPython Internals chapter. 2021-01-27 16:59:58 +11:00
cmodules.rst all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
compiler.rst docs/develop: Add MicroPython Internals chapter. 2021-01-27 16:59:58 +11:00
extendingmicropython.rst docs: Remove trailing spaces and convert tabs to spaces. 2021-12-15 11:49:22 +11:00
gettingstarted.rst docs: Remove trailing spaces and convert tabs to spaces. 2021-12-15 11:49:22 +11:00
index.rst docs: Remove trailing spaces and convert tabs to spaces. 2021-12-15 11:49:22 +11:00
library.rst all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
maps.rst docs/develop: Add MicroPython Internals chapter. 2021-01-27 16:59:58 +11:00
memorymgt.rst docs/develop: Add MicroPython Internals chapter. 2021-01-27 16:59:58 +11:00
natmod.rst py/dynruntime.mk: Add basic support for armv6m architecture. 2022-05-23 23:01:25 +10:00
optimizations.rst docs/develop: Add MicroPython Internals chapter. 2021-01-27 16:59:58 +11:00
porting.rst shared/readline: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:48:49 +10:00
publiccapi.rst docs/develop: Add MicroPython Internals chapter. 2021-01-27 16:59:58 +11:00
qstr.rst docs: Remove trailing spaces and convert tabs to spaces. 2021-12-15 11:49:22 +11:00
writingtests.rst tests: Rename run-tests to run-tests.py for consistency. 2021-03-12 19:56:09 +11:00