commit | 7b216c52e431360a630be65c349b113a0486121d | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Sat Mar 04 20:01:53 2006 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Sat Mar 04 20:01:53 2006 +0000 |
tree | add38dd2477ac7225cfb1de13c6b05b1e5598a09 | |
parent | 84632ee319b0fa194e7d20e3983b99ae28335e70 [diff] [blame] |
Make PyGC_Collect() use Py_ssize_t.
diff --git a/Include/objimpl.h b/Include/objimpl.h index f6fd1a4..7c68194 100644 --- a/Include/objimpl.h +++ b/Include/objimpl.h
@@ -229,7 +229,7 @@ */ /* C equivalent of gc.collect(). */ -PyAPI_FUNC(long) PyGC_Collect(void); +PyAPI_FUNC(Py_ssize_t) PyGC_Collect(void); /* Test if a type has a GC head */ #define PyType_IS_GC(t) PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)