From: Fredrik Tolf Date: Thu, 14 Feb 2008 05:26:23 +0000 (+0100) Subject: Ported the Python module for usage of 64-bit numbers. X-Git-Tag: 1.1~15 X-Git-Url: http://dolda2000.com/gitweb/?p=doldaconnect.git;a=commitdiff_plain;h=32a93257286826206a956dc4b15a9542c5c608f5 Ported the Python module for usage of 64-bit numbers. --- diff --git a/lib/python/dolmod.c b/lib/python/dolmod.c index 1418174..fd026fa 100644 --- a/lib/python/dolmod.c +++ b/lib/python/dolmod.c @@ -90,6 +90,9 @@ static PyObject *resp_intresp(struct respobj *self) case 3: PyList_SetItem(sl, i, PyFloat_FromDouble(ires->argv[i].val.flnum)); break; + case 4: + PyList_SetItem(sl, i, PyLong_FromLongLong(ires->argv[i].val.lnum)); + break; } } dc_freeires(ires);