summaryrefslogtreecommitdiffstatshomepage
path: root/py/makeqstrdefs.py
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2019-09-26 23:40:03 +1000
committerDamien George <damien.p.george@gmail.com>2020-04-05 14:13:53 +1000
commit19212242725f3d3392e0dfaa831eef0b8c64f9ce (patch)
treeacfdb820a41884642d98ef6a153ae10d9200c1d0 /py/makeqstrdefs.py
parentc34e7b9d4c6f369cd86fd6fcc779932226200cdf (diff)
downloadmicropython-19212242725f3d3392e0dfaa831eef0b8c64f9ce.tar.gz
micropython-19212242725f3d3392e0dfaa831eef0b8c64f9ce.zip
extmod/modubinascii: Make code private and module self-contained.
This commit makes all functions and function wrappers in modubinascii.c STATIC and conditional on the MICROPY_PY_UBINASCII setting, which will exclude the file from qstr/ compressed-string searching when ubinascii is not enabled. The now-unused modubinascii.h header file is also removed. The cc3200 port is updated accordingly to use this module in its entirety instead of providing its own top-level definition of ubinascii. This was originally like this because the cc3200 port has its own ubinascii module which referenced these methods. The plan appeared to be that the API might diverge (e.g. hardware crc), but this should be done similar to I2C/SPI via a port-specific handler, rather than the port having its own definition of the module. Having a centralised module definition also enforces consistency of the API among ports.
Diffstat (limited to 'py/makeqstrdefs.py')
0 files changed, 0 insertions, 0 deletions