Mercurial > cpython-lru_cache-weakref
diff Include/objimpl.h @ 36415:cde6ea091aaa legacy-trunk
Fix PyGC_Collect() to be exported from the built DLL on Windows. (Fix given
by Matt Messier).
| author | Barry Warsaw <barry@python.org> |
|---|---|
| date | Thu, 26 Jan 2006 18:59:06 +0000 |
| parents | 9d838dd967b2 |
| children | 7fdc639bc5b4 |
line wrap: on
line diff
--- a/Include/objimpl.h Wed Jan 25 08:39:35 2006 +0000 +++ b/Include/objimpl.h Thu Jan 26 18:59:06 2006 +0000 @@ -229,7 +229,7 @@ */ /* C equivalent of gc.collect(). */ -long PyGC_Collect(void); +PyAPI_FUNC(long) PyGC_Collect(void); /* Test if a type has a GC head */ #define PyType_IS_GC(t) PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
