diff options
author | Barry Warsaw <barry@python.org> | 2006-01-26 18:59:06 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2006-01-26 18:59:06 (GMT) |
commit | b941825fa20a87c7544735fea9e678e17fde2b2d (patch) | |
tree | da5d000cde691e3aa660f52ba28345c30dba8b25 /Include | |
parent | 08e301f8bda33203a89b2a450eb8104d815ff534 (diff) | |
download | cpython-b941825fa20a87c7544735fea9e678e17fde2b2d.zip cpython-b941825fa20a87c7544735fea9e678e17fde2b2d.tar.gz cpython-b941825fa20a87c7544735fea9e678e17fde2b2d.tar.bz2 |
Fix PyGC_Collect() to be exported from the built DLL on Windows. (Fix given
by Matt Messier).
Diffstat (limited to 'Include')
-rw-r--r-- | Include/objimpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ PyAPI_FUNC(PyVarObject *) _PyObject_NewVar(PyTypeObject *, int); */ /* 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) |