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