aboutsummaryrefslogtreecommitdiff
path: root/core/src/Utils/Macros.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/Utils/Macros.hpp')
-rw-r--r--core/src/Utils/Macros.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/src/Utils/Macros.hpp b/core/src/Utils/Macros.hpp
new file mode 100644
index 0000000..cb949b2
--- /dev/null
+++ b/core/src/Utils/Macros.hpp
@@ -0,0 +1,6 @@
+#pragma once
+
+#define CONCAT_IMPL(a, b) a##b
+#define CONCAT(a, b) CONCAT_IMPL(a, b)
+
+#define UNIQUE_NAME(prefix) CONCAT(prefix, __LINE__)