diff options
author | Guido van Rossum <guido@python.org> | 1996-05-22 16:34:47 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-05-22 16:34:47 (GMT) |
commit | 84a9032cd3779e240f78ccf95b31822c4e7d0046 (patch) | |
tree | 008bf12dadfe749bba0dd0dfbab81c494e07f92a | |
parent | 60be1db9a9614229626d0d0b5f003002ff725058 (diff) | |
download | cpython-84a9032cd3779e240f78ccf95b31822c4e7d0046.zip cpython-84a9032cd3779e240f78ccf95b31822c4e7d0046.tar.gz cpython-84a9032cd3779e240f78ccf95b31822c4e7d0046.tar.bz2 |
TRACE_REFS -> Py_TRACE_REFS.
Added disgusting hack to force loading of abstract.o.
-rw-r--r-- | Objects/object.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Objects/object.c b/Objects/object.c index fa35b80..747657c 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -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; |