hyperion.ng/include/python/PythonUtils.h

16 lines
241 B
C
Raw Normal View History

2018-12-27 23:11:32 +01:00
#pragma once
#undef slots
#include <Python.h>
#define slots Q_SLOTS
2018-12-27 23:11:32 +01:00
// decl
extern PyThreadState* mainThreadState;
// py path seperator
#ifdef TARGET_WINDOWS
#define PY_PATH_SEP ";";
#else // not windows
#define PY_PATH_SEP ":";
#endif