From 248e0b3602cb1eecac919c0bc886a00844d715ed Mon Sep 17 00:00:00 2001 From: FintasticMan Date: Fri, 3 Jan 2025 13:14:54 +0100 Subject: [PATCH] [Core] Make sure wrapper type uses internal naming --- clay.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clay.h b/clay.h index e90e965..cc29942 100644 --- a/clay.h +++ b/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