summaryrefslogtreecommitdiffstats
path: root/sip
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2013-02-04 22:43:57 +0100
committerSlávek Banko <slavek.banko@axis.cz>2013-02-04 22:46:04 +0100
commita3f1c478a5f6b63e62fb1dc0a053242904e13c0a (patch)
treeaa21d31365a8630fadb8ce2f5648ca7358b174ed /sip
parent6d40afe5ae2834d87bff660c8eb77bfc3f62a9f7 (diff)
downloadpytde-a3f1c478a5f6b63e62fb1dc0a053242904e13c0a.tar.gz
pytde-a3f1c478a5f6b63e62fb1dc0a053242904e13c0a.zip
Fix "ANY" macro deprecation
(cherry picked from commit ab76f558c35b4d81212012b9ee5114144685b920)
Diffstat (limited to 'sip')
-rw-r--r--sip/kdeui/keditlistbox.sip4
-rw-r--r--sip/kdeui/qxembed.sip2
2 files changed, 3 insertions, 3 deletions
diff --git a/sip/kdeui/keditlistbox.sip b/sip/kdeui/keditlistbox.sip
index 54faab7..e08f2e7 100644
--- a/sip/kdeui/keditlistbox.sip
+++ b/sip/kdeui/keditlistbox.sip
@@ -114,7 +114,7 @@ public:
sipCpp->insertStrList (strings, n, a1);
Py_END_ALLOW_THREADS
- sipFree((ANY *)strings);
+ sipFree((void *)strings);
%End
void insertItem (const QString&, int = -1);
@@ -194,7 +194,7 @@ const char **PyQtListToArray(PyObject *lst)
if ((s = PyString_AsString(PyList_GetItem(lst,i))) == NULL)
{
- sipFree((ANY *)str);
+ sipFree((void *)str);
return NULL;
}
diff --git a/sip/kdeui/qxembed.sip b/sip/kdeui/qxembed.sip
index ab46875..46821df 100644
--- a/sip/kdeui/qxembed.sip
+++ b/sip/kdeui/qxembed.sip
@@ -72,7 +72,7 @@ public:
sipRes = QXEmbed::processClientCmdline (a0, n, strings);
Py_END_ALLOW_THREADS
- sipFree((ANY *)strings);
+ sipFree((void *)strings);
%End