Function libyml::api::yaml_mapping_end_event_initialize
source · pub unsafe fn yaml_mapping_end_event_initialize(
event: *mut YamlEventT,
) -> Success
Expand description
Create a MAPPING-END event.
This function initializes a YamlEventT
struct with the type YamlMappingEndEvent
.
It is used to signal the end of a mapping (key-value pairs) in the YAML document being emitted.
§Safety
event
must be a valid, non-null pointer to aYamlEventT
struct that can be safely written to.- The
YamlEventT
struct must be properly aligned and have the expected memory layout.