micropython/examples
Jim Mussared fb2a57800a all: Simplify buffer protocol to just a "get buffer" callback.
The buffer protocol type only has a single member, and this existing layout
creates problems for the upcoming split/slot-index mp_obj_type_t layout
optimisations.

If we need to make the buffer protocol more sophisticated in the future
either we can rely on the mp_obj_type_t optimisations to just add
additional slots to mp_obj_type_t or re-visit the buffer protocol then.

This change is a no-op in terms of generated code.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2022-09-19 18:40:39 +10:00
..
SDdatalogger
bluetooth
embedding all: Remove MICROPY_PY_IO_FILEIO config option. 2022-08-18 11:54:17 +10:00
hwapi
natmod all: Simplify buffer protocol to just a "get buffer" callback. 2022-09-19 18:40:39 +10:00
network
rp2
unix
usercmodule all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
accel_i2c.py
accellog.py
asmled.py
asmsum.py
conwaylife.py
ledangle.py
mandel.py
micropython.py
pins.py
pyb.py
switch.py