git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix memleak
[enigma2.git]
/
lib
/
python
/
python.cpp
diff --git
a/lib/python/python.cpp
b/lib/python/python.cpp
index 2d84287baefe3195fac2bb6292f9b13ee368fb10..b5ae486486efd5af9a34a529d4b95c0be7ac5dd2 100644
(file)
--- a/
lib/python/python.cpp
+++ b/
lib/python/python.cpp
@@
-6,6
+6,7
@@
#include <Python.h>
extern "C" void init_enigma();
+extern void bsodFatal();
DEFINE_REF(TestObj);
@@
-59,6
+60,8
@@
ePyObject &ePyObject::operator=(void *object)
ePython::ePython()
{
+// Py_VerboseFlag = 1;
+
Py_Initialize();
init_enigma();
@@
-127,6
+130,7
@@
int ePython::call(PyObject *pFunc, PyObject *pArgs)
} else
{
PyErr_Print();
+ bsodFatal();
}
}
return res;