progress on base, deciding to keep the MD namespace minimal on macros pre-c11 or cpp17 gen refactors

This commit is contained in:
ed
2025-02-05 11:20:32 -05:00
parent c1d24b3a07
commit 8936ae9aa7
15 changed files with 370 additions and 246 deletions
+9
View File
@@ -31,6 +31,15 @@ struct ArenaParams
void* optional_backing_buffer;
};
/* NOTE(Ed): This is a combination of several concepts into a single interface:
* A arena 'block' of memory with segmented chaining of the blocks
* An OS virtual memory allocation scheme
* A push/pop stack allocation interface for the arena
TODO(Ed): We need to lift the virtual memory tracking to its own data structure
and virtual memory interface utilizing memory_substrate.h
*/
typedef struct Arena Arena;
struct Arena
{