diff options
Diffstat (limited to 'py/persistentcode.h')
-rw-r--r-- | py/persistentcode.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/py/persistentcode.h b/py/persistentcode.h index 1991ba26f..7426029ad 100644 --- a/py/persistentcode.h +++ b/py/persistentcode.h @@ -102,6 +102,16 @@ enum { MP_NATIVE_ARCH_XTENSAWIN, }; +enum { + MP_PERSISTENT_OBJ_FUN_TABLE = 0, + 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_compiled_module_t mp_raw_code_load(mp_reader_t *reader, mp_module_context_t *ctx); mp_compiled_module_t mp_raw_code_load_mem(const byte *buf, size_t len, mp_module_context_t *ctx); mp_compiled_module_t mp_raw_code_load_file(const char *filename, mp_module_context_t *ctx); |