[ CCode ( cname = "yaml_document_initialize" ) ]
public Document (VersionDirective? version_directive, TagDirective tag_directives_start, TagDirective tag_directives_end, int start_implicit, int end_implicit)
Create a YAML document.
| version_directive |
The %YAML directive value or |
| tag_directives_start |
The beginning of the %TAG directives list. |
| tag_directives_end |
The end of the %TAG directives list. |
| start_implicit |
If the document start indicator is implicit. |
| end_implicit |
If the document end indicator is implicit. |
| document |
An empty document object. |
|
1 if the function succeeded, 0 on error. |