git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
initialize self.zapFunc always.. this fixes a bluescreen on red button press when
[enigma2.git]
/
lib
/
python
/
connections.h
diff --git
a/lib/python/connections.h
b/lib/python/connections.h
index 3df7b565cc7643e8f98d2eabb0bc038d46c564af..8a06f7faaa3d44ebd2c84b3ffdc05b5b1b0c9491 100644
(file)
--- a/
lib/python/connections.h
+++ b/
lib/python/connections.h
@@
-45,6
+45,11
@@
inline PyObject *PyFrom(int v)
return PyInt_FromLong(v);
}
+inline PyObject *PyFrom(const char *c)
+{
+ return PyString_FromString(c);
+}
+
template <class R>
class PSignal0: public PSignal, public Signal0<R>
{