File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,6 @@ PyAPI_FUNC(void) _Py_NewReference(PyObject *op);
99PyAPI_FUNC (void ) _Py_ForgetReference (PyObject * );
1010#endif
1111
12- /* Update the Python traceback of an object. This function must be called
13- when a memory block is reused from a free list. */
14- PyAPI_FUNC (int ) _PyTraceMalloc_NewReference (PyObject * op );
15-
1612#ifdef Py_REF_DEBUG
1713PyAPI_FUNC (Py_ssize_t ) _Py_GetRefTotal (void );
1814#endif
Original file line number Diff line number Diff line change @@ -15,6 +15,12 @@ extern "C" {
1515PyAPI_FUNC (int ) _PyType_CheckConsistency (PyTypeObject * type );
1616PyAPI_FUNC (int ) _PyDict_CheckConsistency (PyObject * mp , int check_content );
1717
18+ /* Update the Python traceback of an object. This function must be called
19+ when a memory block is reused from a free list.
20+
21+ Internal function called by _Py_NewReference(). */
22+ extern int _PyTraceMalloc_NewReference (PyObject * op );
23+
1824// Fast inlined version of PyType_HasFeature()
1925static inline int
2026_PyType_HasFeature (PyTypeObject * type , unsigned long feature ) {
You can’t perform that action at this time.
0 commit comments