micropython/ports/pic16bit
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
..
Makefile extmod/extmod.mk: Separate out extmod file list from py.mk to extmod.mk. 2022-06-21 00:14:34 +10:00
board.c py/mpstate: Schedule KeyboardInterrupt on main thread. 2021-06-19 09:49:00 +10:00
board.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
main.c pic16bit: Use 1 byte for qstr hash len and include header to fix build. 2022-06-07 16:55:18 +10:00
modpyb.c all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
modpyb.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
modpybled.c py/obj: Convert make_new into a mp_obj_type_t slot. 2022-09-19 19:06:15 +10:00
modpybswitch.c py/obj: Convert make_new into a mp_obj_type_t slot. 2022-09-19 19:06:15 +10:00
mpconfigport.h pic16bit/pic16bit_mphal: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:50:34 +10:00
pic16bit_mphal.c pic16bit/pic16bit_mphal: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:50:34 +10:00
pic16bit_mphal.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
qstrdefsport.h all: Add *FORMAT-OFF* in various places. 2020-02-28 10:31:07 +11:00
unistd.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00