diff options
| author | Damien George <damien@micropython.org> | 2023-10-13 17:33:29 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-10-16 11:22:55 +1100 |
| commit | 9c7ea9b14ac0378f580bd8ed55b22ef311eda20b (patch) | |
| tree | 71fed46d0b04a3f49833a61a74b009bea46e0852 /py/mpprint.c | |
| parent | 516385c4ccbb1f7fa9dbd37a44ed8ae33dcf1942 (diff) | |
py/obj: Generalise mp_get_buffer so it can raise if a flag is set.
This allows mp_get_buffer_raise() to be changed to a simple inline function
that in the majority of cases costs the same (in code size) to call as the
original mp_get_buffer_raise(), because the flags argument is a constant.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/mpprint.c')
0 files changed, 0 insertions, 0 deletions
