mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
gh-105927: Add PyWeakref_GetRef() function (#105932)
Add tests on PyWeakref_NewRef(), PyWeakref_GetObject(), PyWeakref_GET_OBJECT() and PyWeakref_GetRef().
This commit is contained in:
parent
4d140e5e06
commit
9c44656feb
11 changed files with 133 additions and 8 deletions
|
|
@ -2813,6 +2813,10 @@ PyWeakref_GET_OBJECT:PyObject*:ref:0:
|
|||
PyWeakref_GetObject:PyObject*::0:
|
||||
PyWeakref_GetObject:PyObject*:ref:0:
|
||||
|
||||
PyWeakref_GetRef:int:::
|
||||
PyWeakref_GetRef:PyObject*:ref:0:
|
||||
PyWeakref_GetRef:PyObject**:pobj:+1:
|
||||
|
||||
PyWeakref_NewProxy:PyObject*::+1:
|
||||
PyWeakref_NewProxy:PyObject*:ob:0:
|
||||
PyWeakref_NewProxy:PyObject*:callback:0:
|
||||
|
|
|
|||
1
Doc/data/stable_abi.dat
generated
1
Doc/data/stable_abi.dat
generated
|
|
@ -781,6 +781,7 @@ function,PyVectorcall_Call,3.12,,
|
|||
function,PyVectorcall_NARGS,3.12,,
|
||||
type,PyWeakReference,3.2,,opaque
|
||||
function,PyWeakref_GetObject,3.2,,
|
||||
function,PyWeakref_GetRef,3.13,,
|
||||
function,PyWeakref_NewProxy,3.2,,
|
||||
function,PyWeakref_NewRef,3.2,,
|
||||
var,PyWrapperDescr_Type,3.2,,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue