py: Put all global state together in state structures.
This patch consolidates all global variables in py/ core into one place, in a global structure. Root pointers are all located together to make GC tracing easier and more efficient.
This commit is contained in:
@@ -90,7 +90,6 @@ extern const mp_obj_module_t mp_module_sys;
|
||||
extern const mp_obj_module_t mp_module_gc;
|
||||
|
||||
extern const mp_obj_dict_t mp_module_builtins_globals;
|
||||
extern mp_obj_dict_t *mp_module_builtins_override_dict;
|
||||
|
||||
struct _dummy_t;
|
||||
extern struct _dummy_t mp_sys_stdin_obj;
|
||||
|
||||
Reference in New Issue
Block a user