aboutsummaryrefslogtreecommitdiff
path: root/source-common/Macros.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-05-30 13:09:26 -0700
committerrtk0c <[email protected]>2022-05-30 13:09:26 -0700
commitce9559e8c2b69d46cff064241bd9a04c014af44f (patch)
tree370c793d4fde63f4bd4d988d73a3c4d9353ede56 /source-common/Macros.hpp
parentcdd84f25ab1d2a57ee5c7b4c954e35a8d7e2dca3 (diff)
Changeset: 51 Add integration into the main game
Diffstat (limited to 'source-common/Macros.hpp')
-rw-r--r--source-common/Macros.hpp2
1 files changed, 2 insertions, 0 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__)