commit | b941825fa20a87c7544735fea9e678e17fde2b2d | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Thu Jan 26 18:59:06 2006 +0000 |
committer | Barry Warsaw <barry@python.org> | Thu Jan 26 18:59:06 2006 +0000 |
tree | da5d000cde691e3aa660f52ba28345c30dba8b25 | |
parent | 08e301f8bda33203a89b2a450eb8104d815ff534 [diff] |
Fix PyGC_Collect() to be exported from the built DLL on Windows. (Fix given by Matt Messier).
diff --git a/Include/objimpl.h b/Include/objimpl.h index 40b730c..a9412ce 100644 --- a/Include/objimpl.h +++ b/Include/objimpl.h
@@ -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)