summaryrefslogtreecommitdiff
path: root/py/qstr.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-01-31 22:24:16 +0000
committerDamien George <damien.p.george@gmail.com>2016-04-13 16:07:47 +0100
commit0a2e9650f5383bc1190d6b27a3d923e313c3d879 (patch)
treecf8cf4d9e9c69c1d07ef65cf926c47763df72ef3 /py/qstr.h
parent0699c6bf9e7a1754002948063390b68590fc3e96 (diff)
py: Add ability to have frozen persistent bytecode from .mpy files.
The config variable MICROPY_MODULE_FROZEN is now made of two separate parts: MICROPY_MODULE_FROZEN_STR and MICROPY_MODULE_FROZEN_MPY. This allows to have none, either or both of frozen strings and frozen mpy files (aka frozen bytecode).
Diffstat (limited to 'py/qstr.h')
-rw-r--r--py/qstr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/qstr.h b/py/qstr.h
index b68f60a44..b5c261f0d 100644
--- a/py/qstr.h
+++ b/py/qstr.h
@@ -40,7 +40,7 @@ enum {
#define QDEF(id, str) id,
#include "genhdr/qstrdefs.generated.h"
#undef QDEF
- MP_QSTR_number_of,
+ MP_QSTRnumber_of, // no underscore so it can't clash with any of the above
};
typedef size_t qstr;