diff options
Diffstat (limited to 'circuitpython/lib/libffi/testsuite/libffi.complex/complex_defs_float.inc')
-rw-r--r-- | circuitpython/lib/libffi/testsuite/libffi.complex/complex_defs_float.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/circuitpython/lib/libffi/testsuite/libffi.complex/complex_defs_float.inc b/circuitpython/lib/libffi/testsuite/libffi.complex/complex_defs_float.inc new file mode 100644 index 0000000..bbd9375 --- /dev/null +++ b/circuitpython/lib/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) |