diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-04 20:01:53 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-04 20:01:53 (GMT) |
commit | 7b216c52e431360a630be65c349b113a0486121d (patch) | |
tree | add38dd2477ac7225cfb1de13c6b05b1e5598a09 /Include/objimpl.h | |
parent | 84632ee319b0fa194e7d20e3983b99ae28335e70 (diff) | |
download | cpython-7b216c52e431360a630be65c349b113a0486121d.zip cpython-7b216c52e431360a630be65c349b113a0486121d.tar.gz cpython-7b216c52e431360a630be65c349b113a0486121d.tar.bz2 |
Make PyGC_Collect() use Py_ssize_t.
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 f6fd1a4..7c68194 100644 --- a/Include/objimpl.h +++ b/Include/objimpl.h @@ -229,7 +229,7 @@ PyAPI_FUNC(PyVarObject *) _PyObject_NewVar(PyTypeObject *, Py_ssize_t); */ /* 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) |