File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -227,15 +227,6 @@ PyAPI_FUNC(void) PyThreadState_LeaveTracing(PyThreadState *tstate);
227
227
The function returns 1 if _PyGILState_check_enabled is non-zero. */
228
228
PyAPI_FUNC (int ) PyGILState_Check (void );
229
229
230
- /* Get the single PyInterpreterState used by this process' GILState
231
- implementation.
232
-
233
- This function doesn't check for error. Return NULL before _PyGILState_Init()
234
- is called and after _PyGILState_Fini() is called.
235
-
236
- See also PyInterpreterState_Get() and _PyInterpreterState_GET(). */
237
- PyAPI_FUNC (PyInterpreterState * ) _PyGILState_GetInterpreterStateUnsafe (void );
238
-
239
230
/* Routines for advanced debuggers, requested by David Beazley.
240
231
Don't use unless you know what you are doing! */
241
232
PyAPI_FUNC (PyInterpreterState * ) PyInterpreterState_Main (void );
Original file line number Diff line number Diff line change @@ -174,6 +174,14 @@ extern int _PyOS_InterruptOccurred(PyThreadState *tstate);
174
174
// Export for test_peg_generator.
175
175
PyAPI_FUNC (const PyConfig * ) _Py_GetConfig (void );
176
176
177
+ // Get the single PyInterpreterState used by this process' GILState
178
+ // implementation.
179
+ //
180
+ // This function doesn't check for error. Return NULL before _PyGILState_Init()
181
+ // is called and after _PyGILState_Fini() is called.
182
+ //
183
+ // See also PyInterpreterState_Get() and _PyInterpreterState_GET().
184
+ extern PyInterpreterState * _PyGILState_GetInterpreterStateUnsafe (void );
177
185
178
186
#ifdef __cplusplus
179
187
}
You can’t perform that action at this time.
0 commit comments