diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-08-02 06:14:22 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-08-02 06:14:22 (GMT) |
commit | c5e060dee65a03ca2401487315d6c45dead09fe1 (patch) | |
tree | 6e511f92022cb278324a4a2fb2b581988eed3939 /Include | |
parent | 5fb9c20f2a6c76279e16420255758855d6d98432 (diff) | |
download | cpython-c5e060dee65a03ca2401487315d6c45dead09fe1.zip cpython-c5e060dee65a03ca2401487315d6c45dead09fe1.tar.gz cpython-c5e060dee65a03ca2401487315d6c45dead09fe1.tar.bz2 |
_PyWeakref_GetWeakrefCount() now returns a Py_ssize_t instead of long.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/weakrefobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/weakrefobject.h b/Include/weakrefobject.h index daf490f..0a659b0 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); |