Skip to content

Commit

Permalink
docs: document configvalue's special STRING storage
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Feb 15, 2024
1 parent 61507d1 commit 4b467f0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/hyprlang.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,12 @@ namespace Hyprlang {
Please note only the first (outer) pointer is static. The second
may (and most likely will) be changing.
For all types except STRING typeof(**retval) is the config value type
(e.g. INT or FLOAT)
Please note STRING is a special type and instead of
typeof(**retval) being const char*, typeof(*retval) is a const char*.
*/
void* const* getDataStaticPtr() const;

Expand Down

0 comments on commit 4b467f0

Please sign in to comment.