aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-10-27 14:48:43 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-10-27 14:48:43 +0000
commitd0af96f7a28831d6f8c11fb224d483e6eb92b677 (patch)
treebb8382da168f07554cac20e76a6ddb1a20b5a1ff /lib/python
parent7542f853b1a682ad9bf21b592f26e31e3b64521c (diff)
downloadenigma2-d0af96f7a28831d6f8c11fb224d483e6eb92b677.tar.gz
enigma2-d0af96f7a28831d6f8c11fb224d483e6eb92b677.zip
add support for cyclic garbage collection to eConsoleAppContainer
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/enigma_python.i7
-rw-r--r--lib/python/python.cpp2
2 files changed, 2 insertions, 7 deletions
diff --git a/lib/python/enigma_python.i b/lib/python/enigma_python.i
index e934885e..8f05d53d 100644
--- a/lib/python/enigma_python.i
+++ b/lib/python/enigma_python.i
@@ -39,7 +39,6 @@ is usually caused by not marking PSignals as immutable.
#include <lib/base/ebase.h>
#include <lib/base/smartptr.h>
#include <lib/base/eerror.h>
-#include <lib/base/console.h>
#include <lib/base/nconfig.h>
#include <lib/base/message.h>
#include <lib/driver/rc.h>
@@ -142,11 +141,6 @@ typedef long time_t;
%include <lib/service/service.h>
// TODO: embed these...
-%immutable eConsoleAppContainer::appClosed;
-%immutable eConsoleAppContainer::dataAvail;
-%immutable eConsoleAppContainer::stdoutAvail;
-%immutable eConsoleAppContainer::stderrAvail;
-%immutable eConsoleAppContainer::dataSent;
%immutable eButton::selected;
%immutable eInput::changed;
%immutable eComponentScan::statusChanged;
@@ -161,7 +155,6 @@ typedef long time_t;
%immutable ePythonMessagePump::recv_msg;
%immutable eDVBLocalTimeHandler::m_timeUpdated;
%include <lib/base/message.h>
-%include <lib/base/console.h>
%include <lib/base/nconfig.h>
%include <lib/driver/rc.h>
%include <lib/gdi/fb.h>
diff --git a/lib/python/python.cpp b/lib/python/python.cpp
index b7a4cf38..50b66103 100644
--- a/lib/python/python.cpp
+++ b/lib/python/python.cpp
@@ -4,6 +4,7 @@
#define _POSIX_C_SOURCE 200112L
extern "C" void init_enigma();
extern "C" void eBaseInit(void);
+extern "C" void eConsoleInit(void);
extern void bsodFatal();
#define SKIP_PART2
@@ -126,6 +127,7 @@ ePython::ePython()
init_enigma();
eBaseInit();
+ eConsoleInit();
}
ePython::~ePython()