1 | |
---|---|
2 | #ifndef Py_INTRCHECK_H |
3 | #define Py_INTRCHECK_H |
4 | #ifdef __cplusplus |
5 | extern "C"{ |
6 | #endif |
7 | |
8 | PyAPI_FUNC(int) PyOS_InterruptOccurred(void); |
9 | PyAPI_FUNC(void) PyOS_InitInterrupts(void); |
10 | PyAPI_FUNC(void) PyOS_AfterFork(void); |
11 | PyAPI_FUNC(int) _PyOS_IsMainThread(void); |
12 | |
13 | #ifdef MS_WINDOWS |
14 | /* windows.h is not included by Python.h so use void* instead of HANDLE */ |
15 | PyAPI_FUNC(void*) _PyOS_SigintEvent(void); |
16 | #endif |
17 | |
18 | #ifdef __cplusplus |
19 | } |
20 | #endif |
21 | #endif /* !Py_INTRCHECK_H */ |
22 |