micropython/examples
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
..
SDdatalogger all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
bluetooth examples/bluetooth: Add bonding/passkey demo. 2020-12-02 14:44:00 +11:00
embedding shared/readline: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:48:49 +10:00
hwapi all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
natmod examples/natmod/features3: Add example to test more natmod features. 2022-06-10 16:42:43 +10:00
network all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
rp2 all: Update Python formatting to latest Black version 22.1.0. 2022-02-02 16:49:55 +11:00
unix all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
usercmodule all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
accel_i2c.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
accellog.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
asmled.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
asmsum.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
conwaylife.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
ledangle.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
mandel.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
micropython.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
pins.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
pyb.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
switch.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00