diff options
author | Damien George <damien.p.george@gmail.com> | 2020-04-13 14:52:10 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-04-14 22:13:11 +1000 |
commit | 2725a791929f901c692d09f0afe7cc6a700384d5 (patch) | |
tree | 4c2942360d6ef0831158056538f84d8b7100abb0 /py/binary.c | |
parent | 5f0661b4fe6a68c38e9eecd94845f4bd1ed3046a (diff) |
py: Always give noop defines when MICROPY_ROM_TEXT_COMPRESSION disabled.
This commit provides a typedef for mp_rom_error_text_t, and a macro define
for MP_COMPRESSED_ROM_TEXT, when MICROPY_ROM_TEXT_COMPRESSION is disabled.
This simplifies the configuration (it no longer has a special case for
MICROPY_ENABLE_DYNRUNTIME) and makes it work for other cases that don't use
compression (eg examples/embedding). This commit also ensures
MICROPY_ROM_TEXT_COMPRESSION is defined during qstr processing.
Diffstat (limited to 'py/binary.c')
0 files changed, 0 insertions, 0 deletions