aboutsummaryrefslogtreecommitdiff
path: root/lib/python/enigma_python.i
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/enigma_python.i')
-rw-r--r--lib/python/enigma_python.i5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/python/enigma_python.i b/lib/python/enigma_python.i
index 8029a265..53238e4a 100644
--- a/lib/python/enigma_python.i
+++ b/lib/python/enigma_python.i
@@ -251,4 +251,9 @@ PyObject *New_TestObj()
TestObj *result = (TestObj *)new TestObj();
return SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_TestObj, 1);
}
+PyObject *New_eServiceReference(const eServiceReference &ref)
+{
+ eServiceReference *result = new eServiceReference(ref);
+ return SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_eServiceReference, 1);
+}
%}