Commit db3bfdf1 authored by Thomas Heller's avatar Thomas Heller

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.
parent 0455214f
......@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment