From 49052eeadcd62b9fda6be660c490d04577b6eabe Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Mon, 13 Feb 2006 17:45:05 +0000 Subject: pipe python stdout trough enigma --- lib/base/eerror.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'lib/base/eerror.cpp') diff --git a/lib/base/eerror.cpp b/lib/base/eerror.cpp index c60d5b7b..3239ddc5 100644 --- a/lib/base/eerror.cpp +++ b/lib/base/eerror.cpp @@ -80,3 +80,15 @@ void eWarning(const char* fmt, ...) fprintf(stderr, "%s\n", buf); } #endif // DEBUG + +void ePythonOutput(const char *string) +{ + logOutput(lvlWarning, string); + if (logOutputConsole) + fwrite(string, 1, strlen(string), stderr); +} + +void eWriteCrashdump() +{ + /* implement me */ +} -- cgit v1.2.3