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 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!
*/
@@ -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'
@@ -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
@@ -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
@@ -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