mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-20 21:28:03 +00:00
[Core] Make sure wrapper type uses internal naming
This commit is contained in:
parent
a9274a01f9
commit
248e0b3602
2
clay.h
2
clay.h
@ -29,7 +29,7 @@
|
||||
|
||||
// Public Macro API ------------------------
|
||||
|
||||
#define CLAY__WRAPPER_TYPE(type) type##Wrapper
|
||||
#define CLAY__WRAPPER_TYPE(type) Clay__##type##Wrapper
|
||||
#define CLAY__WRAPPER_STRUCT(type) typedef struct { type wrapped; } CLAY__WRAPPER_TYPE(type)
|
||||
#define CLAY__CONFIG_WRAPPER(type, ...) (CLAY__INIT(CLAY__WRAPPER_TYPE(type)) { __VA_ARGS__ }).wrapped
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user