pub unsafe fn yaml_parser_delete(parser: *mut YamlParserT)Expand description
Destroy a parser.
This function frees all memory associated with a parser object, including any dynamically allocated buffers, tokens, and other data structures.
ยงSafety
parsermust be a valid, non-null pointer to a properly initializedYamlParserTstruct.- The
YamlParserTstruct and its associated data structures must have been properly initialized and their memory allocated correctly. - The
YamlParserTstruct and its associated data structures must be properly aligned and have the expected memory layout. - After calling this function, the
parserpointer should be considered invalid and should not be used again.