Searched refs:sys_exitfunc (Results 1 – 4 of 4) sorted by relevance
170 mp_obj_t old = MP_STATE_VM(sys_exitfunc); in mp_sys_atexit()171 MP_STATE_VM(sys_exitfunc) = obj; in mp_sys_atexit()
151 mp_obj_t sys_exitfunc; member
126 MP_STATE_VM(sys_exitfunc) = mp_const_none; in mp_init()
692 if (mp_obj_is_callable(MP_STATE_VM(sys_exitfunc))) { in main_()693 mp_call_function_0(MP_STATE_VM(sys_exitfunc)); in main_()