From 32a93257286826206a956dc4b15a9542c5c608f5 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Thu, 14 Feb 2008 06:26:23 +0100 Subject: [PATCH] Ported the Python module for usage of 64-bit numbers. --- lib/python/dolmod.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.11.0