mirror of
https://github.com/ModOrganizer2/modorganizer-plugin_python.git
synced 2026-07-27 14:03:33 -07:00
dependencies that fulfills the plugin interface. The other contains the actual python functionality. This way the outer dll can always be loaded and report issues. - The build process embeds the second dll into the first, this way only one dll has to be shipped
19 lines
230 B
C++
19 lines
230 B
C++
#ifndef GILOCK_H
|
|
#define GILOCK_H
|
|
|
|
|
|
#ifndef Q_MOC_RUN
|
|
#include <boost/python.hpp>
|
|
#endif // Q_MOC_RUN
|
|
|
|
class GILock {
|
|
public:
|
|
GILock();
|
|
~GILock();
|
|
private:
|
|
PyGILState_STATE m_State;
|
|
};
|
|
|
|
|
|
#endif // GILOCK_H
|