Skip to content

Commit

Permalink
Bug fix in the generator that was outputting %(MISSING) crud.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Gallant (Ocelot) authored and Andrew Gallant (Ocelot) committed May 26, 2012
1 parent aaead2a commit c21c248
Show file tree
Hide file tree
Showing 29 changed files with 332 additions and 332 deletions.
14 changes: 7 additions & 7 deletions bigreq/bigreq.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
package bigreq

/*
This file was generated by bigreq.xml on May 11 2012 11:57:18pm EDT.
This file was generated by bigreq.xml on May 26 2012 6:23:12pm EDT.
This file is automatically generated. Edit at your peril!
*/

Expand Down Expand Up @@ -40,12 +40,6 @@ func init() {
xgb.NewExtErrorFuncs["BIG-REQUESTS"] = make(map[int]xgb.NewErrorFun)
}

// Skipping definition for base type 'Bool'

// Skipping definition for base type 'Float'

// Skipping definition for base type 'Card8'

// Skipping definition for base type 'Int16'

// Skipping definition for base type 'Int32'
Expand All @@ -64,6 +58,12 @@ func init() {

// Skipping definition for base type 'Double'

// Skipping definition for base type 'Bool'

// Skipping definition for base type 'Float'

// Skipping definition for base type 'Card8'

// EnableCookie is a cookie used only for Enable requests.
type EnableCookie struct {
*xgb.Cookie
Expand Down
10 changes: 5 additions & 5 deletions composite/composite.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
package composite

/*
This file was generated by composite.xml on May 11 2012 11:57:18pm EDT.
This file was generated by composite.xml on May 26 2012 6:23:12pm EDT.
This file is automatically generated. Edit at your peril!
*/

Expand Down Expand Up @@ -41,6 +41,10 @@ func init() {
xgb.NewExtErrorFuncs["Composite"] = make(map[int]xgb.NewErrorFun)
}

// Skipping definition for base type 'Float'

// Skipping definition for base type 'Card8'

// Skipping definition for base type 'Int16'

// Skipping definition for base type 'Int32'
Expand All @@ -61,10 +65,6 @@ func init() {

// Skipping definition for base type 'Bool'

// Skipping definition for base type 'Float'

// Skipping definition for base type 'Card8'

const (
RedirectAutomatic = 0
RedirectManual = 1
Expand Down
26 changes: 13 additions & 13 deletions damage/damage.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
package damage

/*
This file was generated by damage.xml on May 11 2012 11:57:19pm EDT.
This file was generated by damage.xml on May 26 2012 6:23:12pm EDT.
This file is automatically generated. Edit at your peril!
*/

Expand Down Expand Up @@ -41,18 +41,6 @@ func init() {
xgb.NewExtErrorFuncs["DAMAGE"] = make(map[int]xgb.NewErrorFun)
}

// Skipping definition for base type 'Card8'

// Skipping definition for base type 'Int16'

// Skipping definition for base type 'Int32'

// Skipping definition for base type 'Void'

// Skipping definition for base type 'Byte'

// Skipping definition for base type 'Int8'

// Skipping definition for base type 'Card16'

// Skipping definition for base type 'Char'
Expand All @@ -65,6 +53,18 @@ func init() {

// Skipping definition for base type 'Float'

// Skipping definition for base type 'Card8'

// Skipping definition for base type 'Int16'

// Skipping definition for base type 'Int32'

// Skipping definition for base type 'Void'

// Skipping definition for base type 'Byte'

// Skipping definition for base type 'Int8'

const (
ReportLevelRawRectangles = 0
ReportLevelDeltaRectangles = 1
Expand Down
26 changes: 13 additions & 13 deletions dpms/dpms.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
package dpms

/*
This file was generated by dpms.xml on May 11 2012 11:57:19pm EDT.
This file was generated by dpms.xml on May 26 2012 6:23:12pm EDT.
This file is automatically generated. Edit at your peril!
*/

Expand Down Expand Up @@ -40,18 +40,6 @@ func init() {
xgb.NewExtErrorFuncs["DPMS"] = make(map[int]xgb.NewErrorFun)
}

// Skipping definition for base type 'Double'

// Skipping definition for base type 'Bool'

// Skipping definition for base type 'Float'

// Skipping definition for base type 'Card8'

// Skipping definition for base type 'Int16'

// Skipping definition for base type 'Int32'

// Skipping definition for base type 'Void'

// Skipping definition for base type 'Byte'
Expand All @@ -64,6 +52,18 @@ func init() {

// 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'

// Skipping definition for base type 'Int16'

// Skipping definition for base type 'Int32'

const (
DPMSModeOn = 0
DPMSModeStandby = 1
Expand Down
30 changes: 15 additions & 15 deletions dri2/dri2.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
package dri2

/*
This file was generated by dri2.xml on May 11 2012 11:57:19pm EDT.
This file was generated by dri2.xml on May 26 2012 6:23:13pm EDT.
This file is automatically generated. Edit at your peril!
*/

Expand Down Expand Up @@ -40,18 +40,6 @@ func init() {
xgb.NewExtErrorFuncs["DRI2"] = make(map[int]xgb.NewErrorFun)
}

// Skipping definition for base type 'Float'

// Skipping definition for base type 'Card8'

// Skipping definition for base type 'Int16'

// Skipping definition for base type 'Int32'

// Skipping definition for base type 'Void'

// Skipping definition for base type 'Byte'

// Skipping definition for base type 'Int8'

// Skipping definition for base type 'Card16'
Expand All @@ -64,6 +52,18 @@ func init() {

// Skipping definition for base type 'Bool'

// Skipping definition for base type 'Float'

// Skipping definition for base type 'Card8'

// Skipping definition for base type 'Int16'

// Skipping definition for base type 'Int32'

// Skipping definition for base type 'Void'

// Skipping definition for base type 'Byte'

const (
AttachmentBufferFrontLeft = 0
AttachmentBufferBackLeft = 1
Expand Down Expand Up @@ -152,7 +152,7 @@ func (v DRI2Buffer) Bytes() []byte {
return buf
}

// DRI2BufferListBytes writes a list of %s(MISSING) values to a byte slice.
// DRI2BufferListBytes writes a list of DRI2Buffer values to a byte slice.
func DRI2BufferListBytes(buf []byte, list []DRI2Buffer) int {
b := 0
var structBytes []byte
Expand Down Expand Up @@ -206,7 +206,7 @@ func (v AttachFormat) Bytes() []byte {
return buf
}

// AttachFormatListBytes writes a list of %s(MISSING) values to a byte slice.
// AttachFormatListBytes writes a list of AttachFormat values to a byte slice.
func AttachFormatListBytes(buf []byte, list []AttachFormat) int {
b := 0
var structBytes []byte
Expand Down
6 changes: 3 additions & 3 deletions ge/ge.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
package ge

/*
This file was generated by ge.xml on May 11 2012 11:57:19pm EDT.
This file was generated by ge.xml on May 26 2012 6:23:13pm EDT.
This file is automatically generated. Edit at your peril!
*/

Expand Down Expand Up @@ -40,8 +40,6 @@ func init() {
xgb.NewExtErrorFuncs["Generic Event Extension"] = make(map[int]xgb.NewErrorFun)
}

// Skipping definition for base type 'Card8'

// Skipping definition for base type 'Int16'

// Skipping definition for base type 'Int32'
Expand All @@ -64,6 +62,8 @@ func init() {

// Skipping definition for base type 'Float'

// Skipping definition for base type 'Card8'

// QueryVersionCookie is a cookie used only for QueryVersion requests.
type QueryVersionCookie struct {
*xgb.Cookie
Expand Down
2 changes: 1 addition & 1 deletion glx/glx.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
package glx

/*
This file was generated by glx.xml on May 11 2012 11:57:19pm EDT.
This file was generated by glx.xml on May 26 2012 6:23:13pm EDT.
This file is automatically generated. Edit at your peril!
*/

Expand Down
18 changes: 9 additions & 9 deletions randr/randr.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
package randr

/*
This file was generated by randr.xml on May 11 2012 11:57:19pm EDT.
This file was generated by randr.xml on May 26 2012 6:23:13pm EDT.
This file is automatically generated. Edit at your peril!
*/

Expand Down Expand Up @@ -41,8 +41,6 @@ func init() {
xgb.NewExtErrorFuncs["RANDR"] = make(map[int]xgb.NewErrorFun)
}

// Skipping definition for base type 'Card8'

// Skipping definition for base type 'Int16'

// Skipping definition for base type 'Int32'
Expand All @@ -65,6 +63,8 @@ func init() {

// Skipping definition for base type 'Float'

// Skipping definition for base type 'Card8'

const (
RotationRotate0 = 1
RotationRotate90 = 2
Expand Down Expand Up @@ -203,7 +203,7 @@ func (v ScreenSize) Bytes() []byte {
return buf
}

// ScreenSizeListBytes writes a list of %s(MISSING) values to a byte slice.
// ScreenSizeListBytes writes a list of ScreenSize values to a byte slice.
func ScreenSizeListBytes(buf []byte, list []ScreenSize) int {
b := 0
var structBytes []byte
Expand Down Expand Up @@ -264,7 +264,7 @@ func (v RefreshRates) Bytes() []byte {
return buf
}

// RefreshRatesListBytes writes a list of %s(MISSING) values to a byte slice.
// RefreshRatesListBytes writes a list of RefreshRates values to a byte slice.
func RefreshRatesListBytes(buf []byte, list []RefreshRates) int {
b := 0
var structBytes []byte
Expand Down Expand Up @@ -404,7 +404,7 @@ func (v ModeInfo) Bytes() []byte {
return buf
}

// ModeInfoListBytes writes a list of %s(MISSING) values to a byte slice.
// ModeInfoListBytes writes a list of ModeInfo values to a byte slice.
func ModeInfoListBytes(buf []byte, list []ModeInfo) int {
b := 0
var structBytes []byte
Expand Down Expand Up @@ -512,7 +512,7 @@ func (v CrtcChange) Bytes() []byte {
return buf
}

// CrtcChangeListBytes writes a list of %s(MISSING) values to a byte slice.
// CrtcChangeListBytes writes a list of CrtcChange values to a byte slice.
func CrtcChangeListBytes(buf []byte, list []CrtcChange) int {
b := 0
var structBytes []byte
Expand Down Expand Up @@ -615,7 +615,7 @@ func (v OutputChange) Bytes() []byte {
return buf
}

// OutputChangeListBytes writes a list of %s(MISSING) values to a byte slice.
// OutputChangeListBytes writes a list of OutputChange values to a byte slice.
func OutputChangeListBytes(buf []byte, list []OutputChange) int {
b := 0
var structBytes []byte
Expand Down Expand Up @@ -695,7 +695,7 @@ func (v OutputProperty) Bytes() []byte {
return buf
}

// OutputPropertyListBytes writes a list of %s(MISSING) values to a byte slice.
// OutputPropertyListBytes writes a list of OutputProperty values to a byte slice.
func OutputPropertyListBytes(buf []byte, list []OutputProperty) int {
b := 0
var structBytes []byte
Expand Down
Loading

0 comments on commit c21c248

Please sign in to comment.