summaryrefslogtreecommitdiffstatshomepage
path: root/py/modsys.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/modsys.c')
-rw-r--r--py/modsys.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/py/modsys.c b/py/modsys.c
index 51bd6bfbb4..51e10dae54 100644
--- a/py/modsys.c
+++ b/py/modsys.c
@@ -37,6 +37,11 @@
/// \module sys - system specific functions
+// defined per port; type of these is irrelevant, just need pointer
+extern mp_uint_t mp_sys_stdin_obj;
+extern mp_uint_t mp_sys_stdout_obj;
+extern mp_uint_t mp_sys_stderr_obj;
+
// These two lists must be initialised per port (after the call to mp_init).
// TODO document these properly, they aren't constants or functions...
/// \constant path - a mutable list of directories to search for imported modules