diff options
| author | Cristián Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2024-11-06 11:17:43 +0100 |
|---|---|---|
| committer | Cristián Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2024-12-09 15:08:12 +0100 |
| commit | 09e0acbad03601158a252a4c5d7f15585d6b52ce (patch) | |
| tree | 8bbe30bcdc9826cf75b08aec4945687b59caf736 /sources/pyside6/libpyside/qobjectconnect.cpp | |
| parent | 83d745497f4d2db0c95e1b3586049b9d68848f7d (diff) | |
limited api: Remove PyCFunction_GET_FUNCTION, PyCFunction_GET_SELF, and PyCFunction_GET_FLAGS
Removing old compatibility macros from the initial limited api
implementation.
Change-Id: I3044609ade36b5b378de05934eab8a098450f42f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside6/libpyside/qobjectconnect.cpp')
| -rw-r--r-- | sources/pyside6/libpyside/qobjectconnect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/libpyside/qobjectconnect.cpp b/sources/pyside6/libpyside/qobjectconnect.cpp index b3b0633fa..654b974da 100644 --- a/sources/pyside6/libpyside/qobjectconnect.cpp +++ b/sources/pyside6/libpyside/qobjectconnect.cpp @@ -111,7 +111,7 @@ static GetReceiverResult getReceiver(QMetaMethod signal, PyObject *callback) result.receiver = PySide::convertToQObject(result.self, false); #endif } else if (PyCFunction_Check(callback)) { - result.self = PyCFunction_GET_SELF(callback); + result.self = PyCFunction_GetSelf(callback); result.receiver = PySide::convertToQObject(result.self, false); } else if (PySide::isCompiledMethod(callback)) { result.self = PyObject_GetAttr(callback, Shiboken::PyName::im_self()); |
