From 5a4768244b874958efb20bfa72dc986ed4e28010 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Thu, 15 Feb 2024 02:27:27 +0000 Subject: [PATCH] docs: clarify static ptrs --- include/hyprlang.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/hyprlang.hpp b/include/hyprlang.hpp index 7b6a2e0..e66a903 100644 --- a/include/hyprlang.hpp +++ b/include/hyprlang.hpp @@ -204,6 +204,9 @@ namespace Hyprlang { Return a static pointer to the m_pData. As long as this configValue is alive, this pointer is valid. CConfigValues are alive as long as the owning CConfig is alive. + + Please note only the first (outer) pointer is static. The second + may (and most likely will) be changing. */ void* const* getDataStaticPtr() const;