Esc

Toml_Document

structextensionsince 0.36.1Source
  • macOS: Toml_Document works on macOS
  • Linux: Toml_Document works on Linux
  • Windows: Toml_Document works on Windows
  • Wasm: Toml_Document works on Wasm

Declaration

Toml_Document :: struct {
    root: *Toml_Value;    source: string;    nodes: [..] *Toml_Value;    allocator: Allocator;    options: Toml_Options;    retained_bytes: int;    statements: [..] Toml_Statement;}

Owns the source, nodes and decoded strings; release with free_toml. Node pointers and statement records remain valid until that release.

See also