summaryrefslogtreecommitdiffstatshomepage
path: root/py/qstrdefs.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-05-24 23:03:12 +0100
committerDamien George <damien.p.george@gmail.com>2014-05-24 23:03:12 +0100
commitee3fd46f1383e984c968c4a82d634d7b0cea49b8 (patch)
tree76eb38f9015df5d003f646ce019745426365021c /py/qstrdefs.h
parentd0ceb04b90ca7edd7e45b8eff1cdebdfa20a0cf8 (diff)
downloadmicropython-ee3fd46f1383e984c968c4a82d634d7b0cea49b8.tar.gz
micropython-ee3fd46f1383e984c968c4a82d634d7b0cea49b8.zip
Rename configuration variables controling Python features.
Now of the form MICROPY_PY_*. See issue #35.
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r--py/qstrdefs.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h
index 1081d04410..1de0989190 100644
--- a/py/qstrdefs.h
+++ b/py/qstrdefs.h
@@ -125,7 +125,7 @@ Q(bool)
Q(bytearray)
Q(bytes)
Q(callable)
-#if MICROPY_ENABLE_MOD_STRUCT
+#if MICROPY_PY_STRUCT
Q(calcsize)
#endif
Q(chr)
@@ -257,11 +257,11 @@ Q(iterator)
Q(module)
Q(slice)
-#if MICROPY_ENABLE_FROZENSET
+#if MICROPY_PY_FROZENSET
Q(frozenset)
#endif
-#if MICROPY_ENABLE_MOD_MATH || MICROPY_ENABLE_MOD_CMATH
+#if MICROPY_PY_MATH || MICROPY_PY_CMATH
Q(math)
Q(e)
Q(pi)
@@ -305,7 +305,7 @@ Q(gamma)
Q(lgamma)
#endif
-#if MICROPY_ENABLE_MOD_CMATH
+#if MICROPY_PY_CMATH
Q(cmath)
Q(phase)
Q(polar)
@@ -331,7 +331,7 @@ Q(decode)
Q(utf-8)
#endif
-#if MICROPY_ENABLE_MOD_SYS
+#if MICROPY_PY_SYS
Q(argv)
Q(byteorder)
Q(big)
@@ -344,13 +344,13 @@ Q(version)
Q(version_info)
#endif
-#if MICROPY_ENABLE_MOD_STRUCT
+#if MICROPY_PY_STRUCT
Q(struct)
Q(pack)
Q(unpack)
#endif
-#if MICROPY_ENABLE_MOD_IO
+#if MICROPY_PY_IO
Q(io)
Q(readall)
Q(readline)
@@ -362,14 +362,14 @@ Q(BytesIO)
Q(getvalue)
#endif
-#if MICROPY_ENABLE_MOD_GC
+#if MICROPY_PY_GC
Q(gc)
Q(collect)
Q(disable)
Q(enable)
#endif
-#if MICROPY_ENABLE_PROPERTY
+#if MICROPY_PY_PROPERTY
Q(property)
Q(getter)
Q(setter)