pub unsafe fn yaml_emitter_initialize(emitter: *mut YamlEmitterT) -> SuccessExpand description
Initialize an emitter.
This function creates a new emitter object. An application is responsible for destroying the object using the yaml_emitter_delete() function.
ยงSafety
emittermust be a valid, non-null pointer to an uninitializedYamlEmitterTstruct.- The
YamlEmitterTstruct must be properly aligned and have the expected memory layout. - The caller is responsible for properly destroying the emitter object using
yaml_emitter_delete.