We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a4be7d commit b91b2a7Copy full SHA for b91b2a7
py/mpstate.h
@@ -310,7 +310,6 @@ extern mp_state_ctx_t mp_state_ctx;
310
#define MP_STATE_MAIN_THREAD(x) (mp_state_ctx.thread.x)
311
312
#if MICROPY_PY_THREAD
313
-extern mp_state_thread_t *mp_thread_get_state(void);
314
#define MP_STATE_THREAD(x) (mp_thread_get_state()->x)
315
#define mp_thread_is_main_thread() (mp_thread_get_state() == &mp_state_ctx.thread)
316
#else
0 commit comments