summaryrefslogtreecommitdiffstatshomepage
path: root/py/persistentcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/persistentcode.h')
-rw-r--r--py/persistentcode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/persistentcode.h b/py/persistentcode.h
index b27c3de2f0..2074c64fe2 100644
--- a/py/persistentcode.h
+++ b/py/persistentcode.h
@@ -30,6 +30,9 @@
#include "py/reader.h"
#include "py/emitglue.h"
+// The current version of .mpy files
+#define MPY_VERSION 4
+
enum {
MP_NATIVE_ARCH_NONE = 0,
MP_NATIVE_ARCH_X86,