Skip to content

Commit

Permalink
[Core] Make sure wrapper type uses internal naming
Browse files Browse the repository at this point in the history
  • Loading branch information
FintasticMan committed Jan 3, 2025
1 parent a9274a0 commit 248e0b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clay.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 248e0b3

Please sign in to comment.