comparison 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
comparison
equal deleted inserted replaced
67:0e9998148a16 69:33d812a61356
1
2 #ifndef Py_INTRCHECK_H
3 #define Py_INTRCHECK_H
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 PyAPI_FUNC(int) PyOS_InterruptOccurred(void);
9 PyAPI_FUNC(void) PyOS_InitInterrupts(void);
10 #ifdef HAVE_FORK
11 #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03070000
12 PyAPI_FUNC(void) PyOS_BeforeFork(void);
13 PyAPI_FUNC(void) PyOS_AfterFork_Parent(void);
14 PyAPI_FUNC(void) PyOS_AfterFork_Child(void);
15 #endif
16 #endif
17 /* Deprecated, please use PyOS_AfterFork_Child() instead */
18 Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyOS_AfterFork(void);
19
20 #ifndef Py_LIMITED_API
21 PyAPI_FUNC(int) _PyOS_IsMainThread(void);
22 PyAPI_FUNC(void) _PySignal_AfterFork(void);
23
24 #ifdef MS_WINDOWS
25 /* windows.h is not included by Python.h so use void* instead of HANDLE */
26 PyAPI_FUNC(void*) _PyOS_SigintEvent(void);
27 #endif
28 #endif /* !Py_LIMITED_API */
29
30 #ifdef __cplusplus
31 }
32 #endif
33 #endif /* !Py_INTRCHECK_H */