pub unsafe fn yaml_scalar_event_initialize(
    event: *mut yaml_event_t,
    anchor: *const u8,
    tag: *const u8,
    value: *const u8,
    length: i32,
    plain_implicit: i32,
    quoted_implicit: i32,
    style: yaml_scalar_style_t
) -> i32
Expand description

Create a SCALAR event.

The style argument may be ignored by the emitter.

Either the tag attribute or one of the plain_implicit and quoted_implicit flags must be set.

Returns 1 if the function succeeded, 0 on error.