diff options
author | Damien George <damien.p.george@gmail.com> | 2014-04-26 10:31:15 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-04-26 10:31:15 +0100 |
commit | 107c9fb235150d4f18309fb3ca61411e045ae669 (patch) | |
tree | 413db9d2c8695d1ae768c9ce480713904955aef5 /py/builtintables.c | |
parent | 1463c1fa82e930edfef9df9b70c6b8c12cdcb1c1 (diff) |
py: Make collections module configurable, enabled by default.
Diffstat (limited to 'py/builtintables.c')
-rw-r--r-- | py/builtintables.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/py/builtintables.c b/py/builtintables.c index 940647d25..e6461ad80 100644 --- a/py/builtintables.c +++ b/py/builtintables.c @@ -132,7 +132,9 @@ STATIC const mp_map_elem_t mp_builtin_module_table[] = { #if MICROPY_ENABLE_MOD_IO { MP_OBJ_NEW_QSTR(MP_QSTR_io), (mp_obj_t)&mp_module_io }, #endif +#if MICROPY_ENABLE_MOD_COLLECTIONS { MP_OBJ_NEW_QSTR(MP_QSTR__collections), (mp_obj_t)&mp_module_collections }, +#endif #if MICROPY_ENABLE_MOD_STRUCT { MP_OBJ_NEW_QSTR(MP_QSTR_struct), (mp_obj_t)&mp_module_struct }, #endif |