From cd11935a0e50b0098c96c5eea8dc20420b31360e Mon Sep 17 00:00:00 2001 From: steven-na Date: Mon, 10 Aug 2026 13:20:30 -0700 Subject: Moved to unity build, hopefully --- src/unity.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/unity.c (limited to 'src/unity.c') 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" -- cgit v1.2.3