TRACE_REFS -> Py_TRACE_REFS
This commit is contained in:
parent
4b0538c472
commit
7f3f2c1819
|
@ -182,7 +182,7 @@ sys_getcounts(self, args)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef TRACE_REFS
|
||||
#ifdef Py_TRACE_REFS
|
||||
extern PyObject *getobjects Py_PROTO((PyObject *, PyObject *));
|
||||
#endif
|
||||
static struct methodlist sys_methods[] = {
|
||||
|
@ -191,7 +191,7 @@ static struct methodlist sys_methods[] = {
|
|||
#ifdef COUNT_ALLOCS
|
||||
{"getcounts", sys_getcounts, 0},
|
||||
#endif
|
||||
#ifdef TRACE_REFS
|
||||
#ifdef Py_TRACE_REFS
|
||||
{"getobjects", getobjects, 1},
|
||||
#endif
|
||||
#ifdef USE_MALLOPT
|
||||
|
|
Loading…
Reference in New Issue