diff options
author | rtk0c <[email protected]> | 2022-05-30 13:09:26 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2022-05-30 13:09:26 -0700 |
commit | ce9559e8c2b69d46cff064241bd9a04c014af44f (patch) | |
tree | 370c793d4fde63f4bd4d988d73a3c4d9353ede56 /source-common | |
parent | cdd84f25ab1d2a57ee5c7b4c954e35a8d7e2dca3 (diff) |
Changeset: 51 Add integration into the main game
Diffstat (limited to 'source-common')
-rw-r--r-- | source-common/Macros.hpp | 2 | ||||
-rw-r--r-- | source-common/MacrosCodegen.hpp | 7 |
2 files changed, 2 insertions, 7 deletions
diff --git a/source-common/Macros.hpp b/source-common/Macros.hpp index b5d05fa..a255ada 100644 --- a/source-common/Macros.hpp +++ b/source-common/Macros.hpp @@ -14,6 +14,8 @@ #define UNUSED(x) (void)x; +#define PRINTF_STRING_VIEW(s) (int)s.size(), s.data() + #if defined(_MSC_VER) # define UNREACHABLE __assume(0) #elif defined(__GNUC__) || defined(__clang__) diff --git a/source-common/MacrosCodegen.hpp b/source-common/MacrosCodegen.hpp deleted file mode 100644 index 6803023..0000000 --- a/source-common/MacrosCodegen.hpp +++ /dev/null @@ -1,7 +0,0 @@ -// NOTE: contents of this file is coupled with buildtools/codegen/ -// when updating, change both sides at the same time - -#pragma once - -#define BRUSSEL_CLASS(name, options) -#define BRUSSEL_ENUM(name, options) |