File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -300,10 +300,6 @@ PyAPI_FUNC(void) PyInterpreterWeakRef_Close(PyInterpreterWeakRef wref);
300300 ref = 0; \
301301} while (0)
302302
303- // Exports for '_testcapi' shared extension
304- PyAPI_FUNC (Py_ssize_t ) _PyInterpreterState_Refcount (PyInterpreterState * interp );
305- PyAPI_FUNC (int ) _PyInterpreterState_Incref (PyInterpreterState * interp );
306-
307303PyAPI_FUNC (int ) PyThreadState_Ensure (PyInterpreterRef interp_ref );
308304
309305PyAPI_FUNC (void ) PyThreadState_Release (void );
Original file line number Diff line number Diff line change @@ -328,6 +328,10 @@ _Py_RecursionLimit_GetMargin(PyThreadState *tstate)
328328 return Py_ARITHMETIC_RIGHT_SHIFT (intptr_t , here_addr - (intptr_t )_tstate -> c_stack_soft_limit , PYOS_STACK_MARGIN_SHIFT );
329329}
330330
331+ // Exports for '_testcapi' shared extension
332+ PyAPI_FUNC (Py_ssize_t ) _PyInterpreterState_Refcount (PyInterpreterState * interp );
333+ PyAPI_FUNC (int ) _PyInterpreterState_Incref (PyInterpreterState * interp );
334+
331335#ifdef __cplusplus
332336}
333337#endif
You can’t perform that action at this time.
0 commit comments