1 #ifndef Py_INTRCHECK_H 2 #define Py_INTRCHECK_H 3 #ifdef __cplusplus 4 extern "C" { 5 #endif 6 7 PyAPI_FUNC(int) PyOS_InterruptOccurred(void); 8 9 #ifdef HAVE_FORK 10 #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03070000 11 PyAPI_FUNC(void) PyOS_BeforeFork(void); 12 PyAPI_FUNC(void) PyOS_AfterFork_Parent(void); 13 PyAPI_FUNC(void) PyOS_AfterFork_Child(void); 14 #endif 15 #endif 16 17 /* Deprecated, please use PyOS_AfterFork_Child() instead */ 18 Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyOS_AfterFork(void); 19 20 #ifdef __cplusplus 21 } 22 #endif 23 #endif /* !Py_INTRCHECK_H */ 24