pub unsafe fn yaml_event_delete(event: *mut YamlEventT)Expand description
Free any memory allocated for an event object.
This function frees the dynamically allocated memory associated with a YamlEventT struct,
such as strings for anchors, tags, and scalar values.
ยงSafety
eventmust be a valid, non-null pointer to aYamlEventTstruct.- The
YamlEventTstruct must have been properly initialized and its memory allocated correctly. - The
YamlEventTstruct must be properly aligned and have the expected memory layout.