From 9d81c808f93467705eb15afce07986787d56c8ab Mon Sep 17 00:00:00 2001 From: Harrison Lambeth Date: Wed, 8 Jan 2025 01:35:51 -0700 Subject: [PATCH] seems like this fully works --- clay.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clay.h b/clay.h index e997dd2..08d06a2 100644 --- a/clay.h +++ b/clay.h @@ -182,6 +182,9 @@ typedef struct Clay_Context Clay_Context; typedef struct { uintptr_t nextAllocation; + Clay_Context* context; + int32_t maxElementCount; + int32_t maxMeasureTextCacheWordCount; size_t capacity; char *memory; } Clay_Arena;