Skip to content

Commit b91b2a7

Browse files
committed
py/mpstate: Don't declare mp_thread_get_state().
It's instead declared by the include of `py/mpthread.h`. Signed-off-by: Damien George <damien@micropython.org>
1 parent 9a4be7d commit b91b2a7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

py/mpstate.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,6 @@ extern mp_state_ctx_t mp_state_ctx;
310310
#define MP_STATE_MAIN_THREAD(x) (mp_state_ctx.thread.x)
311311

312312
#if MICROPY_PY_THREAD
313-
extern mp_state_thread_t *mp_thread_get_state(void);
314313
#define MP_STATE_THREAD(x) (mp_thread_get_state()->x)
315314
#define mp_thread_is_main_thread() (mp_thread_get_state() == &mp_state_ctx.thread)
316315
#else

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy