mirror of
https://github.com/python/cpython.git
synced 2026-04-04 19:13:16 +00:00
TRACE_REFS -> Py_TRACE_REFS.
Added disgusting hack to force loading of abstract.o.
This commit is contained in:
parent
60be1db9a9
commit
84a9032cd3
1 changed files with 5 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue