annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/python3.8/intrcheck.h @ 69:33d812a61356

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 17:55:14 -0400
parents
children
rev   line source
jpayne@69 1
jpayne@69 2 #ifndef Py_INTRCHECK_H
jpayne@69 3 #define Py_INTRCHECK_H
jpayne@69 4 #ifdef __cplusplus
jpayne@69 5 extern "C" {
jpayne@69 6 #endif
jpayne@69 7
jpayne@69 8 PyAPI_FUNC(int) PyOS_InterruptOccurred(void);
jpayne@69 9 PyAPI_FUNC(void) PyOS_InitInterrupts(void);
jpayne@69 10 #ifdef HAVE_FORK
jpayne@69 11 #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03070000
jpayne@69 12 PyAPI_FUNC(void) PyOS_BeforeFork(void);
jpayne@69 13 PyAPI_FUNC(void) PyOS_AfterFork_Parent(void);
jpayne@69 14 PyAPI_FUNC(void) PyOS_AfterFork_Child(void);
jpayne@69 15 #endif
jpayne@69 16 #endif
jpayne@69 17 /* Deprecated, please use PyOS_AfterFork_Child() instead */
jpayne@69 18 Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyOS_AfterFork(void);
jpayne@69 19
jpayne@69 20 #ifndef Py_LIMITED_API
jpayne@69 21 PyAPI_FUNC(int) _PyOS_IsMainThread(void);
jpayne@69 22 PyAPI_FUNC(void) _PySignal_AfterFork(void);
jpayne@69 23
jpayne@69 24 #ifdef MS_WINDOWS
jpayne@69 25 /* windows.h is not included by Python.h so use void* instead of HANDLE */
jpayne@69 26 PyAPI_FUNC(void*) _PyOS_SigintEvent(void);
jpayne@69 27 #endif
jpayne@69 28 #endif /* !Py_LIMITED_API */
jpayne@69 29
jpayne@69 30 #ifdef __cplusplus
jpayne@69 31 }
jpayne@69 32 #endif
jpayne@69 33 #endif /* !Py_INTRCHECK_H */