summaryrefslogtreecommitdiff
path: root/py/objmodule.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-05-10 10:54:25 +0100
committerDamien George <damien.p.george@gmail.com>2016-05-10 23:30:39 +0100
commit596a3feb8fd3cfbaa899c23b010f79a7088863fb (patch)
tree56d60ffbde93913e73bebd7faa5fc5e8fdbcfd37 /py/objmodule.c
parent3f56fd64b86b581780464a13653f9bea1e20dbba (diff)
py: Add uerrno module, with errno constants and dict.
Diffstat (limited to 'py/objmodule.c')
-rw-r--r--py/objmodule.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/objmodule.c b/py/objmodule.c
index 8c3cb85e6..c7cb64448 100644
--- a/py/objmodule.c
+++ b/py/objmodule.c
@@ -163,6 +163,9 @@ STATIC const mp_rom_map_elem_t mp_builtin_module_table[] = {
// extmod modules
+#if MICROPY_PY_UERRNO
+ { MP_ROM_QSTR(MP_QSTR_uerrno), MP_ROM_PTR(&mp_module_uerrno) },
+#endif
#if MICROPY_PY_UCTYPES
{ MP_ROM_QSTR(MP_QSTR_uctypes), MP_ROM_PTR(&mp_module_uctypes) },
#endif