20 #ifndef __pythonize_h__ 21 #define __pythonize_h__ 40 #define signals Q_SIGNALS 70 bool insertToSysPath(
int pos,
const Base::String& newPath)
const;
74 PyObject* importModule(
char* moduleName);
83 bool getPythonInit()
const;
92 bool runString3(std::string input, std::string resultname,
bool& result)
const;
93 bool runStringWithNameSpace(
char* str,
char* ns)
const;
95 std::string getPythonErrorString()
const;
101 void releaseLock()
const;
102 void acquireLock()
const;
103 PyThreadState* getThreadState()
const;
104 PyThreadState* setThreadState(PyThreadState* tstate)
const;
106 int runExpression(
const Base::String& command,
double& val)
const;
109 bool _pythonInit =
false;
ObjectRef * prevObject
Definition: pythonize.h:57
Definition: pythonize.h:51
A Utf-16 (windows) or ucs4 (unix) encoded string class.
Definition: String.h:23
struct _object PyObject
Definition: PyExport.h:35
Definition: pythonize.h:60
ObjectRef(ObjectRef *oi, PyObject *o)