mirror of
https://github.com/hyprwm/hyprlang.git
synced 2024-12-22 09:59:48 +01:00
docs: clarify static ptrs
This commit is contained in:
parent
4a464738e2
commit
5a4768244b
1 changed files with 3 additions and 0 deletions
|
@ -204,6 +204,9 @@ namespace Hyprlang {
|
||||||
Return a static pointer to the m_pData.
|
Return a static pointer to the m_pData.
|
||||||
As long as this configValue is alive, this pointer is valid.
|
As long as this configValue is alive, this pointer is valid.
|
||||||
CConfigValues are alive as long as the owning CConfig is alive.
|
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;
|
void* const* getDataStaticPtr() const;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue