summaryrefslogtreecommitdiffstatshomepage
path: root/py/qstrdefs.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-04-19 03:13:15 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-04-19 03:22:08 +0300
commit6204460461cc21b27861fa89b2423119f8cdce88 (patch)
treea47370140e792aa9722bced667b0922e22122647 /py/qstrdefs.h
parent504e23388ce68fcb1ac80a7c411979718686af7c (diff)
downloadmicropython-6204460461cc21b27861fa89b2423119f8cdce88.tar.gz
micropython-6204460461cc21b27861fa89b2423119f8cdce88.zip
modstruct: Initial implementation of struct.pack().
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r--py/qstrdefs.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h
index a4df86fda7..86a5f2632c 100644
--- a/py/qstrdefs.h
+++ b/py/qstrdefs.h
@@ -139,16 +139,10 @@ Q(staticmethod)
Q(sum)
Q(super)
Q(str)
-#if MICROPY_ENABLE_MOD_STRUCT
-Q(struct)
-#endif
Q(sys)
Q(to_bytes)
Q(tuple)
Q(type)
-#if MICROPY_ENABLE_MOD_STRUCT
-Q(unpack)
-#endif
Q(value)
Q(zip)
@@ -299,6 +293,12 @@ Q(version)
Q(version_info)
#endif
+#if MICROPY_ENABLE_MOD_STRUCT
+Q(struct)
+Q(pack)
+Q(unpack)
+#endif
+
#if MICROPY_ENABLE_PROPERTY
Q(property)
Q(getter)