seems like this fully works

This commit is contained in:
Harrison Lambeth 2025-01-08 01:35:51 -07:00 committed by Nic Barker
parent efad3deef8
commit 9d81c808f9

3
clay.h
View File

@ -182,6 +182,9 @@ typedef struct Clay_Context Clay_Context;
typedef struct { typedef struct {
uintptr_t nextAllocation; uintptr_t nextAllocation;
Clay_Context* context;
int32_t maxElementCount;
int32_t maxMeasureTextCacheWordCount;
size_t capacity; size_t capacity;
char *memory; char *memory;
} Clay_Arena; } Clay_Arena;