From d0af96f7a28831d6f8c11fb224d483e6eb92b677 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Mon, 27 Oct 2008 14:48:43 +0000 Subject: add support for cyclic garbage collection to eConsoleAppContainer --- lib/python/enigma_python.i | 7 ------- lib/python/python.cpp | 2 ++ 2 files changed, 2 insertions(+), 7 deletions(-) (limited to 'lib/python') 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 #include #include -#include #include #include #include @@ -142,11 +141,6 @@ typedef long time_t; %include // 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 -%include %include %include %include 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() -- cgit v1.2.3