Proper support for registering builtin modules in ROM.

Comes with some refactoring of code and renaming of files.  All modules
are now named mod*.[ch].
This commit is contained in:
Damien George
2014-03-25 14:18:18 +00:00
parent 1dfde891e3
commit caac542b23
26 changed files with 297 additions and 196 deletions

4
py/objmodule.h Normal file
View File

@@ -0,0 +1,4 @@
void mp_module_init(void);
void mp_module_deinit(void);
mp_obj_t mp_module_get(qstr module_name);
void mp_module_register(qstr qstr, mp_obj_t module);