TRACE_REFS -> Py_TRACE_REFS.

Added disgusting hack to force loading of abstract.o.
This commit is contained in:
Guido van Rossum 1996-05-22 16:34:47 +00:00
parent 60be1db9a9
commit 84a9032cd3
1 changed files with 5 additions and 1 deletions

View File

@ -473,7 +473,7 @@ object NoObject = {
};
#ifdef TRACE_REFS
#ifdef Py_TRACE_REFS
static object refchain = {&refchain, &refchain};
@ -576,3 +576,7 @@ getobjects(self, args)
/* Hack to force loading of cobject.o */
static PyTypeObject *cobject_hack = &PyCObject_Type;
/* Hack to force loading of abstract.o */
static int (*abstract_hack) FPROTO((PyObject *)) = &PyObject_Length;