From b941825fa20a87c7544735fea9e678e17fde2b2d Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Thu, 26 Jan 2006 18:59:06 +0000 Subject: Fix PyGC_Collect() to be exported from the built DLL on Windows. (Fix given by Matt Messier). --- Include/objimpl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12