code: func yaml_emitter_analyze_version_directive(emitter *yaml_emitter_t, version_directive *yaml_version_directive_t) bool {
  	if version_directive.major != 1 || version_directive.minor != 1 {
  		return yaml_emitter_set_emitter_error(emitter, "incompatible %YAML directive")
  	}
  	return true
  }
docs: // Check if a %YAML directive is valid.