mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-18 20:28:01 +00:00
Update for c99 compat
This commit is contained in:
parent
9d81c808f9
commit
7af2d128c9
5
clay.h
5
clay.h
@ -182,9 +182,6 @@ 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;
|
||||||
@ -561,7 +558,7 @@ Clay_ScrollElementConfig * Clay__StoreScrollElementConfig(Clay_ScrollElementConf
|
|||||||
Clay_BorderElementConfig * Clay__StoreBorderElementConfig(Clay_BorderElementConfig config);
|
Clay_BorderElementConfig * Clay__StoreBorderElementConfig(Clay_BorderElementConfig config);
|
||||||
Clay_ElementId Clay__HashString(Clay_String key, uint32_t offset, uint32_t seed);
|
Clay_ElementId Clay__HashString(Clay_String key, uint32_t offset, uint32_t seed);
|
||||||
void Clay__OpenTextElement(Clay_String text, Clay_TextElementConfig *textConfig);
|
void Clay__OpenTextElement(Clay_String text, Clay_TextElementConfig *textConfig);
|
||||||
uint32_t Clay__GetParentElementId(void);
|
uint32_t Clay__GetParentElementId();
|
||||||
|
|
||||||
extern Clay_Color Clay__debugViewHighlightColor;
|
extern Clay_Color Clay__debugViewHighlightColor;
|
||||||
extern uint32_t Clay__debugViewWidth;
|
extern uint32_t Clay__debugViewWidth;
|
||||||
|
Loading…
Reference in New Issue
Block a user