diff Include/objimpl.h @ 83835:5abe85aefe29

Issue #17937: Try harder to collect cyclic garbage at shutdown.
author Antoine Pitrou <solipsis@pitrou.net>
date Sun, 19 May 2013 01:11:58 +0200
parents d61a1be9f5c5
children 6661a8154eb3
line wrap: on
line diff
--- a/Include/objimpl.h	Sat May 18 15:47:58 2013 -0700
+++ b/Include/objimpl.h	Sun May 19 01:11:58 2013 +0200
@@ -232,6 +232,10 @@
 /* C equivalent of gc.collect(). */
 PyAPI_FUNC(Py_ssize_t) PyGC_Collect(void);
 
+#ifndef Py_LIMITED_API
+PyAPI_FUNC(Py_ssize_t) _PyGC_CollectNoFail(void);
+#endif
+
 /* Test if a type has a GC head */
 #define PyType_IS_GC(t) PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)