Fix PyGC_Collect() to be exported from the built DLL on Windows. (Fix given
by Matt Messier).
This commit is contained in:
parent
08e301f8bd
commit
b941825fa2
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue