diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-06-28 03:03:47 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-07-09 19:28:24 +0300 |
commit | 8215847b4d3bbbf859893db44f6de8a9fdea9f35 (patch) | |
tree | 7d8bbf9f219e5ccbda0693b03f335b58d6bd0cf8 /py/builtintables.c | |
parent | 42b6419056a67a0ea8e28eaf27e51f53bc65eec2 (diff) |
moductypes: Foreign data interface module, roughly based on ctype ideas.
But much smaller and memory-efficient. Uses Python builtin data structures
(dict, tuple, int) to describe structure layout.
Diffstat (limited to 'py/builtintables.c')
-rw-r--r-- | py/builtintables.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/py/builtintables.c b/py/builtintables.c index c42cdf89b..ff530b93b 100644 --- a/py/builtintables.c +++ b/py/builtintables.c @@ -190,6 +190,12 @@ STATIC const mp_map_elem_t mp_builtin_module_table[] = { { MP_OBJ_NEW_QSTR(MP_QSTR_gc), (mp_obj_t)&mp_module_gc }, #endif + // extmod modules + +#if MICROPY_PY_UCTYPES + { MP_OBJ_NEW_QSTR(MP_QSTR_uctypes), (mp_obj_t)&mp_module_uctypes }, +#endif + // extra builtin modules as defined by a port MICROPY_PORT_BUILTIN_MODULES }; |