summaryrefslogtreecommitdiffstats
path: root/Include/objimpl.h
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-03-04 20:01:53 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-03-04 20:01:53 (GMT)
commit7b216c52e431360a630be65c349b113a0486121d (patch)
treeadd38dd2477ac7225cfb1de13c6b05b1e5598a09 /Include/objimpl.h
parent84632ee319b0fa194e7d20e3983b99ae28335e70 (diff)
downloadcpython-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.h2
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)