aboutsummaryrefslogtreecommitdiff
path: root/py/qstr.c
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-06-16 01:40:31 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-06-16 01:42:48 +0300
commitf469c764428230363a2b22fedf303d86eea82853 (patch)
tree5e4544f9114a86f337919e4ad0f1cbfcf5895502 /py/qstr.c
parentb5190f1df35ff3cd3731a8cb0da5ab549a1d86e6 (diff)
py: Rename __QSTR_EXTRACT flag to NO_QSTR.
It has more usages than just qstr extraction, for example, embedding (where people don't care about efficient predefined qstrs).
Diffstat (limited to 'py/qstr.c')
-rw-r--r--py/qstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/qstr.c b/py/qstr.c
index 24793ff8a..61202fb4a 100644
--- a/py/qstr.c
+++ b/py/qstr.c
@@ -93,7 +93,7 @@ const qstr_pool_t mp_qstr_const_pool = {
10, // set so that the first dynamically allocated pool is twice this size; must be <= the len (just below)
MP_QSTRnumber_of, // corresponds to number of strings in array just below
{
-#ifndef __QSTR_EXTRACT
+#ifndef NO_QSTR
#define QDEF(id, str) str,
#include "genhdr/qstrdefs.generated.h"
#undef QDEF