From: Barry Warsaw Date: Thu, 26 Jan 2006 18:49:57 +0000 (+0000) Subject: Fix PyGC_Collect() to be exported from the built DLL on Windows. (Fix given X-Git-Tag: v2.4.3c1~98 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f5eccd0ac4aa525cba17d8cfef66763277eb9932;p=thirdparty%2FPython%2Fcpython.git 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 40b730c41406..a9412ce7135f 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)