1992-01-19 12:32:47 -04:00
|
|
|
|
2000-07-08 20:37:28 -03:00
|
|
|
#ifndef Py_INTRCHECK_H
|
|
|
|
#define Py_INTRCHECK_H
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2002-08-12 04:21:58 -03:00
|
|
|
PyAPI_FUNC(int) PyOS_InterruptOccurred(void);
|
|
|
|
PyAPI_FUNC(void) PyOS_InitInterrupts(void);
|
|
|
|
PyAPI_FUNC(void) PyOS_AfterFork(void);
|
2011-11-21 16:26:56 -04:00
|
|
|
PyAPI_FUNC(int) _PyOS_IsMainThread(void);
|
|
|
|
|
|
|
|
#ifdef MS_WINDOWS
|
|
|
|
/* windows.h is not included by Python.h so use void* instead of HANDLE */
|
|
|
|
PyAPI_FUNC(void*) _PyOS_SigintEvent(void);
|
|
|
|
#endif
|
1993-07-28 06:05:47 -03:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif /* !Py_INTRCHECK_H */
|