From 7c12c1089cfbee5b0a390d5f3de37f85de210263 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Tue, 18 Jan 2005 06:43:49 +0000 Subject: first version of PythonSignals - need to be finalized a bit, but work basically --- lib/python/python.h | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'lib/python/python.h') diff --git a/lib/python/python.h b/lib/python/python.h index bde18146..94359176 100644 --- a/lib/python/python.h +++ b/lib/python/python.h @@ -3,14 +3,30 @@ #include +/* class ePyObject +{ + void *m_object; +public: + ePyObject(void *ptr); + ePyObject(ePyObject &p); + ePyObject(); + ePyObject &operator=(ePyObject &p); + ePyObject &operator=(void *p); + ~ePyObject(); + void *get() { return m_object; } +}; */ + +typedef struct _object PyObject; + class ePython { public: ePython(); ~ePython(); int execute(const std::string &pythonfile, const std::string &funcname); + static void call(PyObject *pFunc, PyObject *args); + static PyObject *resolve(const std::string &pythonfile, const std::string &funcname); private: - }; #endif -- cgit v1.2.3