mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-20 21:28:03 +00:00
more rearrange stuff
This commit is contained in:
parent
1675f0eaf3
commit
bebf60a9eb
15
clay.h
15
clay.h
@ -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 };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user