summaryrefslogtreecommitdiffstats
path: root/siplib/qtlib.c
diff options
context:
space:
mode:
authoraneejit1 <aneejit1@gmail.com>2022-05-25 14:18:49 +0000
committerSlávek Banko <slavek.banko@axis.cz>2022-05-30 18:52:49 +0200
commit9149eaf253a79656c13d4614c7d03c37af949415 (patch)
tree43236d46d996d90215f2cf68314985a8048a597a /siplib/qtlib.c
parent1eb067b439c19d9336c44e438721decdbd1ea20e (diff)
downloadsip4-tqt-9149eaf253a79656c13d4614c7d03c37af949415.tar.gz
sip4-tqt-9149eaf253a79656c13d4614c7d03c37af949415.zip
Make sip_api_get_address a public API functionr14.0.13r14.0.x
The sipGetAddress function has been renamed as sip_api_get_address and made available as part of the public API. Signed-off-by: aneejit1 <aneejit1@gmail.com> (cherry picked from commit b92a3b0a4eb3cf0790904121c803717ebbbabd55)
Diffstat (limited to 'siplib/qtlib.c')
-rw-r--r--siplib/qtlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/siplib/qtlib.c b/siplib/qtlib.c
index 9bf065a..3e9b03f 100644
--- a/siplib/qtlib.c
+++ b/siplib/qtlib.c
@@ -143,7 +143,7 @@ PyObject *sip_api_invoke_slot(const sipSlot *slot, PyObject *sigargs)
* longer exists.
*/
if (PyObject_TypeCheck(self, (PyTypeObject *)&sipSimpleWrapper_Type) &&
- sipGetAddress(self) == NULL)
+ sip_api_get_address(self) == NULL)
{
Py_XDECREF(sref);
@@ -371,7 +371,7 @@ void *sipGetRx(sipSimpleWrapper *txSelf, const char *sigargs, PyObject *rxObj,
* The slot was either a Python callable or PyTQt3 Python signal so there
* should be a universal slot.
*/
- return sipTQtSupport->qt_find_slot(sipGetAddress(txSelf), sigargs, rxObj, slot, memberp);
+ return sipTQtSupport->qt_find_slot(sip_api_get_address(txSelf), sigargs, rxObj, slot, memberp);
}