diff options
Diffstat (limited to 'typeutils.h')
| -rw-r--r-- | typeutils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/typeutils.h b/typeutils.h index e7aee6f..925857b 100644 --- a/typeutils.h +++ b/typeutils.h @@ -96,8 +96,8 @@ static inline char* inner(String* str) { } -#define DECLARE_MAYBE(T) \ +#define DECLARE_MAYBE(T, Name) \ typedef struct { \ bool some; \ T value; \ - } Maybe##T; + } Name; |
