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);
9
9
PyAPI_FUNC (void ) _Py_ForgetReference (PyObject * );
10
10
#endif
11
11
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
-
16
12
#ifdef Py_REF_DEBUG
17
13
PyAPI_FUNC (Py_ssize_t ) _Py_GetRefTotal (void );
18
14
#endif
Original file line number Diff line number Diff line change @@ -15,6 +15,12 @@ extern "C" {
15
15
PyAPI_FUNC (int ) _PyType_CheckConsistency (PyTypeObject * type );
16
16
PyAPI_FUNC (int ) _PyDict_CheckConsistency (PyObject * mp , int check_content );
17
17
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
+
18
24
// Fast inlined version of PyType_HasFeature()
19
25
static inline int
20
26
_PyType_HasFeature (PyTypeObject * type , unsigned long feature ) {
You can’t perform that action at this time.
0 commit comments