diff options
author | David Lechner <david@pybricks.com> | 2023-03-17 13:16:06 -0500 |
---|---|---|
committer | David Lechner <david@pybricks.com> | 2023-03-17 13:16:06 -0500 |
commit | fa8ebb1390549314485fc26e586573cff526807a (patch) | |
tree | a271b87166df7391eccad460ccd97be7d20e36f4 /examples/usercmodule/cexample/examplemodule.c | |
parent | 05bb26010e4a466a82cfed179f8d8d0b406a78ca (diff) | |
download | micropython-fa8ebb1390549314485fc26e586573cff526807a.tar.gz micropython-fa8ebb1390549314485fc26e586573cff526807a.zip |
py/obj: Add MP_NOINLINE to mp_obj_malloc_helper.
As the comment in py/obj.h says:
> Implementing this as a call rather than inline saves 8 bytes per usage.
So in order to get this savings, we need to tell the compiler to never
inline the function.
Signed-off-by: David Lechner <david@pybricks.com>
Diffstat (limited to 'examples/usercmodule/cexample/examplemodule.c')
0 files changed, 0 insertions, 0 deletions