aboutsummaryrefslogtreecommitdiff
path: root/source-common
diff options
context:
space:
mode:
Diffstat (limited to 'source-common')
-rw-r--r--source-common/Macros.hpp2
-rw-r--r--source-common/MacrosCodegen.hpp7
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)