pub unsafe fn yaml_alias_event_initialize(
event: *mut YamlEventT,
anchor: *const u8,
) -> SuccessExpand description
Create an ALIAS event.
ยงSafety
eventmust be a valid, non-null pointer to aYamlEventTstruct that can be safely written to.anchormust be a valid, non-null pointer to a null-terminated UTF-8 string.- The
YamlEventTstruct must be properly aligned and have the expected memory layout. - The caller is responsible for freeing any dynamically allocated memory associated with the event using
yaml_event_delete.