diff options
| author | Ayke van Laethem | 2018-06-14 15:57:29 +0200 |
|---|---|---|
| committer | Damien George | 2019-03-08 22:49:00 +1100 |
| commit | 2e516074daee76fb3e0710a893a0f40532bb3252 (patch) | |
| tree | d871d641c10aff22e3d80ad4711310c4b7be4b31 /py/objmodule.c | |
| parent | cf22f4793cb04e8e63a0d11f479a69c9be6c93ba (diff) | |
py: Implement a module system for external, user C modules.
This system makes it a lot easier to include external libraries as static,
native modules in MicroPython. Simply pass USER_C_MODULES (like
FROZEN_MPY_DIR) as a make parameter.
Diffstat (limited to 'py/objmodule.c')
| -rw-r--r-- | py/objmodule.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/py/objmodule.c b/py/objmodule.c index 9191c73ec..04d210260 100644 --- a/py/objmodule.c +++ b/py/objmodule.c @@ -31,8 +31,6 @@ #include "py/runtime.h" #include "py/builtin.h" -#include "genhdr/moduledefs.h" - STATIC void module_print(const mp_print_t *print, mp_obj_t self_in, mp_print_kind_t kind) { (void)kind; mp_obj_module_t *self = MP_OBJ_TO_PTR(self_in); |
