From: Guido van Rossum Date: Wed, 22 May 1996 16:34:47 +0000 (+0000) Subject: TRACE_REFS -> Py_TRACE_REFS. X-Git-Tag: v1.4b1~168 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=84a9032cd3779e240f78ccf95b31822c4e7d0046;p=python TRACE_REFS -> Py_TRACE_REFS. Added disgusting hack to force loading of abstract.o. --- 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;