![]() |
das2C
das core C utilities (v3)
|
Represents a single piece of TOML data. More...

Data Fields | |
| dastoml_type_t | type |
| Type of the datum. | |
| uint32_t | flag |
| Internal flag, do not use. | |
| int | lineno |
| 1-based source line number, 0 if synthesized | |
| int | colno |
| 1-based source column number, 0 if synthesized | |
| const char * | source |
| Source name (e.g. | |
Represents a single piece of TOML data.
This structure is a node in a tree that represents a TOML document. The u union contains the actual value based on the type field.
| const char* source |
Source name (e.g.
filename), NULL if not provided. Owned by the result; valid until dastoml_free().
| int32_t size |
< Array data
< Table data
Number of elements in the array
Number of keys in the table