diff options
Diffstat (limited to 'py/mpstate.h')
| -rw-r--r-- | py/mpstate.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/py/mpstate.h b/py/mpstate.h index d0baad2b7..e9e38606e 100644 --- a/py/mpstate.h +++ b/py/mpstate.h @@ -100,9 +100,8 @@ typedef struct _mp_state_vm_t { #endif #endif - // map with loaded modules - // TODO: expose as sys.modules - mp_map_t mp_loaded_modules_map; + // dictionary with loaded modules (may be exposed as sys.modules) + mp_obj_dict_t mp_loaded_modules_dict; // pending exception object (MP_OBJ_NULL if not pending) volatile mp_obj_t mp_pending_exception; |
