diff options
Diffstat (limited to 'Include/pystate.h')
-rw-r--r-- | Include/pystate.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/pystate.h b/Include/pystate.h index be56497..27ffe32 100644 --- a/Include/pystate.h +++ b/Include/pystate.h @@ -66,6 +66,9 @@ DL_IMPORT(void) PyInterpreterState_Delete(PyInterpreterState *); DL_IMPORT(PyThreadState *) PyThreadState_New(PyInterpreterState *); DL_IMPORT(void) PyThreadState_Clear(PyThreadState *); DL_IMPORT(void) PyThreadState_Delete(PyThreadState *); +#ifdef WITH_THREAD +DL_IMPORT(void) PyThreadState_DeleteCurrent(void); +#endif DL_IMPORT(PyThreadState *) PyThreadState_Get(void); DL_IMPORT(PyThreadState *) PyThreadState_Swap(PyThreadState *); |