mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
16 lines
233 B
C
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
|