Function yaml_emitter_set_break

Synopsis

#include <include/yaml.h>

void yaml_emitter_set_break(yaml_emitter_t *emitter, yaml_break_t line_break)

Description

Set the preferred line break.

Parameters:

[ in,out ] emitter - An emitter object.

[ in ] line_break - The preferred line break.

Set the preferred line break character.

Source

Lines 571-577 in src/api.c. Line 1905 in include/yaml.h.

YAML_DECLARE(void)
yaml_emitter_set_break(yaml_emitter_t *emitter, yaml_break_t line_break)
{
    assert(emitter);    /* Non-NULL emitter object expected. */

    emitter->line_break = line_break;
}





Add Discussion as Guest

Log in to DocsForge