static void release_QHelpIndexWidget(void *sipCppV,int)
{
    QHelpIndexWidget *sipCpp = reinterpret_cast<QHelpIndexWidget *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}
static void release_QHelpIndexWidget(void *sipCppV,int)
{
    QHelpIndexWidget *sipCpp = reinterpret_cast<QHelpIndexWidget *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}