diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-31 19:09:50 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-31 19:09:50 -0500 |
commit | 68b3e3928e1bd05ebbb56810ae8b7a68ff5f12b0 (patch) | |
tree | 72832015fedc7f8230b345e36aa9b0b5efa7cf46 /base.h | |
parent | 58444144fae39d38c155d868cf3aebb8e4ef8dba (diff) |
started syntax higlighting (still need to add state to each line)
Diffstat (limited to 'base.h')
-rw-r--r-- | base.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -65,6 +65,14 @@ typedef long long llong; typedef unsigned long long ullong; #if __clang__ +#define ENUM_U8 typedef enum : u8 +#define ENUM_U8_END(name) name +#else +#define ENUM_U8 enum +#define ENUM_U8_END(name) ; typedef u8 name +#endif + +#if __clang__ #define ENUM_U16 typedef enum : u16 #define ENUM_U16_END(name) name #else |