pub unsafe fn yaml_document_delete(document: *mut YamlDocumentT)Expand description
Delete a YAML document and all its nodes.
This function frees the memory allocated for a YamlDocumentT struct and all its associated
nodes, including scalar values, sequences, and mappings.
ยงSafety
documentmust be a valid, non-null pointer to aYamlDocumentTstruct.- The
YamlDocumentTstruct and its associated nodes must have been properly initialized and their memory allocated correctly. - The
YamlDocumentTstruct and its associated nodes must be properly aligned and have the expected memory layout.