micropython/ports/nrf/modules/board
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
..
led.c py/obj: Convert make_new into a mp_obj_type_t slot. 2022-09-19 19:06:15 +10:00
led.h nrf/led: Expose public API for LED manipulation. 2019-10-02 22:09:43 +02:00
modboard.c all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00