Fix "ANY" macro deprecation

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

@ -114,7 +114,7 @@ public:
sipCpp->insertStrList (strings, n, a1); sipCpp->insertStrList (strings, n, a1);
Py_END_ALLOW_THREADS Py_END_ALLOW_THREADS
sipFree((ANY *)strings); sipFree((void *)strings);
%End %End
void insertItem (const TQString&, int = -1); void insertItem (const TQString&, int = -1);
@ -194,7 +194,7 @@ const char **PyTQtListToArray(PyObject *lst)
if ((s = PyString_AsString(PyList_GetItem(lst,i))) == NULL) if ((s = PyString_AsString(PyList_GetItem(lst,i))) == NULL)
{ {
sipFree((ANY *)str); sipFree((void *)str);
return NULL; return NULL;
} }

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

Loading…
Cancel
Save