add a little more docs for errors
This commit is contained in:
		@@ -2,7 +2,7 @@
 | 
			
		||||
package xv
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
	This file was generated by xv.xml on May 10 2012 11:56:20pm EDT.
 | 
			
		||||
	This file was generated by xv.xml on May 11 2012 1:58:37am EDT.
 | 
			
		||||
	This file is automatically generated. Edit at your peril!
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
@@ -41,10 +41,6 @@ func init() {
 | 
			
		||||
	xgb.NewExtErrorFuncs["XVideo"] = make(map[int]xgb.NewErrorFun)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Skipping definition for base type 'Char'
 | 
			
		||||
 | 
			
		||||
// Skipping definition for base type 'Card32'
 | 
			
		||||
 | 
			
		||||
// Skipping definition for base type 'Double'
 | 
			
		||||
 | 
			
		||||
// Skipping definition for base type 'Bool'
 | 
			
		||||
@@ -65,6 +61,10 @@ func init() {
 | 
			
		||||
 | 
			
		||||
// Skipping definition for base type 'Card16'
 | 
			
		||||
 | 
			
		||||
// Skipping definition for base type 'Char'
 | 
			
		||||
 | 
			
		||||
// Skipping definition for base type 'Card32'
 | 
			
		||||
 | 
			
		||||
const (
 | 
			
		||||
	TypeInputMask  = 1
 | 
			
		||||
	TypeOutputMask = 2
 | 
			
		||||
@@ -1087,10 +1087,13 @@ func (err BadPortError) SequenceId() uint16 {
 | 
			
		||||
	return err.Sequence
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// BadId returns the 'BadValue' number if one exists for the BadBadPort error. If no bad value exists, 0 is returned.
 | 
			
		||||
func (err BadPortError) BadId() uint32 {
 | 
			
		||||
	return 0
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Error returns a rudimentary string representation of the BadBadPort error.
 | 
			
		||||
 | 
			
		||||
func (err BadPortError) Error() string {
 | 
			
		||||
	fieldVals := make([]string, 0, 0)
 | 
			
		||||
	fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
 | 
			
		||||
@@ -1130,10 +1133,13 @@ func (err BadEncodingError) SequenceId() uint16 {
 | 
			
		||||
	return err.Sequence
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// BadId returns the 'BadValue' number if one exists for the BadBadEncoding error. If no bad value exists, 0 is returned.
 | 
			
		||||
func (err BadEncodingError) BadId() uint32 {
 | 
			
		||||
	return 0
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Error returns a rudimentary string representation of the BadBadEncoding error.
 | 
			
		||||
 | 
			
		||||
func (err BadEncodingError) Error() string {
 | 
			
		||||
	fieldVals := make([]string, 0, 0)
 | 
			
		||||
	fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
 | 
			
		||||
@@ -1173,10 +1179,13 @@ func (err BadControlError) SequenceId() uint16 {
 | 
			
		||||
	return err.Sequence
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// BadId returns the 'BadValue' number if one exists for the BadBadControl error. If no bad value exists, 0 is returned.
 | 
			
		||||
func (err BadControlError) BadId() uint32 {
 | 
			
		||||
	return 0
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Error returns a rudimentary string representation of the BadBadControl error.
 | 
			
		||||
 | 
			
		||||
func (err BadControlError) Error() string {
 | 
			
		||||
	fieldVals := make([]string, 0, 0)
 | 
			
		||||
	fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user