From 9fedd9336c48835495f74994d80795aa6e3fbecd Mon Sep 17 00:00:00 2001 From: quou Date: Wed, 31 Jul 2024 22:11:33 +1000 Subject: tags for Arena and Heap --- memory.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/memory.h b/memory.h index 1dc5021..38e632a 100644 --- a/memory.h +++ b/memory.h @@ -4,7 +4,7 @@ int aligned(void* p, int a); int align_size(int s, int a); -typedef struct { +typedef struct Arena { char* buf; int size, ptr; } Arena; @@ -25,7 +25,7 @@ void* arena_alloc_aligned( int align ); -typedef struct { +typedef struct Heap { char* buf; int size, blocks; } Heap; -- cgit v1.2.3-54-g00ecf