diff options
author | Guido van Rossum <guido@python.org> | 1998-08-04 22:46:29 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-08-04 22:46:29 (GMT) |
commit | 1a8791e0b875df8e9428c2d9969f64e5967ac0b4 (patch) | |
tree | 4c0a38c8dbfc45a9b2d7343c17c4a969a8718162 /Python/modsupport.c | |
parent | 7d896ab1bbd5e15be7ae9203ead47f4f500a6a81 (diff) | |
download | cpython-1a8791e0b875df8e9428c2d9969f64e5967ac0b4.zip cpython-1a8791e0b875df8e9428c2d9969f64e5967ac0b4.tar.gz cpython-1a8791e0b875df8e9428c2d9969f64e5967ac0b4.tar.bz2 |
Changes for BeOS, QNX and long long, by Chris Herborth.
Diffstat (limited to 'Python/modsupport.c')
-rw-r--r-- | Python/modsupport.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Python/modsupport.c b/Python/modsupport.c index 76fc2d9..f5c61da 100644 --- a/Python/modsupport.c +++ b/Python/modsupport.c @@ -291,6 +291,11 @@ do_mkvalue(p_format, p_va) case 'l': return PyInt_FromLong((long)va_arg(*p_va, long)); +#if HAVE_LONG_LONG + case 'L': + return PyLong_FromLongLong((long long)va_arg(*p_va, long long)); +#endif + case 'f': case 'd': return PyFloat_FromDouble( |