pub unsafe fn yaml_emitter_delete(emitter: *mut YamlEmitterT)Expand description
Destroy an emitter.
This function frees all memory associated with an emitter object, including any dynamically allocated buffers, events, and other data structures.
ยงSafety
emittermust be a valid, non-null pointer to a properly initializedYamlEmitterTstruct.- The
YamlEmitterTstruct and its associated data structures must have been properly initialized and their memory allocated correctly. - The
YamlEmitterTstruct and its associated data structures must be properly aligned and have the expected memory layout. - After calling this function, the
emitterpointer should be considered invalid and should not be used again.