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