more rearrange stuff

This commit is contained in:
Harrison Lambeth 2025-01-08 01:50:15 -07:00
parent 1675f0eaf3
commit bebf60a9eb

15
clay.h
View File

@ -550,14 +550,6 @@ extern uint32_t Clay__debugViewWidth;
#ifdef CLAY_IMPLEMENTATION
#undef CLAY_IMPLEMENTATION
thread_local Clay_Context *Clay__currentContext;
thread_local int32_t Clay__nextInitMaxElementCount = 8192;
thread_local int32_t Clay__nextInitMaxMeasureTextCacheWordCount = 8192;
void Clay__ErrorHandlerFunctionDefault(Clay_ErrorData errorText) {
(void) errorText;
}
#ifndef CLAY__NULL
#define CLAY__NULL 0
#endif
@ -566,6 +558,13 @@ void Clay__ErrorHandlerFunctionDefault(Clay_ErrorData errorText) {
#define CLAY__MAXFLOAT 3.40282346638528859812e+38F
#endif
thread_local Clay_Context *Clay__currentContext;
thread_local int32_t Clay__nextInitMaxElementCount = 8192;
thread_local int32_t Clay__nextInitMaxMeasureTextCacheWordCount = 8192;
void Clay__ErrorHandlerFunctionDefault(Clay_ErrorData errorText) {
(void) errorText;
}
Clay_String CLAY__SPACECHAR = { .length = 1, .chars = " " };
Clay_String CLAY__STRING_DEFAULT = { .length = 0, .chars = NULL };