Dolda2000 GitWeb
/
doldaconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41f6ea3
)
Ported the Python module for usage of 64-bit numbers.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Thu, 14 Feb 2008 05:26:23 +0000
(06:26 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Thu, 14 Feb 2008 05:26:23 +0000
(06:26 +0100)
lib/python/dolmod.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/python/dolmod.c
b/lib/python/dolmod.c
index
1418174
..
fd026fa
100644
(file)
--- 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);