Function libyml::dumper::yaml_emitter_dump_node

source ·
pub unsafe fn yaml_emitter_dump_node(
    emitter: *mut YamlEmitterT,
    index: i32,
) -> Success
Expand description

Dumps a YAML node to the emitter.

This function is responsible for emitting a single YAML node from a document.

§Safety

  • emitter must be a valid, non-null pointer to an initialized YamlEmitterT struct.
  • index must be a valid index within the YAML document associated with the emitter.
  • The caller must ensure that the node at index can be safely emitted without causing memory issues.