Files
modorganizer-plugin_python/src/runner-boost/gilock.cpp
T

13 lines
146 B
C++

#include "gilock.h"
GILock::GILock()
{
m_State = PyGILState_Ensure();
}
GILock::~GILock()
{
PyErr_Clear();
PyGILState_Release(m_State);
}