summaryrefslogtreecommitdiffstats
path: root/PC/python3dll.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-06-21 09:40:09 (GMT)
committerGitHub <noreply@github.com>2023-06-21 09:40:09 (GMT)
commit9c44656febdcf72583e192ea4530fcfb0936c309 (patch)
tree57fc76b2d09c68541c2f6da186494768d52c6502 /PC/python3dll.c
parent4d140e5e067d3315e163c0f1ac2f80c05ec790c6 (diff)
downloadcpython-9c44656febdcf72583e192ea4530fcfb0936c309.zip
cpython-9c44656febdcf72583e192ea4530fcfb0936c309.tar.gz
cpython-9c44656febdcf72583e192ea4530fcfb0936c309.tar.bz2
gh-105927: Add PyWeakref_GetRef() function (#105932)
Add tests on PyWeakref_NewRef(), PyWeakref_GetObject(), PyWeakref_GET_OBJECT() and PyWeakref_GetRef().
Diffstat (limited to 'PC/python3dll.c')
-rwxr-xr-xPC/python3dll.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/PC/python3dll.c b/PC/python3dll.c
index fea19b7..65bdf32 100755
--- a/PC/python3dll.c
+++ b/PC/python3dll.c
@@ -735,6 +735,7 @@ EXPORT_FUNC(PyUnicodeTranslateError_SetStart)
EXPORT_FUNC(PyVectorcall_Call)
EXPORT_FUNC(PyVectorcall_NARGS)
EXPORT_FUNC(PyWeakref_GetObject)
+EXPORT_FUNC(PyWeakref_GetRef)
EXPORT_FUNC(PyWeakref_NewProxy)
EXPORT_FUNC(PyWeakref_NewRef)
EXPORT_FUNC(PyWrapper_New)