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:43:57 +0100
commitab76f558c35b4d81212012b9ee5114144685b920 (patch)
tree80e735719eaaad5d0e1dac46379c1d88db218173 /sip
parent2d61b442f04c80f0881abf57c25be9dadac8a3d4 (diff)
downloadpytde-ab76f558c35b4d81212012b9ee5114144685b920.tar.gz
pytde-ab76f558c35b4d81212012b9ee5114144685b920.zip
Fix "ANY" macro deprecation
Diffstat (limited to 'sip')
-rw-r--r--sip/tdeui/keditlistbox.sip4
-rw-r--r--sip/tdeui/qxembed.sip2
2 files changed, 3 insertions, 3 deletions
diff --git a/sip/tdeui/keditlistbox.sip b/sip/tdeui/keditlistbox.sip
index 4c902a9..6fd3391 100644
--- a/sip/tdeui/keditlistbox.sip
+++ b/sip/tdeui/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 TQString&, int = -1);
@@ -194,7 +194,7 @@ const char **PyTQtListToArray(PyObject *lst)
if ((s = PyString_AsString(PyList_GetItem(lst,i))) == NULL)
{
- sipFree((ANY *)str);
+ sipFree((void *)str);
return NULL;
}
diff --git a/sip/tdeui/qxembed.sip b/sip/tdeui/qxembed.sip
index 7ea37e0..e4af5f3 100644
--- a/sip/tdeui/qxembed.sip
+++ b/sip/tdeui/qxembed.sip
@@ -72,7 +72,7 @@ public:
sipRes = QXEmbed::processClientCmdline (a0, n, strings);
Py_END_ALLOW_THREADS
- sipFree((ANY *)strings);
+ sipFree((void *)strings);
%End