commit | e13ddc9ec85287b17fd03454f836f495c1167de9 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Apr 17 17:29:22 2003 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Apr 17 17:29:22 2003 +0000 |
tree | 20de9aa63915e14e39d87fc7a4e88a39c9eb03c7 | |
parent | cf8d285ba321dcb1c479a16d15e0224b3ad05970 [diff] [blame] |
- New C API PyGC_Collect(), same as calling gc.collect(). - Call this in Py_Finalize(). - Expand the Misc/NEWS text on PY_LONG_LONG.
diff --git a/Include/objimpl.h b/Include/objimpl.h index 2b35e67..3679cba 100644 --- a/Include/objimpl.h +++ b/Include/objimpl.h
@@ -228,6 +228,9 @@ * ========================== */ +/* C equivalent of gc.collect(). */ +long PyGC_Collect(void); + /* Test if a type has a GC head */ #define PyType_IS_GC(t) PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)