From ce9559e8c2b69d46cff064241bd9a04c014af44f Mon Sep 17 00:00:00 2001 From: rtk0c Date: Mon, 30 May 2022 13:09:26 -0700 Subject: Changeset: 51 Add integration into the main game --- source-common/Macros.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source-common/Macros.hpp') 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__) -- cgit v1.2.3-70-g09d2