File tree 2 files changed +11
-9
lines changed
2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,15 @@ struct _signals_runtime_state {
95
95
}
96
96
97
97
98
+ // Export for '_multiprocessing' shared extension
99
+ PyAPI_FUNC (int ) _PyOS_IsMainThread (void );
100
+
101
+ #ifdef MS_WINDOWS
102
+ // <windows.h> is not included by Python.h so use void* instead of HANDLE.
103
+ // Export for '_multiprocessing' shared extension
104
+ PyAPI_FUNC (void * ) _PyOS_SigintEvent (void );
105
+ #endif
106
+
98
107
#ifdef __cplusplus
99
108
}
100
109
#endif
Original file line number Diff line number Diff line change @@ -5,25 +5,18 @@ extern "C" {
5
5
#endif
6
6
7
7
PyAPI_FUNC (int ) PyOS_InterruptOccurred (void );
8
+
8
9
#ifdef HAVE_FORK
9
10
#if !defined(Py_LIMITED_API ) || Py_LIMITED_API + 0 >= 0x03070000
10
11
PyAPI_FUNC (void ) PyOS_BeforeFork (void );
11
12
PyAPI_FUNC (void ) PyOS_AfterFork_Parent (void );
12
13
PyAPI_FUNC (void ) PyOS_AfterFork_Child (void );
13
14
#endif
14
15
#endif
16
+
15
17
/* Deprecated, please use PyOS_AfterFork_Child() instead */
16
18
Py_DEPRECATED (3.7 ) PyAPI_FUNC (void ) PyOS_AfterFork (void );
17
19
18
- #ifndef Py_LIMITED_API
19
- PyAPI_FUNC (int ) _PyOS_IsMainThread (void );
20
-
21
- #ifdef MS_WINDOWS
22
- /* windows.h is not included by Python.h so use void* instead of HANDLE */
23
- PyAPI_FUNC (void * ) _PyOS_SigintEvent (void );
24
- #endif
25
- #endif /* !Py_LIMITED_API */
26
-
27
20
#ifdef __cplusplus
28
21
}
29
22
#endif
You can’t perform that action at this time.
0 commit comments