From 23cc1a7d8c5ae6a397071763d0326990868c37af Mon Sep 17 00:00:00 2001 From: talha Date: Thu, 6 Mar 2025 10:37:36 +0500 Subject: Making project work with clangd: - Moved a lot of items into separate header files - Still compiling everything as a single translation unit (but maybe a heavier translation unit [if that is possible]) - setup compile_flags, a way to use clangd without using a build system - stuff like clangd and cmake don't work well with unity builds, so I avoid jumping through hoops --- source/array/array.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/array/array.h') diff --git a/source/array/array.h b/source/array/array.h index 6ddf5f0..624c90c 100644 --- a/source/array/array.h +++ b/source/array/array.h @@ -1,5 +1,8 @@ #pragma once +#include "../core.h" +#include "../memory/arena.h" + struct r32_array { size_t size; size_t capacity; -- cgit v1.2.3