summaryrefslogtreecommitdiffstatshomepage
path: root/py/objstrunicode.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2020-02-11 13:17:41 +1100
committerDamien George <damien.p.george@gmail.com>2020-02-13 11:03:37 +1100
commit97eca38c4f03e76bd464fb25974544a043af2a9e (patch)
tree9141a63cb6e1e414330d0a93e11ceedc955f4c27 /py/objstrunicode.c
parent7679e3be96f7e0996faa89678beaf423d7c25999 (diff)
downloadmicropython-97eca38c4f03e76bd464fb25974544a043af2a9e.tar.gz
micropython-97eca38c4f03e76bd464fb25974544a043af2a9e.zip
py: Add mp_raise_type helper macro and use it where appropriate.
This provides a more consistent C-level API to raise exceptions, ie moving away from nlr_raise towards mp_raise_XXX. It also reduces code size by a small amount on some ports.
Diffstat (limited to 'py/objstrunicode.c')
0 files changed, 0 insertions, 0 deletions