micropython/ports/nrf/boards/microbit/modules
Jim Mussared 94beeabd2e py/obj: Convert make_new into a mp_obj_type_t slot.
Instead of being an explicit field, it's now a slot like all the other
methods.

This is a marginal code size improvement because most types have a make_new
(100/138 on PYBV11), however it improves consistency in how types are
declared, removing the special case for make_new.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2022-09-19 19:06:15 +10:00
..
AUTHORS nrf/boards/microbit: Add copy of microbit display and image files. 2018-07-18 17:12:25 +10:00
LICENSE nrf/boards/microbit: Add copy of microbit display and image files. 2018-07-18 17:12:25 +10:00
boardmodules.h nrf: Make port-specific modules use MP_REGISTER_MODULE. 2022-05-18 20:57:09 +10:00
boardmodules.mk nrf/boards/microbit: Add framework updates to build micro:bit modules. 2018-07-18 17:12:25 +10:00
iters.c py/obj: Convert make_new into a mp_obj_type_t slot. 2022-09-19 19:06:15 +10:00
iters.h nrf/boards/microbit: Add copy of microbit display and image files. 2018-07-18 17:12:25 +10:00
microbitconstimage.c nrf/boards/microbit: Update board modules from C++ to C-code. 2018-07-18 17:12:25 +10:00
microbitconstimage.h nrf: Quick-fix on const objects with open array dimension in objtuples. 2018-07-18 17:12:26 +10:00
microbitconstimagetuples.c nrf: Quick-fix on const objects with open array dimension in objtuples. 2018-07-18 17:12:26 +10:00
microbitdisplay.c py/obj: Convert make_new into a mp_obj_type_t slot. 2022-09-19 19:06:15 +10:00
microbitdisplay.h nrf/boards/microbit: Update board modules from C++ to C-code. 2018-07-18 17:12:25 +10:00
microbitfont.h nrf/boards/microbit: Update board modules from C++ to C-code. 2018-07-18 17:12:25 +10:00
microbitimage.c py/obj: Convert make_new into a mp_obj_type_t slot. 2022-09-19 19:06:15 +10:00
microbitimage.h nrf: Clean up source by removing tabs, trailing spaces, non-ASCII chars. 2019-08-28 13:34:45 +10:00
modmicrobit.c all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
modmicrobit.h nrf/boards/microbit: Add modmicrobit.h to expose module init function. 2018-07-18 17:12:25 +10:00