Esempio n. 1
0
void pyi_pylib_finalize(ARCHIVE_STATUS *status)
{
    /*
     * Call this function only if Python library was initialized.
     *
     * Otherwise it should be NULL pointer. If Python library is not properly
     * loaded then calling this function might cause some segmentation faults.
     */
    if (status->is_pylib_loaded == true) {
        VS("LOADER: Cleaning up Python interpreter.\n");
        PI_Py_Finalize();
    }
}
Esempio n. 2
0
void finalizePython(void)
{
	PI_Py_Finalize();
}
Esempio n. 3
0
void iMRKSVsnci(void) { PI_Py_Finalize(); }