summaryrefslogtreecommitdiffstatshomepage
path: root/py/qstrdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r--py/qstrdefs.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h
index 342160bbc7..17948434b4 100644
--- a/py/qstrdefs.h
+++ b/py/qstrdefs.h
@@ -84,6 +84,9 @@ Q(bool)
Q(bytearray)
Q(bytes)
Q(callable)
+#if MICROPY_ENABLE_MOD_STRUCT
+Q(calcsize)
+#endif
Q(chr)
Q(classmethod)
Q(collections)
@@ -127,10 +130,16 @@ 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)