From 596a3feb8fd3cfbaa899c23b010f79a7088863fb Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 10 May 2016 10:54:25 +0100 Subject: py: Add uerrno module, with errno constants and dict. --- py/objmodule.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'py/objmodule.c') diff --git a/py/objmodule.c b/py/objmodule.c index 8c3cb85e67..c7cb644488 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 -- cgit v1.2.3