add a little more docs for errors
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
package xf86vidmode
|
||||
|
||||
/*
|
||||
This file was generated by xf86vidmode.xml on May 10 2012 11:56:19pm EDT.
|
||||
This file was generated by xf86vidmode.xml on May 11 2012 1:58:36am EDT.
|
||||
This file is automatically generated. Edit at your peril!
|
||||
*/
|
||||
|
||||
@@ -40,16 +40,6 @@ func init() {
|
||||
xgb.NewExtErrorFuncs["XFree86-VidModeExtension"] = make(map[int]xgb.NewErrorFun)
|
||||
}
|
||||
|
||||
// Skipping definition for base type 'Card16'
|
||||
|
||||
// Skipping definition for base type 'Char'
|
||||
|
||||
// Skipping definition for base type 'Card32'
|
||||
|
||||
// Skipping definition for base type 'Double'
|
||||
|
||||
// Skipping definition for base type 'Bool'
|
||||
|
||||
// Skipping definition for base type 'Float'
|
||||
|
||||
// Skipping definition for base type 'Card8'
|
||||
@@ -64,6 +54,16 @@ func init() {
|
||||
|
||||
// Skipping definition for base type 'Int8'
|
||||
|
||||
// Skipping definition for base type 'Card16'
|
||||
|
||||
// Skipping definition for base type 'Char'
|
||||
|
||||
// Skipping definition for base type 'Card32'
|
||||
|
||||
// Skipping definition for base type 'Double'
|
||||
|
||||
// Skipping definition for base type 'Bool'
|
||||
|
||||
const (
|
||||
ModeFlagPositiveHsync = 1
|
||||
ModeFlagNegativeHsync = 2
|
||||
@@ -255,10 +255,13 @@ func (err BadClockError) SequenceId() uint16 {
|
||||
return err.Sequence
|
||||
}
|
||||
|
||||
// BadId returns the 'BadValue' number if one exists for the BadBadClock error. If no bad value exists, 0 is returned.
|
||||
func (err BadClockError) BadId() uint32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Error returns a rudimentary string representation of the BadBadClock error.
|
||||
|
||||
func (err BadClockError) Error() string {
|
||||
fieldVals := make([]string, 0, 0)
|
||||
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
|
||||
@@ -298,10 +301,13 @@ func (err BadHTimingsError) SequenceId() uint16 {
|
||||
return err.Sequence
|
||||
}
|
||||
|
||||
// BadId returns the 'BadValue' number if one exists for the BadBadHTimings error. If no bad value exists, 0 is returned.
|
||||
func (err BadHTimingsError) BadId() uint32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Error returns a rudimentary string representation of the BadBadHTimings error.
|
||||
|
||||
func (err BadHTimingsError) Error() string {
|
||||
fieldVals := make([]string, 0, 0)
|
||||
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
|
||||
@@ -341,10 +347,13 @@ func (err BadVTimingsError) SequenceId() uint16 {
|
||||
return err.Sequence
|
||||
}
|
||||
|
||||
// BadId returns the 'BadValue' number if one exists for the BadBadVTimings error. If no bad value exists, 0 is returned.
|
||||
func (err BadVTimingsError) BadId() uint32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Error returns a rudimentary string representation of the BadBadVTimings error.
|
||||
|
||||
func (err BadVTimingsError) Error() string {
|
||||
fieldVals := make([]string, 0, 0)
|
||||
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
|
||||
@@ -384,10 +393,13 @@ func (err ModeUnsuitableError) SequenceId() uint16 {
|
||||
return err.Sequence
|
||||
}
|
||||
|
||||
// BadId returns the 'BadValue' number if one exists for the BadModeUnsuitable error. If no bad value exists, 0 is returned.
|
||||
func (err ModeUnsuitableError) BadId() uint32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Error returns a rudimentary string representation of the BadModeUnsuitable error.
|
||||
|
||||
func (err ModeUnsuitableError) Error() string {
|
||||
fieldVals := make([]string, 0, 0)
|
||||
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
|
||||
@@ -427,10 +439,13 @@ func (err ExtensionDisabledError) SequenceId() uint16 {
|
||||
return err.Sequence
|
||||
}
|
||||
|
||||
// BadId returns the 'BadValue' number if one exists for the BadExtensionDisabled error. If no bad value exists, 0 is returned.
|
||||
func (err ExtensionDisabledError) BadId() uint32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Error returns a rudimentary string representation of the BadExtensionDisabled error.
|
||||
|
||||
func (err ExtensionDisabledError) Error() string {
|
||||
fieldVals := make([]string, 0, 0)
|
||||
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
|
||||
@@ -470,10 +485,13 @@ func (err ClientNotLocalError) SequenceId() uint16 {
|
||||
return err.Sequence
|
||||
}
|
||||
|
||||
// BadId returns the 'BadValue' number if one exists for the BadClientNotLocal error. If no bad value exists, 0 is returned.
|
||||
func (err ClientNotLocalError) BadId() uint32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Error returns a rudimentary string representation of the BadClientNotLocal error.
|
||||
|
||||
func (err ClientNotLocalError) Error() string {
|
||||
fieldVals := make([]string, 0, 0)
|
||||
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
|
||||
@@ -513,10 +531,13 @@ func (err ZoomLockedError) SequenceId() uint16 {
|
||||
return err.Sequence
|
||||
}
|
||||
|
||||
// BadId returns the 'BadValue' number if one exists for the BadZoomLocked error. If no bad value exists, 0 is returned.
|
||||
func (err ZoomLockedError) BadId() uint32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Error returns a rudimentary string representation of the BadZoomLocked error.
|
||||
|
||||
func (err ZoomLockedError) Error() string {
|
||||
fieldVals := make([]string, 0, 0)
|
||||
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
|
||||
|
||||
Reference in New Issue
Block a user