Skip to content

Commit

Permalink
docs: clarify static ptrs
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Feb 15, 2024
1 parent 4a46473 commit 5a47682
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/hyprlang.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 5a47682

Please sign in to comment.