summaryrefslogtreecommitdiff
path: root/src/macros.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-06-19 16:20:06 +0200
committerVaxry <vaxry@vaxry.net>2024-06-19 16:20:15 +0200
commitfb15b7aa2a9bba0f0693f84d0c65d386942583f8 (patch)
treed4403944b5d6a3e03d2262f03a7d0b3ed6ffae24 /src/macros.hpp
parent6e5804b53de753f24953d9d647940df66bc68f6d (diff)
core: Move to hyprutils for Math
Moves CRegion, CBox and Vector2D over to hyprutils. Requires hyprutils>=0.1.4
Diffstat (limited to 'src/macros.hpp')
-rw-r--r--src/macros.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/macros.hpp b/src/macros.hpp
index cca088d8..cacfdfea 100644
--- a/src/macros.hpp
+++ b/src/macros.hpp
@@ -98,3 +98,10 @@
([]() constexpr -> std::string { return std::string(__FILE__).substr(std::string(__FILE__).find_last_of('/') + 1); })(), err); \
} \
}
+
+#define HYPRUTILS_FORWARD(ns, name) \
+ namespace Hyprutils { \
+ namespace ns { \
+ class name; \
+ } \
+ }