[pypy-commit] pypy win64-stage1: libffi has a problem with test_byval_result on windows.
ctismer
noreply at buildbot.pypy.org
Sat Mar 17 01:47:17 CET 2012
Author: Christian Tismer <tismer at stackless.com>
Branch: win64-stage1
Changeset: r53742:5a00a882260f
Date: 2012-03-16 17:46 -0700
http://bitbucket.org/pypy/pypy/changeset/5a00a882260f/
Log: libffi has a problem with test_byval_result on windows. On win64,
this even gives an access violation, also on test_byval_argument.
Moving to default since it doesn't worsen the currect windows state
-- please can somebody look into this?
diff --git a/pypy/rlib/test/test_libffi.py b/pypy/rlib/test/test_libffi.py
--- a/pypy/rlib/test/test_libffi.py
+++ b/pypy/rlib/test/test_libffi.py
@@ -435,7 +435,7 @@
libfoo = CDLL(self.libfoo_name)
make_point = (libfoo, 'make_point', [types.signed, types.signed], ffi_point)
#
- PTR = lltype.Ptr(rffi.CArray(rffi.LONG))
+ PTR = lltype.Ptr(rffi.CArray(rffi.SIGNED))
p = self.call(make_point, [12, 34], PTR, is_struct=True,
jitif=["byval"])
assert p[0] == 12
More information about the pypy-commit
mailing list