diff options
author | Damien George <damien.p.george@gmail.com> | 2015-01-12 22:30:49 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-01-12 22:30:49 +0000 |
commit | cd3420740909b3b6a2140b613b591b7556b417a2 (patch) | |
tree | 767cea7dc4f378781da48d90fe0952c74979ac63 /py/modsys.c | |
parent | 3dd1c0a88aadb2fef210375709a32b6fdf88d3a7 (diff) |
py: Can compile with -Wmissing-declarations and -Wmissing-prototypes.
Diffstat (limited to 'py/modsys.c')
-rw-r--r-- | py/modsys.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/py/modsys.c b/py/modsys.c index 51bd6bfbb..51e10dae5 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 |