pub unsafe fn yaml_token_delete(token: *mut YamlTokenT)Expand description
Free any memory allocated for a token object.
This function frees the dynamically allocated memory associated with a YamlTokenT struct,
such as strings for tag directives, aliases, anchors, tags, and scalar values.
ยงSafety
tokenmust be a valid, non-null pointer to aYamlTokenTstruct.- The
YamlTokenTstruct must have been properly initialized and its memory allocated correctly. - The
YamlTokenTstruct must be properly aligned and have the expected memory layout.