Fix PyGC_Collect() to be exported from the built DLL on Windows. (Fix given

by Matt Messier).
This commit is contained in:
Barry Warsaw 2006-01-26 18:59:06 +00:00
parent 08e301f8bd
commit b941825fa2
1 changed files with 1 additions and 1 deletions

View File

@ -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)