mirror of
https://github.com/hyprwm/hyprlang.git
synced 2024-11-16 18:25:57 +01:00
docs: document configvalue's special STRING storage
This commit is contained in:
parent
61507d1b87
commit
b0e3a884f5
1 changed files with 6 additions and 0 deletions
|
@ -207,6 +207,12 @@ namespace Hyprlang {
|
||||||
|
|
||||||
Please note only the first (outer) pointer is static. The second
|
Please note only the first (outer) pointer is static. The second
|
||||||
may (and most likely will) be changing.
|
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;
|
void* const* getDataStaticPtr() const;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue