From 6f73e6abddf4170357c490966d0e1c622eb376f5 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Thu, 14 Feb 2008 19:44:14 +0000 Subject: add support for cyclic garbage collection to eTimer and eSocketNotifier class, add simpler method to set a timer callback.. or remove.. instead of timer.timeout.get().append(func).. or .remove(func)... now it is possible to do timer.callback.append(func)... timer.callback.remove(func) (the old method still works..but is now deprecated) --- lib/python/python.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/python/python.cpp') diff --git a/lib/python/python.cpp b/lib/python/python.cpp index 84716e72..ad029fb6 100644 --- a/lib/python/python.cpp +++ b/lib/python/python.cpp @@ -3,6 +3,7 @@ #undef _POSIX_C_SOURCE #define _POSIX_C_SOURCE 200112L extern "C" void init_enigma(); +extern "C" void eBaseInit(void); extern void bsodFatal(); #define SKIP_PART2 @@ -124,6 +125,7 @@ ePython::ePython() PyEval_InitThreads(); init_enigma(); + eBaseInit(); } ePython::~ePython() -- cgit v1.2.3