Skip to content

Commit 3a8c6b6

Browse files
horakivotimfel
authored andcommitted
[GR-52271] Missing symbol PyTruffleWeakref_GET_OBJECT
PullRequest: graalpython/3212
2 parents 161c0e7 + 2ac08cf commit 3a8c6b6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

graalpython/com.oracle.graal.python.cext/include/cpython/weakrefobject.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@ PyAPI_FUNC(Py_ssize_t) _PyWeakref_GetWeakrefCount(PyWeakReference *head);
4141

4242
PyAPI_FUNC(void) _PyWeakref_ClearRef(PyWeakReference *self);
4343

44-
PyAPI_FUNC(PyObject*) PyTruffleWeakref_GET_OBJECT(PyObject *ref_obj);
4544
static inline PyObject* PyWeakref_GET_OBJECT(PyObject *ref_obj) {
46-
return PyTruffleWeakref_GET_OBJECT(ref_obj);
45+
return PyWeakref_GetObject(ref_obj);
4746
}
4847
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
4948
# define PyWeakref_GET_OBJECT(ref) PyWeakref_GET_OBJECT(_PyObject_CAST(ref))

0 commit comments

Comments
 (0)