From: Barry Warsaw Date: Thu, 26 Jan 2006 18:59:06 +0000 (+0000) Subject: Fix PyGC_Collect() to be exported from the built DLL on Windows. (Fix given X-Git-Tag: v2.5a0~740 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b941825fa20a87c7544735fea9e678e17fde2b2d;p=python 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 40b730c414..a9412ce713 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)