2021-08-08 04:08:33 +00:00
|
|
|
#ifndef Py_INTRCHECK_H
|
|
|
|
#define Py_INTRCHECK_H
|
2021-08-10 17:26:13 +00:00
|
|
|
COSMOPOLITAN_C_START_
|
2021-08-08 04:08:33 +00:00
|
|
|
|
2021-08-12 07:42:14 +00:00
|
|
|
int PyOS_InterruptOccurred(void);
|
|
|
|
void PyOS_InitInterrupts(void);
|
|
|
|
void PyOS_AfterFork(void);
|
2021-08-08 04:08:33 +00:00
|
|
|
|
|
|
|
#ifndef Py_LIMITED_API
|
2021-08-12 07:42:14 +00:00
|
|
|
int _PyOS_IsMainThread(void);
|
2021-08-08 04:08:33 +00:00
|
|
|
|
|
|
|
#ifdef MS_WINDOWS
|
|
|
|
/* windows.h is not included by Python.h so use void* instead of HANDLE */
|
2021-08-12 07:42:14 +00:00
|
|
|
void* _PyOS_SigintEvent(void);
|
2021-08-08 04:08:33 +00:00
|
|
|
#endif
|
|
|
|
#endif /* !Py_LIMITED_API */
|
|
|
|
|
2021-08-10 17:26:13 +00:00
|
|
|
COSMOPOLITAN_C_END_
|
2021-08-08 04:08:33 +00:00
|
|
|
#endif /* !Py_INTRCHECK_H */
|