CX Framework
Cross-platform C utility framework
Loading...
Searching...
No Matches
SetsBindSpec Struct Reference

#include <settings.h>

Data Fields

string name
 Path to the setting (e.g., "window/width")
 
intptr offset
 Byte offset of variable from base pointer (use offsetof())
 
stvar deftyp
 Default value AND type specification.
 

Detailed Description

Binding specification for connecting settings paths to program variables.

Used with setsBind() to establish two-way synchronization between settings and variables. The array must be terminated with a {0} entry (NULL name).

Definition at line 105 of file settings.h.


The documentation for this struct was generated from the following file: