diff options
author | quou <quou@disroot.org> | 2024-07-31 22:11:33 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-07-31 22:11:56 +1000 |
commit | 9fedd9336c48835495f74994d80795aa6e3fbecd (patch) | |
tree | db348b188a81f0d1857a07fd6d5d5d02c1ff977a | |
parent | b93d36f9c95594311ec9d7c2d6acede6c33e9e08 (diff) |
tags for Arena and Heap
-rw-r--r-- | memory.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |