summaryrefslogtreecommitdiff
path: root/py/builtintables.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-10 12:58:31 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-10 12:58:31 +0100
commit3a8b1607fcbffdbff0a0001d6baacea7693d15b9 (patch)
tree359d2b30a91c4ffc37ce2ce2734abfa6331d6dd3 /py/builtintables.c
parent635543c72cc9ccfb20c1ec1f64d329eef35ebe2d (diff)
parent978607aeffb5b1deca3a4ad4b0ab0d0e15b5e271 (diff)
Merge branch 'master' of github.com:micropython/micropython
Diffstat (limited to 'py/builtintables.c')
-rw-r--r--py/builtintables.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/builtintables.c b/py/builtintables.c
index ea864c6c7..e2007f3b4 100644
--- a/py/builtintables.c
+++ b/py/builtintables.c
@@ -127,6 +127,9 @@ STATIC const mp_map_elem_t mp_builtin_module_table[] = {
{ MP_OBJ_NEW_QSTR(MP_QSTR_io), (mp_obj_t)&mp_module_io },
#endif
{ MP_OBJ_NEW_QSTR(MP_QSTR_collections), (mp_obj_t)&mp_module_collections },
+#if MICROPY_ENABLE_MOD_STRUCT
+ { MP_OBJ_NEW_QSTR(MP_QSTR_struct), (mp_obj_t)&mp_module_struct },
+#endif
#if MICROPY_ENABLE_FLOAT
{ MP_OBJ_NEW_QSTR(MP_QSTR_math), (mp_obj_t)&mp_module_math },