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