[pypy-svn] r50992 - pypy/dist/pypy/rpython/lltypesystem

fijal at codespeak.net fijal at codespeak.net
Thu Jan 24 20:54:43 CET 2008


Author: fijal
Date: Thu Jan 24 20:54:42 2008
New Revision: 50992

Modified:
   pypy/dist/pypy/rpython/lltypesystem/ll2ctypes.py
Log:
Map UniChar to unsigned int (always)


Modified: pypy/dist/pypy/rpython/lltypesystem/ll2ctypes.py
==============================================================================
--- pypy/dist/pypy/rpython/lltypesystem/ll2ctypes.py	(original)
+++ pypy/dist/pypy/rpython/lltypesystem/ll2ctypes.py	Thu Jan 24 20:54:42 2008
@@ -41,7 +41,7 @@
         rffi.LONGLONG:   ctypes.c_longlong,
         rffi.ULONGLONG:  ctypes.c_ulonglong,
         rffi.SIZE_T:     ctypes.c_size_t,
-        lltype.UniChar:  ctypes.c_ushort,
+        lltype.UniChar:  ctypes.c_uint,
         })
 
 def build_ctypes_struct(S, delayed_builders, max_n=None):



More information about the Pypy-commit mailing list