mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +00:00
_PyWeakref_GetWeakrefCount() now returns a Py_ssize_t instead of long.
This commit is contained in:
parent
5fb9c20f2a
commit
c5e060dee6
4 changed files with 9 additions and 6 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue