On 64-bit Windows, ffi_arg must be 8 bytes long. This fixes the

remaining crashes in the ctypes tests, when functions return float or
double types.
This commit is contained in:
Thomas Heller 2007-05-04 08:20:41 +00:00
parent 0455214f1c
commit db3bfdf141

View file

@ -36,7 +36,11 @@
/* ---- Generic type definitions ----------------------------------------- */
#ifndef LIBFFI_ASM
#ifndef _WIN64
typedef unsigned long ffi_arg;
#else
typedef unsigned __int64 ffi_arg;
#endif
typedef signed long ffi_sarg;
typedef enum ffi_abi {