// See forminfo.go for format.
See forminfo.go for format.
// See forminfo . go for format .
func makeEntry(f *FormInfo) uint16 {
	e := uint16(0)
	if f.combinesForward {
		e |= 0x8
	}
	if f.quickCheck[MDecomposed] == QCNo {
		e |= 0x1
	}
	switch f.quickCheck[MComposed] {
	case QCYes:
	case QCNo:
		e |= 0x4
	case QCMaybe:
		e |= 0x6
	default:
		log.Fatalf("Illegal quickcheck value %v.", f.quickCheck[MComposed])
	}
	return e
}
func makeEntry ( f * FormInfo ) uint16 { e := uint16 ( 0 ) if f . combinesForward { e |= 0x8 } if f . quickCheck [ MDecomposed ] == QCNo { e |= 0x1 } switch f . quickCheck [ MComposed ] { case QCYes : case QCNo : e |= 0x4 case QCMaybe : e |= 0x6 default : log . Fatalf ( " " , f . quickCheck [ MComposed ] ) } return e }
See forminfo.go for format.
See forminfo . go for format .