pub unsafe fn yaml_stream_start_event_initialize(
event: *mut YamlEventT,
encoding: YamlEncodingT,
) -> SuccessExpand description
Create the STREAM-START event.
This function initializes a YamlEventT struct with the type YamlStreamStartEvent.
It is used to signal the start of a YAML stream being emitted.
ยงSafety
eventmust be a valid, non-null pointer to aYamlEventTstruct that can be safely written to.- The
YamlEventTstruct must be properly aligned and have the expected memory layout.