diff options
author | Damien George <damien.p.george@gmail.com> | 2017-01-20 10:21:30 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-01-22 11:59:29 +1100 |
commit | 9de91914fb7520bd946b87b1832a002c5725f7e8 (patch) | |
tree | 20fe5faa547695699f57863f6c26a60329a72a68 /py/builtinimport.c | |
parent | 1864f90e9a2c0cc12e91c88ddd491b809c5317e5 (diff) | |
download | micropython-9de91914fb7520bd946b87b1832a002c5725f7e8.tar.gz micropython-9de91914fb7520bd946b87b1832a002c5725f7e8.zip |
py: Move weak-link map to objmodule.c, and expose module maps as public.
Diffstat (limited to 'py/builtinimport.c')
-rw-r--r-- | py/builtinimport.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/py/builtinimport.c b/py/builtinimport.c index 329dcb193a..0a917c6f83 100644 --- a/py/builtinimport.c +++ b/py/builtinimport.c @@ -47,14 +47,6 @@ #define PATH_SEP_CHAR '/' -#if MICROPY_MODULE_WEAK_LINKS -STATIC const mp_rom_map_elem_t mp_builtin_module_weak_links_table[] = { - MICROPY_PORT_BUILTIN_MODULE_WEAK_LINKS -}; - -STATIC MP_DEFINE_CONST_MAP(mp_builtin_module_weak_links_map, mp_builtin_module_weak_links_table); -#endif - bool mp_obj_is_package(mp_obj_t module) { mp_obj_t dest[2]; mp_load_method_maybe(module, MP_QSTR___path__, dest); |