hyperion.ng/include/python/PythonUtils.h
2018-12-27 23:11:32 +01:00

16 lines
233 B
C

#pragma once
#undef slots
#include <Python.h>
#define slots
// decl
extern PyThreadState* mainThreadState;
// py path seperator
#ifdef TARGET_WINDOWS
#define PY_PATH_SEP ";";
#else // not windows
#define PY_PATH_SEP ":";
#endif