diff options
Diffstat (limited to 'js/src/ctypes/libffi/testsuite/libffi.complex/complex_defs_float.inc')
-rw-r--r-- | js/src/ctypes/libffi/testsuite/libffi.complex/complex_defs_float.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/js/src/ctypes/libffi/testsuite/libffi.complex/complex_defs_float.inc b/js/src/ctypes/libffi/testsuite/libffi.complex/complex_defs_float.inc new file mode 100644 index 0000000000..bbd9375cbf --- /dev/null +++ b/js/src/ctypes/libffi/testsuite/libffi.complex/complex_defs_float.inc @@ -0,0 +1,7 @@ +/* -*-c-*- */ +/* Complex base type. */ +#define T_FFI_TYPE ffi_type_complex_float +/* C type corresponding to the base type. */ +#define T_C_TYPE float +/* C cast for a value of type T_C_TYPE that is passed to printf. */ +#define T_CONV (double) |