TMLDocument
typedef struct TMLDocument{
void *memory;
u64 memory_size;
TMLNode *nodes;
TMLEntry *entries;
char *string_data;
i64 *array_i64;
f64 *array_f64;
TMLString *array_string;
u32 node_count;
u32 entry_count;
u32 string_size;
u32 array_i64_count;
u32 array_f64_count;
u32 array_string_count;
u32 first_root_node;
u32 last_root_node;
u32 root_node_count;
}TMLDocument;
tml_document_free
Release all memory associated with a parsed TML document.
X_TML_API void tml_document_free(TMLDocument *doc);
Parameters
TMLDocument *doc
- Pointer to the document returned by tml_parse().
The document and all associated internal memory become invalid after this call.