aboutsummaryrefslogtreecommitdiff
path: root/py/builtintables.c
diff options
context:
space:
mode:
authorPaul Sokolovsky2014-05-06 02:16:43 +0300
committerPaul Sokolovsky2014-05-06 02:28:49 +0300
commitf9e54e0ea53c774c4458c4af11764e5b929a2b33 (patch)
treec3caecd5b32920f55aff1b7d553be316c6dbf454 /py/builtintables.c
parent912ca7701d0749b6b1442e4e7e6e8cf979b10e2d (diff)
modgc: Add new module for GC-related functionality.
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 ca15636a5..c064bb439 100644
--- a/py/builtintables.c
+++ b/py/builtintables.c
@@ -174,6 +174,9 @@ STATIC const mp_map_elem_t mp_builtin_module_table[] = {
#if MICROPY_ENABLE_MOD_SYS
{ MP_OBJ_NEW_QSTR(MP_QSTR_sys), (mp_obj_t)&mp_module_sys },
#endif
+#if MICROPY_ENABLE_MOD_GC && MICROPY_ENABLE_GC
+ { MP_OBJ_NEW_QSTR(MP_QSTR_gc), (mp_obj_t)&mp_module_gc },
+#endif
// extra builtin modules as defined by a port
MICROPY_EXTRA_BUILTIN_MODULES