Bug fix in the generator that was outputting %(MISSING) crud.

This commit is contained in:
Andrew Gallant (Ocelot)
2012-05-26 18:24:52 -04:00
parent 58bb2572c5
commit 4ea94ca0fe
29 changed files with 332 additions and 332 deletions

View File

@@ -2,7 +2,7 @@
package xproto
/*
This file was generated by xproto.xml on May 11 2012 11:57:20pm EDT.
This file was generated by xproto.xml on May 26 2012 6:23:14pm EDT.
This file is automatically generated. Edit at your peril!
*/
@@ -23,6 +23,16 @@ func (s *SetupInfo) DefaultScreen(c *xgb.Conn) *ScreenInfo {
return &s.Roots[c.DefaultScreen]
}
// 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'
@@ -37,16 +47,6 @@ func (s *SetupInfo) DefaultScreen(c *xgb.Conn) *ScreenInfo {
// 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 (
VisualClassStaticGray = 0
VisualClassGrayScale = 1
@@ -775,7 +775,7 @@ func (v Char2b) Bytes() []byte {
return buf
}
// Char2bListBytes writes a list of %s(MISSING) values to a byte slice.
// Char2bListBytes writes a list of Char2b values to a byte slice.
func Char2bListBytes(buf []byte, list []Char2b) int {
b := 0
var structBytes []byte
@@ -829,7 +829,7 @@ func (v Point) Bytes() []byte {
return buf
}
// PointListBytes writes a list of %s(MISSING) values to a byte slice.
// PointListBytes writes a list of Point values to a byte slice.
func PointListBytes(buf []byte, list []Point) int {
b := 0
var structBytes []byte
@@ -897,7 +897,7 @@ func (v Rectangle) Bytes() []byte {
return buf
}
// RectangleListBytes writes a list of %s(MISSING) values to a byte slice.
// RectangleListBytes writes a list of Rectangle values to a byte slice.
func RectangleListBytes(buf []byte, list []Rectangle) int {
b := 0
var structBytes []byte
@@ -979,7 +979,7 @@ func (v Arc) Bytes() []byte {
return buf
}
// ArcListBytes writes a list of %s(MISSING) values to a byte slice.
// ArcListBytes writes a list of Arc values to a byte slice.
func ArcListBytes(buf []byte, list []Arc) int {
b := 0
var structBytes []byte
@@ -1045,7 +1045,7 @@ func (v Format) Bytes() []byte {
return buf
}
// FormatListBytes writes a list of %s(MISSING) values to a byte slice.
// FormatListBytes writes a list of Format values to a byte slice.
func FormatListBytes(buf []byte, list []Format) int {
b := 0
var structBytes []byte
@@ -1139,7 +1139,7 @@ func (v VisualInfo) Bytes() []byte {
return buf
}
// VisualInfoListBytes writes a list of %s(MISSING) values to a byte slice.
// VisualInfoListBytes writes a list of VisualInfo values to a byte slice.
func VisualInfoListBytes(buf []byte, list []VisualInfo) int {
b := 0
var structBytes []byte
@@ -1209,7 +1209,7 @@ func (v DepthInfo) Bytes() []byte {
return buf
}
// DepthInfoListBytes writes a list of %s(MISSING) values to a byte slice.
// DepthInfoListBytes writes a list of DepthInfo values to a byte slice.
func DepthInfoListBytes(buf []byte, list []DepthInfo) int {
b := 0
var structBytes []byte
@@ -1384,7 +1384,7 @@ func (v ScreenInfo) Bytes() []byte {
return buf
}
// ScreenInfoListBytes writes a list of %s(MISSING) values to a byte slice.
// ScreenInfoListBytes writes a list of ScreenInfo values to a byte slice.
func ScreenInfoListBytes(buf []byte, list []ScreenInfo) int {
b := 0
var structBytes []byte
@@ -1500,7 +1500,7 @@ func (v SetupRequest) Bytes() []byte {
return buf
}
// SetupRequestListBytes writes a list of %s(MISSING) values to a byte slice.
// SetupRequestListBytes writes a list of SetupRequest values to a byte slice.
func SetupRequestListBytes(buf []byte, list []SetupRequest) int {
b := 0
var structBytes []byte
@@ -1595,7 +1595,7 @@ func (v SetupFailed) Bytes() []byte {
return buf
}
// SetupFailedListBytes writes a list of %s(MISSING) values to a byte slice.
// SetupFailedListBytes writes a list of SetupFailed values to a byte slice.
func SetupFailedListBytes(buf []byte, list []SetupFailed) int {
b := 0
var structBytes []byte
@@ -1674,7 +1674,7 @@ func (v SetupAuthenticate) Bytes() []byte {
return buf
}
// SetupAuthenticateListBytes writes a list of %s(MISSING) values to a byte slice.
// SetupAuthenticateListBytes writes a list of SetupAuthenticate values to a byte slice.
func SetupAuthenticateListBytes(buf []byte, list []SetupAuthenticate) int {
b := 0
var structBytes []byte
@@ -1882,7 +1882,7 @@ func (v SetupInfo) Bytes() []byte {
return buf
}
// SetupInfoListBytes writes a list of %s(MISSING) values to a byte slice.
// SetupInfoListBytes writes a list of SetupInfo values to a byte slice.
func SetupInfoListBytes(buf []byte, list []SetupInfo) int {
b := 0
var structBytes []byte
@@ -1952,7 +1952,7 @@ func (v Timecoord) Bytes() []byte {
return buf
}
// TimecoordListBytes writes a list of %s(MISSING) values to a byte slice.
// TimecoordListBytes writes a list of Timecoord values to a byte slice.
func TimecoordListBytes(buf []byte, list []Timecoord) int {
b := 0
var structBytes []byte
@@ -2006,7 +2006,7 @@ func (v Fontprop) Bytes() []byte {
return buf
}
// FontpropListBytes writes a list of %s(MISSING) values to a byte slice.
// FontpropListBytes writes a list of Fontprop values to a byte slice.
func FontpropListBytes(buf []byte, list []Fontprop) int {
b := 0
var structBytes []byte
@@ -2088,7 +2088,7 @@ func (v Charinfo) Bytes() []byte {
return buf
}
// CharinfoListBytes writes a list of %s(MISSING) values to a byte slice.
// CharinfoListBytes writes a list of Charinfo values to a byte slice.
func CharinfoListBytes(buf []byte, list []Charinfo) int {
b := 0
var structBytes []byte
@@ -2146,7 +2146,7 @@ func (v Str) Bytes() []byte {
return buf
}
// StrListBytes writes a list of %s(MISSING) values to a byte slice.
// StrListBytes writes a list of Str values to a byte slice.
func StrListBytes(buf []byte, list []Str) int {
b := 0
var structBytes []byte
@@ -2223,7 +2223,7 @@ func (v Segment) Bytes() []byte {
return buf
}
// SegmentListBytes writes a list of %s(MISSING) values to a byte slice.
// SegmentListBytes writes a list of Segment values to a byte slice.
func SegmentListBytes(buf []byte, list []Segment) int {
b := 0
var structBytes []byte
@@ -2303,7 +2303,7 @@ func (v Coloritem) Bytes() []byte {
return buf
}
// ColoritemListBytes writes a list of %s(MISSING) values to a byte slice.
// ColoritemListBytes writes a list of Coloritem values to a byte slice.
func ColoritemListBytes(buf []byte, list []Coloritem) int {
b := 0
var structBytes []byte
@@ -2369,7 +2369,7 @@ func (v Rgb) Bytes() []byte {
return buf
}
// RgbListBytes writes a list of %s(MISSING) values to a byte slice.
// RgbListBytes writes a list of Rgb values to a byte slice.
func RgbListBytes(buf []byte, list []Rgb) int {
b := 0
var structBytes []byte
@@ -2436,7 +2436,7 @@ func (v Host) Bytes() []byte {
return buf
}
// HostListBytes writes a list of %s(MISSING) values to a byte slice.
// HostListBytes writes a list of Host values to a byte slice.
func HostListBytes(buf []byte, list []Host) int {
b := 0
var structBytes []byte