From da9872eac33f4f8a085261c3cbdcbf4c8d664f65 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Sat, 21 Jun 2008 15:31:57 +0000 Subject: use another function to initial import mytest.py (this fixes python threads)... but take care of the fact that the most enigma2 code is not thread safe.. so dont call enigma2 parts from another python thread --- lib/python/python.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/python/python.h') diff --git a/lib/python/python.h b/lib/python/python.h index 9edc50ad..f56d49bb 100644 --- a/lib/python/python.h +++ b/lib/python/python.h @@ -370,6 +370,7 @@ class ePython public: ePython(); ~ePython(); + int execFile(const char *file); int execute(const std::string &pythonfile, const std::string &funcname); static int call(ePyObject pFunc, ePyObject args); static ePyObject resolve(const std::string &pythonfile, const std::string &funcname); -- cgit v1.2.3