summaryrefslogtreecommitdiff
path: root/py/builtin.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-04-03 14:57:53 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-04-03 22:08:57 +0300
commit98a627dc03bc02e1b827ead8cc71b02259731551 (patch)
treed6c57e86f9a95c2aeeb65eec6d9eb3e78461a0d9 /py/builtin.h
parent8270e3853dc167d2d7946bb0de7a0f0bb2adde48 (diff)
py: Add "io" module.
So far just includes "open" function, which should be supplied by a port. TODO: Make the module #ifdef'ed.
Diffstat (limited to 'py/builtin.h')
-rw-r--r--py/builtin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/builtin.h b/py/builtin.h
index 50269dfe1..3120e5baf 100644
--- a/py/builtin.h
+++ b/py/builtin.h
@@ -35,5 +35,6 @@ MP_DECLARE_CONST_FUN_OBJ(mp_namedtuple_obj);
extern const mp_obj_module_t mp_module_array;
extern const mp_obj_module_t mp_module_collections;
+extern const mp_obj_module_t mp_module_io;
extern const mp_obj_module_t mp_module_math;
extern const mp_obj_module_t mp_module_micropython;