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,6 +300,10 @@ 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+
303307PyAPI_FUNC (int ) PyThreadState_Ensure (PyInterpreterRef interp_ref );
304308
305309PyAPI_FUNC (void ) PyThreadState_Release (void );
Original file line number Diff line number Diff line change @@ -328,10 +328,6 @@ _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-
335331#ifdef __cplusplus
336332}
337333#endif
You can’t perform that action at this time.
0 commit comments