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