diff options
| author | John R. Lenton <jlenton@gmail.com> | 2014-01-05 22:29:03 +0000 |
|---|---|---|
| committer | John R. Lenton <jlenton@gmail.com> | 2014-01-05 22:29:03 +0000 |
| commit | ba3f87c94776538fece5e87ff1d7de547930397a (patch) | |
| tree | 3112b328cff278168a1ef48fc37a65778ea9324a /py/mpqstr.h | |
| parent | 6e1e98f8648d327098a03ce8d175c9854dd06cc8 (diff) | |
| parent | 12e2656472bf53e467c066eda6f3e177a97210ca (diff) | |
Merge remote-tracking branch 'upstream/master' into list_reverse
Diffstat (limited to 'py/mpqstr.h')
| -rw-r--r-- | py/mpqstr.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/py/mpqstr.h b/py/mpqstr.h new file mode 100644 index 000000000..1440fb3b8 --- /dev/null +++ b/py/mpqstr.h @@ -0,0 +1,13 @@ +// 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; |
