diff options
author | Damien George <damien@micropython.org> | 2022-03-31 14:28:19 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-04-14 23:52:14 +1000 |
commit | 4ca96983ff808d914256fb85376fc14b871d235e (patch) | |
tree | 109b5f6182195deab7a642e31146e42aea015fcd /py/persistentcode.h | |
parent | 35c0cff92bea230f8e16a8a7cdd50ea5f6a9df03 (diff) |
py/persistentcode: Support loading and saving tuples in .mpy files.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/persistentcode.h')
-rw-r--r-- | py/persistentcode.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/py/persistentcode.h b/py/persistentcode.h index 7426029ad..37263f66b 100644 --- a/py/persistentcode.h +++ b/py/persistentcode.h @@ -104,12 +104,16 @@ enum { enum { MP_PERSISTENT_OBJ_FUN_TABLE = 0, + MP_PERSISTENT_OBJ_NONE, + MP_PERSISTENT_OBJ_FALSE, + MP_PERSISTENT_OBJ_TRUE, MP_PERSISTENT_OBJ_ELLIPSIS, MP_PERSISTENT_OBJ_STR, MP_PERSISTENT_OBJ_BYTES, MP_PERSISTENT_OBJ_INT, MP_PERSISTENT_OBJ_FLOAT, MP_PERSISTENT_OBJ_COMPLEX, + MP_PERSISTENT_OBJ_TUPLE, }; mp_compiled_module_t mp_raw_code_load(mp_reader_t *reader, mp_module_context_t *ctx); |