pub unsafe fn yaml_emitter_close(emitter: *mut YamlEmitterT) -> SuccessExpand description
Finish a YAML stream.
This function should be used after yaml_emitter_dump() is called.
ยงSafety
emittermust be a valid, non-null pointer to a properly initializedYamlEmitterTstruct.- The
YamlEmitterTstruct must be in an opened state and not already closed. - The
YamlEmitterTstruct must be properly aligned and have the expected memory layout.