summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-11-03 17:18:57 (GMT)
committerGitHub <noreply@github.com>2023-11-03 17:18:57 (GMT)
commit20cfab903db70cf952128bc6b606e3ec4a216498 (patch)
treedfed10d60f9b45ebc0cf52c2351859a328371e53 /PC
parente0afed7e276b6611a2142ec70a0440298d528305 (diff)
downloadcpython-20cfab903db70cf952128bc6b606e3ec4a216498.zip
cpython-20cfab903db70cf952128bc6b606e3ec4a216498.tar.gz
cpython-20cfab903db70cf952128bc6b606e3ec4a216498.tar.bz2
gh-111506: Implement Py_SET_REFCNT() as opaque function in limited C API (#111508)
In the limited C API version 3.13, Py_SET_REFCNT() function is now implemented as an opaque function call. Add _Py_SetRefcnt() to the stable ABI.
Diffstat (limited to 'PC')
-rwxr-xr-xPC/python3dll.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/PC/python3dll.c b/PC/python3dll.c
index 7f5d97a..fa6bf1f 100755
--- a/PC/python3dll.c
+++ b/PC/python3dll.c
@@ -19,6 +19,7 @@ EXPORT_FUNC(_Py_Dealloc)
EXPORT_FUNC(_Py_DecRef)
EXPORT_FUNC(_Py_IncRef)
EXPORT_FUNC(_Py_NegativeRefcount)
+EXPORT_FUNC(_Py_SetRefcnt)
EXPORT_FUNC(_Py_VaBuildValue_SizeT)
EXPORT_FUNC(_PyArg_Parse_SizeT)
EXPORT_FUNC(_PyArg_ParseTuple_SizeT)