Guido van Rossum | b674c3b | 1992-01-19 16:32:47 +0000 | [diff] [blame] | 1 | |
Fred Drake | 5eb6d4e | 2000-07-08 23:37:28 +0000 | [diff] [blame] | 2 | #ifndef Py_INTRCHECK_H |
| 3 | #define Py_INTRCHECK_H |
| 4 | #ifdef __cplusplus |
| 5 | extern "C" { |
| 6 | #endif |
| 7 | |
Mark Hammond | 91a681d | 2002-08-12 07:21:58 +0000 | [diff] [blame] | 8 | PyAPI_FUNC(int) PyOS_InterruptOccurred(void); |
| 9 | PyAPI_FUNC(void) PyOS_InitInterrupts(void); |
| 10 | PyAPI_FUNC(void) PyOS_AfterFork(void); |
Antoine Pitrou | 6dd381e | 2011-11-21 21:26:56 +0100 | [diff] [blame] | 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 |
Guido van Rossum | a330996 | 1993-07-28 09:05:47 +0000 | [diff] [blame] | 17 | |
| 18 | #ifdef __cplusplus |
| 19 | } |
| 20 | #endif |
| 21 | #endif /* !Py_INTRCHECK_H */ |