]> granicus.if.org Git - python/commitdiff
Fix PyGC_Collect() to be exported from the built DLL on Windows. (Fix given
authorBarry Warsaw <barry@python.org>
Thu, 26 Jan 2006 18:59:06 +0000 (18:59 +0000)
committerBarry Warsaw <barry@python.org>
Thu, 26 Jan 2006 18:59:06 +0000 (18:59 +0000)
by Matt Messier).

Include/objimpl.h

index 40b730c41406aa392757b1115dc75c33a7fe7df2..a9412ce7135f011174ba9ebbece73a51a33994f4 100644 (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)