]> granicus.if.org Git - python/commitdiff
TRACE_REFS -> Py_TRACE_REFS.
authorGuido van Rossum <guido@python.org>
Wed, 22 May 1996 16:34:47 +0000 (16:34 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 22 May 1996 16:34:47 +0000 (16:34 +0000)
Added disgusting hack to force loading of abstract.o.

Objects/object.c

index fa35b80849ae1925126aff2b13660c1dca948f87..747657cd22c254f4dce9ca89397a789a77f948ff 100644 (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;