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.
2 parents 161c0e7 + 2ac08cf commit 3a8c6b6Copy full SHA for 3a8c6b6
graalpython/com.oracle.graal.python.cext/include/cpython/weakrefobject.h
@@ -41,9 +41,8 @@ PyAPI_FUNC(Py_ssize_t) _PyWeakref_GetWeakrefCount(PyWeakReference *head);
41
42
PyAPI_FUNC(void) _PyWeakref_ClearRef(PyWeakReference *self);
43
44
-PyAPI_FUNC(PyObject*) PyTruffleWeakref_GET_OBJECT(PyObject *ref_obj);
45
static inline PyObject* PyWeakref_GET_OBJECT(PyObject *ref_obj) {
46
- return PyTruffleWeakref_GET_OBJECT(ref_obj);
+ return PyWeakref_GetObject(ref_obj);
47
}
48
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
49
# define PyWeakref_GET_OBJECT(ref) PyWeakref_GET_OBJECT(_PyObject_CAST(ref))
0 commit comments