[pypy-svn] pypy jitypes2: support for long longs
antocuni
commits-noreply at bitbucket.org
Thu Dec 23 15:00:43 CET 2010
Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: jitypes2
Changeset: r40205:ac17411a704a
Date: 2010-12-23 12:09 +0100
http://bitbucket.org/pypy/pypy/changeset/ac17411a704a/
Log: support for long longs
diff --git a/lib_pypy/_ctypes/function.py b/lib_pypy/_ctypes/function.py
--- a/lib_pypy/_ctypes/function.py
+++ b/lib_pypy/_ctypes/function.py
@@ -231,8 +231,8 @@
'I' : types.uint,
'l' : types.slong,
'L' : types.ulong,
- #'q' : cast_type_to_ffitype(rffi.LONGLONG),
- #'Q' : cast_type_to_ffitype(rffi.ULONGLONG),
+ 'q' : types.slonglong,
+ 'Q' : types.ulonglong,
'f' : types.float,
'd' : types.double,
's' : types.pointer,
More information about the Pypy-commit
mailing list