This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay.sajip
Recipients Matt.Clarke, amaury.forgeotdarc, meador.inge, vinay.sajip
Date 2015-06-10.22:30:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1433975443.56.0.719890695952.issue17310@psf.upfronthosting.co.za>
In-reply-to
Content
I note that the code for CFFI has a fix in ffi_prep_incoming_args_SYSV, as follows:

#ifdef _WIN64
      if (z > 8)
        {
          /* On Win64, if a single argument takes more than 8 bytes,
             then it is always passed by reference. */
          *p_argv = *((void**) argp);
          z = 8;
        }
      else
#endif
      *p_argv = (void*) argp; /* The original code, works for 32-bit */

(Source: https://bitbucket.org/cffi/cffi/src/abc8ff5b2885b3d9f22bbb314a011b8dd63c9e14/c/libffi_msvc/ffi.c?at=default)
History
Date User Action Args
2015-06-10 22:30:43vinay.sajipsetrecipients: + vinay.sajip, amaury.forgeotdarc, meador.inge, Matt.Clarke
2015-06-10 22:30:43vinay.sajipsetmessageid: <1433975443.56.0.719890695952.issue17310@psf.upfronthosting.co.za>
2015-06-10 22:30:43vinay.sajiplinkissue17310 messages
2015-06-10 22:30:43vinay.sajipcreate