summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-08-02 06:14:22 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2006-08-02 06:14:22 +0000
commit70c5b60cf515d924cb51e1dd200f5f749c135576 (patch)
tree38a5283a40b1c5cfb5a8f650e75176924553c625 /Include
parent5f54d34d80744ba4fa103a1a7db7761e3052c978 (diff)
downloadcpython-70c5b60cf515d924cb51e1dd200f5f749c135576.tar.gz
_PyWeakref_GetWeakrefCount() now returns a Py_ssize_t instead of long.
Diffstat (limited to 'Include')
-rw-r--r--Include/weakrefobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/weakrefobject.h b/Include/weakrefobject.h
index daf490f50c..0a659b027c 100644
--- a/Include/weakrefobject.h
+++ b/Include/weakrefobject.h
@@ -62,7 +62,7 @@ PyAPI_FUNC(PyObject *) PyWeakref_NewProxy(PyObject *ob,
PyObject *callback);
PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *ref);
-PyAPI_FUNC(long) _PyWeakref_GetWeakrefCount(PyWeakReference *head);
+PyAPI_FUNC(Py_ssize_t) _PyWeakref_GetWeakrefCount(PyWeakReference *head);
PyAPI_FUNC(void) _PyWeakref_ClearRef(PyWeakReference *self);