Damien George | eb7bfcb | 2014-01-04 15:57:35 +0000 | [diff] [blame] | 1 | // See mpqstrraw.h for a list of qstr's that are available as constants. |
2 | // Reference them as MP_QSTR_xxxx. | ||||
3 | // | ||||
4 | // Note: it would be possible to define MP_QSTR_xxx as qstr_from_str_static("xxx") | ||||
5 | // for qstrs that are referenced this way, but you don't want to have them in ROM. | ||||
6 | |||||
7 | enum { | ||||
8 | MP_QSTR_nil = 0, | ||||
9 | #define Q(id) MP_QSTR_##id, | ||||
10 | #include "mpqstrraw.h" | ||||
11 | #undef Q | ||||
12 | MP_QSTR_number_of, | ||||
13 | } category_t; |