We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ad8898 commit 104602aCopy full SHA for 104602a
1 file changed
Include/weakrefobject.h
@@ -28,7 +28,10 @@ PyAPI_FUNC(PyObject *) PyWeakref_NewRef(PyObject *ob,
28
PyAPI_FUNC(PyObject *) PyWeakref_NewProxy(PyObject *ob,
29
PyObject *callback);
30
Py_DEPRECATED(3.13) PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *ref);
31
+
32
+#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030D0000
33
PyAPI_FUNC(int) PyWeakref_GetRef(PyObject *ref, PyObject **pobj);
34
+#endif
35
36
37
#ifndef Py_LIMITED_API
0 commit comments