Author: Armin Rigo <ar...@tunes.org>
Branch: win64
Changeset: r1306:a0bbd364d7a2
Date: 2013-08-01 12:06 +0200
http://bitbucket.org/cffi/cffi/changeset/a0bbd364d7a2/

Log:    Fix

diff --git a/c/libffi_msvc/ffi.c b/c/libffi_msvc/ffi.c
--- a/c/libffi_msvc/ffi.c
+++ b/c/libffi_msvc/ffi.c
@@ -340,6 +340,9 @@
      result types except for floats; we have to 'mov xmm0, rax' in the
      caller to correct this.
   */
+  if ( cif->flags == FFI_TYPE_STRUCT ) {
+      resp = *(void **)resp;
+  }
   return *(void **)resp;
 #endif
 }
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to