diff options
| author | Barry Warsaw <barry@python.org> | 2006-01-26 18:59:06 +0000 |
|---|---|---|
| committer | Barry Warsaw <barry@python.org> | 2006-01-26 18:59:06 +0000 |
| commit | b941825fa20a87c7544735fea9e678e17fde2b2d (patch) | |
| tree | da5d000cde691e3aa660f52ba28345c30dba8b25 /Include/objimpl.h | |
| parent | 08e301f8bda33203a89b2a450eb8104d815ff534 (diff) | |
| download | cpython-git-b941825fa20a87c7544735fea9e678e17fde2b2d.tar.gz | |
Fix PyGC_Collect() to be exported from the built DLL on Windows. (Fix given
by Matt Messier).
Diffstat (limited to 'Include/objimpl.h')
| -rw-r--r-- | Include/objimpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/objimpl.h b/Include/objimpl.h index 40b730c414..a9412ce713 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) |
