Fix "ANY" macro deprecation

pull/1/head
Francois Andriot 11 years ago committed by Slávek Banko
parent 2d61b442f0
commit ab76f558c3

@ -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;
}

@ -72,7 +72,7 @@ public:
sipRes = QXEmbed::processClientCmdline (a0, n, strings);
Py_END_ALLOW_THREADS
sipFree((ANY *)strings);
sipFree((void *)strings);
%End

Loading…
Cancel
Save