diff options
Diffstat (limited to 'py/qstr.h')
-rw-r--r-- | py/qstr.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -37,10 +37,12 @@ // first entry in enum will be MP_QSTR_NULL=0, which indicates invalid/no qstr enum { +#ifndef __QSTR_EXTRACT #define QDEF(id, str) id, #include "genhdr/qstrdefs.generated.h" #undef QDEF - MP_QSTR_number_of, +#endif + MP_QSTRnumber_of, // no underscore so it can't clash with any of the above }; typedef size_t qstr; |