summaryrefslogtreecommitdiffstatshomepage
path: root/py/qstrdefs.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-01-11 17:52:45 +0000
committerDamien George <damien.p.george@gmail.com>2015-01-11 22:06:53 +0000
commit6942f80a8feb521ff4dc2b457fa5cb3d039bee54 (patch)
tree586870b58e8930480f8ec63263ecec551b15477e /py/qstrdefs.h
parente233a55a296a981bce5fe3a7c20049bea46e3a16 (diff)
downloadmicropython-6942f80a8feb521ff4dc2b457fa5cb3d039bee54.tar.gz
micropython-6942f80a8feb521ff4dc2b457fa5cb3d039bee54.zip
py: Add qstr cfg capability; generate QSTR_NULL and QSTR_ from script.
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r--py/qstrdefs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h
index 04890a800f..514116b65d 100644
--- a/py/qstrdefs.h
+++ b/py/qstrdefs.h
@@ -29,6 +29,10 @@
// 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.
+// qstr configuration passed to makeqstrdata.py of the form QCFG(key, value)
+//QCFG(somekey, somevalue)
+
+Q()
Q(*)
Q(__build_class__)
Q(__class__)