document_start_initialize


Description:

[ CCode ( cname = "yaml_document_start_event_initialize" ) ]
public int document_start_initialize (VersionDirective? version_directive, TagDirective[]? tag_directives_start, TagDirective[]? tag_directives_end, int implicit)

Create the DOCUMENT-START event.

The implicit argument is considered as a stylistic parameter and may be ignored by the emitter.

Parameters:

version_directive

The %YAML directive value or NULL.

tag_directives_start

The beginning of the %TAG directives list.

tag_directives_end

The end of the %TAG directives list.

implicit

If the document start indicator is implicit.

event

An empty event object.

Returns:

1 if the function succeeded, 0 on error.