mirror of
https://github.com/Ed94/metadesk.git
synced 2026-08-06 15:48:47 +00:00
progress on base, deciding to keep the MD namespace minimal on macros pre-c11 or cpp17 gen refactors
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user