mapping_start_initialize


Description:

[ CCode ( cname = "yaml_mapping_start_event_initialize" ) ]
public int mapping_start_initialize (string? anchor, string? tag, int implicit, MappingStyle style)

Create a MAPPING-START event.

The style argument may be ignored by the emitter.

Either the tag attribute or the implicit flag must be set.

Parameters:

anchor

The mapping anchor or NULL.

tag

The mapping tag or NULL.

implicit

If the tag may be omitted.

style

The mapping style.

event

An empty event object.

Returns:

1 if the function succeeded, 0 on error.