mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue