summaryrefslogtreecommitdiff
path: root/src/unity.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unity.c')
-rw-r--r--src/unity.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/unity.c b/src/unity.c
new file mode 100644
index 0000000..61d5b02
--- /dev/null
+++ b/src/unity.c
@@ -0,0 +1,29 @@
+#ifndef _GNU_SOURCE
+ #define _GNU_SOURCE
+#endif /* ifndef _GNU_SOURCE */
+#ifndef _DEFAULT_SOURCE
+ #define _DEFAULT_SOURCE
+#endif /* ifndef _DEFAULT_SOURCE */
+
+// Config for global scratch arena allocations
+#if 0
+ #define SCRATCH_POOL_SIZE 2
+ #define SMRTA_SCRATCH_RESERVE_SIZE MiB(64)
+#endif /* if 0 */
+
+// Arenas and mem management
+#include "ez_arena.c"
+#include "smrt_arena.c"
+
+// Data structures
+#include "string.c"
+#include "vec2.c"
+#include "slidingwindow.c"
+#include "vec2sw.c"
+
+// DSP/Audio
+#include "wav.c"
+#include "dft.c"
+
+// Misc
+#include "version.c"