func put_break(emitter *yaml_emitter_t) bool {
	if !flush(emitter) {
		return false
	}
	switch emitter.line_break {
	case yaml_CR_BREAK:
		emitter.buffer[emitter.buffer_pos] = '\r'
		emitter.buffer_pos++
	case yaml_LN_BREAK:
		emitter.buffer[emitter.buffer_pos] = '\n'
		emitter.buffer_pos++
	case yaml_CRLN_BREAK:
		emitter.buffer[emitter.buffer_pos] = '\r'
		emitter.buffer[emitter.buffer_pos] = '\n'
		emitter.buffer_pos += 2
	default:
		return false
	}
	emitter.column = 0
	emitter.line++
	return true
}
/*
Put a line break to the output buffer.
package candiedyaml
import (
	"bytes"
)
var default_tag_directives = []yaml_tag_directive_t{
	{[]byte("!"), []byte("!")},
	{[]byte("!!"), []byte("tag:yaml.org,2002:")},
}
func flush(emitter *yaml_emitter_t) bool {
	if emitter.buffer_pos+5 >= len(emitter.buffer) {
		return yaml_emitter_flush(emitter)
	}
	return true
}
func put(emitter *yaml_emitter_t, value byte) bool {
	if !flush(emitter) {
		return false
	}
	emitter.buffer[emitter.buffer_pos] = value
	emitter.buffer_pos++
	emitter.column++
	return true
}