aboutsummaryrefslogtreecommitdiff
path: root/core/src/Utils/Macros.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2021-04-08 08:49:10 -0700
committerrtk0c <[email protected]>2021-04-08 08:49:10 -0700
commitce8660cc5bfc12e6e3f75d4cce22492783ca9066 (patch)
treef5c1088def48e60570a1225d6440f304b37b5b5c /core/src/Utils/Macros.hpp
parent2f4b9db39239ed5150094a81743beea42a3eedc2 (diff)
Initial work on table visualizer
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__)