das2C
das core C utilities (v3)
Loading...
Searching...
No Matches
Data Fields
dastoml_datum_t Struct Reference

Represents a single piece of TOML data. More...

Collaboration diagram for dastoml_datum_t:
Collaboration graph
[legend]

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.
 

Detailed Description

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.

Field Documentation

◆ source

const char* source

Source name (e.g.

filename), NULL if not provided. Owned by the result; valid until dastoml_free().

◆ size

int32_t size

< Array data

< Table data

Number of elements in the array

Number of keys in the table


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