X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/9f9c513165bbcae496b79656304e60bf74557af4..46b8f96749c596e31d70610c80e64fd1561c007a:/lib/python/connections.h diff --git a/lib/python/connections.h b/lib/python/connections.h index 3df7b565..8a06f7fa 100644 --- 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 PSignal0: public PSignal, public Signal0 {