py/persistentcode: Bump .mpy version to 4.

This commit is contained in:
Damien George 2019-03-07 17:13:24 +11:00
parent ea3c80a514
commit 9a5f92ea72
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@
#define QSTR_LAST_STATIC MP_QSTR_zip
// The current version of .mpy files
#define MPY_VERSION (3)
#define MPY_VERSION (4)
// Macros to encode/decode flags to/from the feature byte
#define MPY_FEATURE_ENCODE_FLAGS(flags) (flags)

View File

@ -57,7 +57,7 @@ class FreezeError(Exception):
return 'error while freezing %s: %s' % (self.rawcode.source_file, self.msg)
class Config:
MPY_VERSION = 3
MPY_VERSION = 4
MICROPY_LONGINT_IMPL_NONE = 0
MICROPY_LONGINT_IMPL_LONGLONG = 1
MICROPY_LONGINT_IMPL_MPZ = 2