20 #ifndef __pythonize_h__ 21 #define __pythonize_h__ 34 #define signals Q_SIGNALS 64 bool insertToSysPath(
int pos,
const Base::String& newPath)
const;
68 PyObject* importModule(
char* moduleName);
77 bool getPythonInit()
const;
86 bool runString3(std::string input, std::string resultname,
bool& result)
const;
87 bool runStringWithNameSpace(
char* str,
char* ns)
const;
89 std::string getPythonErrorString()
const;
95 void releaseLock()
const;
96 void acquireLock()
const;
97 PyThreadState* getThreadState()
const;
98 PyThreadState* setThreadState(PyThreadState* tstate)
const;
100 int runExpression(
const Base::String& command,
double& val)
const;
103 bool _pythonInit =
false;
#define CORE_EXPORT
Definition: core_defines2.h:10
ObjectRef * prevObject
Definition: pythonize.h:51
Definition: pythonize.h:45
A Utf-16 (windows) or ucs4 (unix) encoded string class.
Definition: String.h:29
struct _object PyObject
Definition: PyExport.h:35
Definition: pythonize.h:54
ObjectRef(ObjectRef *oi, PyObject *o)