blob: 8fb96cf9a724a93a3fd4720ead756e18ae64f71a [file] [log] [blame]
Guido van Rossumb674c3b1992-01-19 16:32:47 +00001
Fred Drake5eb6d4e2000-07-08 23:37:28 +00002#ifndef Py_INTRCHECK_H
3#define Py_INTRCHECK_H
4#ifdef __cplusplus
5extern "C" {
6#endif
7
Mark Hammond91a681d2002-08-12 07:21:58 +00008PyAPI_FUNC(int) PyOS_InterruptOccurred(void);
9PyAPI_FUNC(void) PyOS_InitInterrupts(void);
10PyAPI_FUNC(void) PyOS_AfterFork(void);
Serhiy Storchaka9fab79b2016-09-11 11:03:14 +030011
12#ifndef Py_LIMITED_API
Antoine Pitrou6dd381e2011-11-21 21:26:56 +010013PyAPI_FUNC(int) _PyOS_IsMainThread(void);
14
15#ifdef MS_WINDOWS
16/* windows.h is not included by Python.h so use void* instead of HANDLE */
17PyAPI_FUNC(void*) _PyOS_SigintEvent(void);
18#endif
Serhiy Storchaka9fab79b2016-09-11 11:03:14 +030019#endif /* !Py_LIMITED_API */
Guido van Rossuma3309961993-07-28 09:05:47 +000020
21#ifdef __cplusplus
22}
23#endif
24#endif /* !Py_INTRCHECK_H */