diff options
author | Damien George <damien.p.george@gmail.com> | 2014-01-21 21:40:13 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-01-21 21:40:13 +0000 |
commit | 55baff4c9bcbc001cbb8972c289ebfa356d4665b (patch) | |
tree | bd086f9ddf8c5f2db9642ee04fc382064ebd2029 /py/mpqstr.h | |
parent | 91d457a27752fa125e9c6107bf51c918e021dc95 (diff) | |
download | micropython-55baff4c9bcbc001cbb8972c289ebfa356d4665b.tar.gz micropython-55baff4c9bcbc001cbb8972c289ebfa356d4665b.zip |
Revamp qstrs: they now include length and hash.
Can now have null bytes in strings. Can define ROM qstrs per port using
qstrdefsport.h
Diffstat (limited to 'py/mpqstr.h')
-rw-r--r-- | py/mpqstr.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/py/mpqstr.h b/py/mpqstr.h deleted file mode 100644 index 1440fb3b80..0000000000 --- a/py/mpqstr.h +++ /dev/null @@ -1,13 +0,0 @@ -// See mpqstrraw.h for a list of qstr's that are available as constants. -// Reference them as MP_QSTR_xxxx. -// -// Note: it would be possible to define MP_QSTR_xxx as qstr_from_str_static("xxx") -// for qstrs that are referenced this way, but you don't want to have them in ROM. - -enum { - MP_QSTR_nil = 0, -#define Q(id) MP_QSTR_##id, -#include "mpqstrraw.h" -#undef Q - MP_QSTR_number_of, -} category_t; |