aboutsummaryrefslogtreecommitdiff
path: root/circuitpython/lib/libffi/testsuite/libffi.complex/complex_defs_double.inc
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2022-06-19 19:47:51 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2022-06-19 19:47:51 +0530
commit4fd287655a72b9aea14cdac715ad5b90ed082ed2 (patch)
tree65d393bc0e699dd12d05b29ba568e04cea666207 /circuitpython/lib/libffi/testsuite/libffi.complex/complex_defs_double.inc
parent0150f70ce9c39e9e6dd878766c0620c85e47bed0 (diff)
add circuitpython code
Diffstat (limited to 'circuitpython/lib/libffi/testsuite/libffi.complex/complex_defs_double.inc')
-rw-r--r--circuitpython/lib/libffi/testsuite/libffi.complex/complex_defs_double.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/circuitpython/lib/libffi/testsuite/libffi.complex/complex_defs_double.inc b/circuitpython/lib/libffi/testsuite/libffi.complex/complex_defs_double.inc
new file mode 100644
index 0000000..3583e16
--- /dev/null
+++ b/circuitpython/lib/libffi/testsuite/libffi.complex/complex_defs_double.inc
@@ -0,0 +1,7 @@
+/* -*-c-*- */
+/* Complex base type. */
+#define T_FFI_TYPE ffi_type_complex_double
+/* C type corresponding to the base type. */
+#define T_C_TYPE double
+/* C cast for a value of type T_C_TYPE that is passed to printf. */
+#define T_CONV