hyperion.ng/include/python/PythonUtils.h

16 lines
233 B
C
Raw Normal View History

2018-12-27 23:11:32 +01:00
#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