diff options
author | Guido van Rossum <guido@python.org> | 1996-05-22 16:34:47 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-05-22 16:34:47 +0000 |
commit | 84a9032cd3779e240f78ccf95b31822c4e7d0046 (patch) | |
tree | 008bf12dadfe749bba0dd0dfbab81c494e07f92a /Objects/object.c | |
parent | 60be1db9a9614229626d0d0b5f003002ff725058 (diff) | |
download | cpython-git-84a9032cd3779e240f78ccf95b31822c4e7d0046.tar.gz |
TRACE_REFS -> Py_TRACE_REFS.
Added disgusting hack to force loading of abstract.o.
Diffstat (limited to 'Objects/object.c')
-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 fa35b80849..747657cd22 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; |