mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-19 04:38:01 +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
|
#ifdef CLAY_IMPLEMENTATION
|
||||||
#undef 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
|
#ifndef CLAY__NULL
|
||||||
#define CLAY__NULL 0
|
#define CLAY__NULL 0
|
||||||
#endif
|
#endif
|
||||||
@ -566,6 +558,13 @@ void Clay__ErrorHandlerFunctionDefault(Clay_ErrorData errorText) {
|
|||||||
#define CLAY__MAXFLOAT 3.40282346638528859812e+38F
|
#define CLAY__MAXFLOAT 3.40282346638528859812e+38F
|
||||||
#endif
|
#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__SPACECHAR = { .length = 1, .chars = " " };
|
||||||
Clay_String CLAY__STRING_DEFAULT = { .length = 0, .chars = NULL };
|
Clay_String CLAY__STRING_DEFAULT = { .length = 0, .chars = NULL };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user