diff options
author | Damien George <damien@micropython.org> | 2023-06-01 12:12:22 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2023-06-01 14:18:54 +1000 |
commit | 66dc1397c92f6accf102bcd15c6395902fd46c8b (patch) | |
tree | b9743d03804279fa38222bc2b5edb6da2756ff5b /examples/usercmodule/cppexample/micropython.cmake | |
parent | 48ffd6596e7a4c185a81be233b46d3c99a83a7ac (diff) | |
download | micropython-66dc1397c92f6accf102bcd15c6395902fd46c8b.tar.gz micropython-66dc1397c92f6accf102bcd15c6395902fd46c8b.zip |
py/obj: Accept user types in mp_obj_get_int_maybe.
This is possible now that MP_UNARY_OP_INT_MAYBE exists.
As a consequence mp_obj_get_int now also supports user types, which was
previously possible with MP_UNARY_OP_INT but no tests existed for it.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'examples/usercmodule/cppexample/micropython.cmake')
0 files changed, 0 insertions, 0 deletions