pub unsafe fn yaml_emitter_dump_mapping(
emitter: *mut YamlEmitterT,
node: *mut YamlNodeT,
anchor: *mut u8,
) -> SuccessExpand description
Dumps a YAML mapping node to the emitter.
This function handles emitting a mapping node, which is a set of key-value pairs.
ยงSafety
emittermust be a valid, non-null pointer to an initializedYamlEmitterTstruct.nodemust be a valid, non-null pointer to aYamlNodeTstruct representing the mapping node.anchormust be a valid, non-null pointer to ayaml_char_tif provided, or null if no anchor is used.- The caller must ensure that the node and anchor pointers are valid and properly aligned.
- The mapping node must contain a valid set of key-value pairs that can be safely iterated and emitted.