From df8830e6f19c5557fd52b1a9ac4fbf23c1afcdf2 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Tue, 7 Mar 2006 20:36:40 +0000 Subject: add ability to set a callback build function in listbox multicontent --- lib/dvb/epgcache.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/dvb/epgcache.cpp') diff --git a/lib/dvb/epgcache.cpp b/lib/dvb/epgcache.cpp index 189fcfc4..b5f519e9 100644 --- a/lib/dvb/epgcache.cpp +++ b/lib/dvb/epgcache.cpp @@ -1376,6 +1376,9 @@ void fillTuple(PyObject *tuple, char *argstring, int argcount, PyObject *service bool inc_refcount=false; switch(argstring[pos]) { + case '0': // PyLong 0 + tmp = PyLong_FromLong(0); + break; case 'I': // Event Id tmp = ptr ? PyLong_FromLong(ptr->getEventId()) : NULL; break; @@ -1448,6 +1451,7 @@ PyObject *handleEvent(ePtr &ptr, PyObject *dest_list, char* argst // here we get a python list // the first entry in the list is a python string to specify the format of the returned tuples (in a list) +// 0 = PyLong(0) // I = Event Id // B = Event Begin Time // D = Event Duration -- cgit v1.2.3