summaryrefslogtreecommitdiff
path: root/hyprctl/src/helpers/Memory.hpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2025-12-04 17:59:47 +0000
committerGitHub <noreply@github.com>2025-12-04 17:59:47 +0000
commitd9657a95cb6706860332ff47dad444a96bcc874a (patch)
tree948f071656f942f9681189c7febab371b094e5f5 /hyprctl/src/helpers/Memory.hpp
parent9b1891e4765e2c5b84c8c61725e3973ca9940e05 (diff)
hyprctl: use new hyprpaper ipc format (#12537)
--------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
Diffstat (limited to 'hyprctl/src/helpers/Memory.hpp')
-rw-r--r--hyprctl/src/helpers/Memory.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/hyprctl/src/helpers/Memory.hpp b/hyprctl/src/helpers/Memory.hpp
new file mode 100644
index 00000000..1d3a9e07
--- /dev/null
+++ b/hyprctl/src/helpers/Memory.hpp
@@ -0,0 +1,11 @@
+#pragma once
+
+#include <hyprutils/memory/SharedPtr.hpp>
+#include <hyprutils/memory/UniquePtr.hpp>
+#include <hyprutils/memory/Atomic.hpp>
+
+using namespace Hyprutils::Memory;
+
+#define SP CSharedPointer
+#define WP CWeakPointer
+#define UP CUniquePointer