Function unsafe_libyaml::yaml_document_add_scalar 
source · pub unsafe fn yaml_document_add_scalar(
    document: *mut yaml_document_t,
    tag: *const u8,
    value: *const u8,
    length: i32,
    style: yaml_scalar_style_t
) -> i32Expand description
Create a SCALAR node and attach it to the document.
The style argument may be ignored by the emitter.
Returns the node id or 0 on error.