micropython/examples/natmod
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
..
btree extmod/modbtree: Retain reference to underlying stream so it's not GC'd. 2020-05-02 16:08:04 +10:00
features0 examples/natmod: Add very simple features0 example to compute factorial. 2019-12-19 17:06:27 +11:00
features1 all: Use MP_ERROR_TEXT for all error messages. 2020-04-05 15:02:06 +10:00
features2 all: Use MP_ERROR_TEXT for all error messages. 2020-04-05 15:02:06 +10:00
features3 examples/natmod/features3: Add example to test more natmod features. 2022-06-10 16:42:43 +10:00
framebuf all: Simplify buffer protocol to just a "get buffer" callback. 2022-09-19 18:40:39 +10:00
uheapq py/dynruntime.mk: Set MICROPY_ENABLE_DYNRUNTIME instead of per module. 2020-04-05 14:13:02 +10:00
urandom py/dynruntime.mk: Set MICROPY_ENABLE_DYNRUNTIME instead of per module. 2020-04-05 14:13:02 +10:00
ure extmod/ure: Use single function for match/search/sub. 2020-06-08 09:16:09 +02:00
uzlib py/dynruntime.mk: Set MICROPY_ENABLE_DYNRUNTIME instead of per module. 2020-04-05 14:13:02 +10:00
.gitignore examples/natmod: Add .gitignore to ignore generated example .mpy files. 2020-03-03 12:54:17 +11:00