pub unsafe fn yaml_parser_initialize(parser: *mut YamlParserT) -> SuccessExpand description
Initialize a parser.
This function creates a new parser object. An application is responsible for destroying the object using the yaml_parser_delete() function.
ยงSafety
parsermust be a valid, non-null pointer to an uninitializedYamlParserTstruct.- The
YamlParserTstruct must be properly aligned and have the expected memory layout. - The caller is responsible for properly destroying the parser object using
yaml_parser_delete.