_PyWeakref_GetWeakrefCount() now returns a Py_ssize_t instead of long.

This commit is contained in:
Neal Norwitz 2006-08-02 06:14:22 +00:00
parent 5fb9c20f2a
commit c5e060dee6
4 changed files with 9 additions and 6 deletions

View file

@ -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);