summaryrefslogtreecommitdiff
path: root/Include/objimpl.h
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-03-04 20:01:53 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2006-03-04 20:01:53 +0000
commitef7fffa9591adc43aade3df0e98e3387a59cdcf9 (patch)
tree3c66e2e4abfe82833520dd1e44e85ecb444dedcc /Include/objimpl.h
parent12625b1d67a914eb4ffe513d9ea6170f2e1fa4ed (diff)
downloadcpython-ef7fffa9591adc43aade3df0e98e3387a59cdcf9.tar.gz
Make PyGC_Collect() use Py_ssize_t.
Diffstat (limited to 'Include/objimpl.h')
-rw-r--r--Include/objimpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/objimpl.h b/Include/objimpl.h
index f6fd1a4db9..7c6819442d 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)