summaryrefslogtreecommitdiffstats
path: root/src/types.h
diff options
context:
space:
mode:
authorAnthony Blake <anthonix@me.com>2012-10-11 19:16:45 +1300
committerAnthony Blake <anthonix@me.com>2012-10-11 19:16:45 +1300
commit5492e04ed602c46b9f39110907f90f796499b237 (patch)
tree8d3d455da678ef6fd8871db0cc4b2d25c49351a4 /src/types.h
parent11c42fab7cda9d63f763962970fbac754b2192de (diff)
downloadffts-5492e04ed602c46b9f39110907f90f796499b237.zip
ffts-5492e04ed602c46b9f39110907f90f796499b237.tar.gz
Misc
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h
new file mode 100644
index 0000000..2755815
--- /dev/null
+++ b/src/types.h
@@ -0,0 +1,15 @@
+#ifndef __TYPES_H__
+#define __TYPES_H__
+
+#define __INLINE static inline __attribute__((always_inline))
+
+#if defined(complex)
+ typedef complex float cdata_t;
+#else
+ typedef float cdata_t[2];
+#endif
+ typedef float data_t;
+
+#endif
+
+
OpenPOWER on IntegriCloud