mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Details coming soon.
This commit is contained in:
15
include/python/PythonUtils.h
Normal file
15
include/python/PythonUtils.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#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
|
Reference in New Issue
Block a user