diff options
| author | Paul Sokolovsky | 2014-04-11 20:50:15 +0300 |
|---|---|---|
| committer | Paul Sokolovsky | 2014-04-12 00:39:55 +0300 |
| commit | a925cb54f1b3490a9e082816eb785750c4b25324 (patch) | |
| tree | 1bc15ed93d55561ad1d4f895097201af54ccca4b /py/qstrdefs.h | |
| parent | 6ea0e928d8aced4f8ce5ab451105c199092eb6df (diff) | |
py: Preprocess qstrdefs.h before feeding to makeqstrdata.py.
This is alternative implementation of supporting conditionals in qstrdefs.h,
hard to say if it's much cleaner than munging #ifdef's in Python code...
Diffstat (limited to 'py/qstrdefs.h')
| -rw-r--r-- | py/qstrdefs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h index 17948434b..eb72fd265 100644 --- a/py/qstrdefs.h +++ b/py/qstrdefs.h @@ -1,6 +1,6 @@ +#include "mpconfig.h" // All the qstr definitions in this file are available as constants. // That is, they are in ROM and you can reference them simply as MP_QSTR_xxxx. -// TODO make it so we can use #defines here to select only those words that will be used Q(__build_class__) Q(__class__) |
