Author: Matti Picus <[email protected]>
Branch:
Changeset: r70424:095f6bf8e286
Date: 2014-04-03 23:50 +0300
http://bitbucket.org/pypy/pypy/changeset/095f6bf8e286/
Log: must specify struct size on win32, why doesn't gcc care?
diff --git a/rpython/rlib/test/test_libffi.py b/rpython/rlib/test/test_libffi.py
--- a/rpython/rlib/test/test_libffi.py
+++ b/rpython/rlib/test/test_libffi.py
@@ -540,7 +540,7 @@
}
"""
libfoo = CDLL(self.libfoo_name)
- ffi_point_struct = make_struct_ffitype_e(0, 0, [types.signed,
types.signed])
+ ffi_point_struct = make_struct_ffitype_e(rffi.sizeof(rffi.SIGNED)*2,
0, [types.signed, types.signed])
ffi_point = ffi_point_struct.ffistruct
libfoo = CDLL(self.libfoo_name)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit