[pypy-svn] r50366 - pypy/branch/applevel-ctypes2/pypy/module/_ffi
fijal at codespeak.net
fijal at codespeak.net
Sun Jan 6 10:48:11 CET 2008
Author: fijal
Date: Sun Jan 6 10:48:11 2008
New Revision: 50366
Modified:
pypy/branch/applevel-ctypes2/pypy/module/_ffi/interp_ffi.py
Log:
Fix translation
Modified: pypy/branch/applevel-ctypes2/pypy/module/_ffi/interp_ffi.py
==============================================================================
--- pypy/branch/applevel-ctypes2/pypy/module/_ffi/interp_ffi.py (original)
+++ pypy/branch/applevel-ctypes2/pypy/module/_ffi/interp_ffi.py Sun Jan 6 10:48:11 2008
@@ -315,7 +315,7 @@
"Expecting string of length one"))
tp_letter = tp_letter[0] # fool annotator
try:
- return space.wrap(getattr(TYPEMAP[tp_letter], name))
+ return space.wrap(intmask(getattr(TYPEMAP[tp_letter], name)))
except KeyError:
raise OperationError(space.w_ValueError, space.wrap(
"Unknown type specification %s" % tp_letter))
More information about the Pypy-commit
mailing list