summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-02-16 14:56:14 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-02-16 14:56:14 (GMT)
commit41290685f9d5c7aed544bd5db90914ab82f9d213 (patch)
tree754afbf194ffef8e040c83382d9bd6c08af37828 /Include
parentdf40ce3646a4bd099b10a5b92e7333e0141fef7e (diff)
downloadcpython-41290685f9d5c7aed544bd5db90914ab82f9d213.zip
cpython-41290685f9d5c7aed544bd5db90914ab82f9d213.tar.gz
cpython-41290685f9d5c7aed544bd5db90914ab82f9d213.tar.bz2
Change _PyObject_GC_Resize to expect Py_ssize_t.
Diffstat (limited to 'Include')
-rw-r--r--Include/objimpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/objimpl.h b/Include/objimpl.h
index a168c8b..ed521fe 100644
--- a/Include/objimpl.h
+++ b/Include/objimpl.h
@@ -238,7 +238,7 @@ PyAPI_FUNC(long) PyGC_Collect(void);
#define PyObject_IS_GC(o) (PyType_IS_GC((o)->ob_type) && \
((o)->ob_type->tp_is_gc == NULL || (o)->ob_type->tp_is_gc(o)))
-PyAPI_FUNC(PyVarObject *) _PyObject_GC_Resize(PyVarObject *, int);
+PyAPI_FUNC(PyVarObject *) _PyObject_GC_Resize(PyVarObject *, Py_ssize_t);
#define PyObject_GC_Resize(type, op, n) \
( (type *) _PyObject_GC_Resize((PyVarObject *)(op), (n)) )