summaryrefslogtreecommitdiffstats
path: root/Include/classobject.h
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-02-14 12:47:33 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-02-14 12:47:33 (GMT)
commit3b718a79af900fdacaf0b825137f69eadc753765 (patch)
tree71cbe9fcb7b94a2611e5f62cf329285270615e22 /Include/classobject.h
parent50361d4d9b3e8729aa535c3dfde3d9d2ad899d47 (diff)
downloadcpython-3b718a79af900fdacaf0b825137f69eadc753765.zip
cpython-3b718a79af900fdacaf0b825137f69eadc753765.tar.gz
cpython-3b718a79af900fdacaf0b825137f69eadc753765.tar.bz2
Implemented Martin's suggestion to clear the free lists during the garbage collection of the highest generation.
Diffstat (limited to 'Include/classobject.h')
-rw-r--r--Include/classobject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/classobject.h b/Include/classobject.h
index 8f8db7d..118dd09 100644
--- a/Include/classobject.h
+++ b/Include/classobject.h
@@ -74,6 +74,7 @@ PyAPI_FUNC(PyObject *) _PyInstance_Lookup(PyObject *pinst, PyObject *name);
PyAPI_FUNC(int) PyClass_IsSubclass(PyObject *, PyObject *);
+PyAPI_FUNC(int) PyMethod_ClearFreeList(void);
#ifdef __cplusplus
}