aboutsummaryrefslogtreecommitdiff
path: root/py/objmodule.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-01-20 10:21:30 +1100
committerDamien George <damien.p.george@gmail.com>2017-01-22 11:59:29 +1100
commit9de91914fb7520bd946b87b1832a002c5725f7e8 (patch)
tree20fe5faa547695699f57863f6c26a60329a72a68 /py/objmodule.h
parent1864f90e9a2c0cc12e91c88ddd491b809c5317e5 (diff)
py: Move weak-link map to objmodule.c, and expose module maps as public.
Diffstat (limited to 'py/objmodule.h')
-rw-r--r--py/objmodule.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/objmodule.h b/py/objmodule.h
index 138f942c2..937ff8416 100644
--- a/py/objmodule.h
+++ b/py/objmodule.h
@@ -28,6 +28,9 @@
#include "py/obj.h"
+extern const mp_map_t mp_builtin_module_map;
+extern const mp_map_t mp_builtin_module_weak_links_map;
+
void mp_module_init(void);
void mp_module_deinit(void);
mp_obj_t mp_module_get(qstr module_name);