1 #ifndef __lib_python_python_h
2 #define __lib_python_python_h
11 ePyObject(ePyObject &p);
13 ePyObject &operator=(ePyObject &p);
14 ePyObject &operator=(void *p);
16 void *get() { return m_object; }
19 typedef struct _object PyObject;
26 int execute(const std::string &pythonfile, const std::string &funcname);
27 static int call(PyObject *pFunc, PyObject *args);
28 static PyObject *resolve(const std::string &pythonfile, const std::string &funcname);