1
2#ifndef Py_INTRCHECK_H
3#define Py_INTRCHECK_H
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8PyAPI_FUNC(int) PyOS_InterruptOccurred(void);
9PyAPI_FUNC(void) PyOS_InitInterrupts(void);
10PyAPI_FUNC(void) PyOS_AfterFork(void);
11PyAPI_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 */
15PyAPI_FUNC(void*) _PyOS_SigintEvent(void);
16#endif
17
18#ifdef __cplusplus
19}
20#endif
21#endif /* !Py_INTRCHECK_H */
22