adding package header comments

This commit is contained in:
Andrew Gallant (Ocelot) 2012-05-10 20:06:22 -04:00
parent 0c50dc6241
commit a3363755cd
29 changed files with 228 additions and 198 deletions

View File

@ -1,7 +1,8 @@
// Package bigreq is the X client API for the BIG-REQUESTS extension.
package bigreq
/*
This file was generated by bigreq.xml on May 10 2012 4:20:27pm EDT.
This file was generated by bigreq.xml on May 10 2012 8:04:31pm EDT.
This file is automatically generated. Edit at your peril!
*/
@ -39,6 +40,16 @@ func init() {
xgb.NewExtErrorFuncs["BIG-REQUESTS"] = 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'
@ -53,16 +64,6 @@ 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'
// Request Enable
// size: 4
type EnableCookie struct {

View File

@ -1,7 +1,8 @@
// Package composite is the X client API for the Composite extension.
package composite
/*
This file was generated by composite.xml on May 10 2012 4:20:27pm EDT.
This file was generated by composite.xml on May 10 2012 8:04:31pm EDT.
This file is automatically generated. Edit at your peril!
*/

View File

@ -1,7 +1,8 @@
// Package damage is the X client API for the DAMAGE extension.
package damage
/*
This file was generated by damage.xml on May 10 2012 4:20:27pm EDT.
This file was generated by damage.xml on May 10 2012 8:04:31pm EDT.
This file is automatically generated. Edit at your peril!
*/
@ -40,12 +41,6 @@ func init() {
xgb.NewExtErrorFuncs["DAMAGE"] = 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'
@ -64,6 +59,12 @@ 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'
const (
ReportLevelRawRectangles = 0
ReportLevelDeltaRectangles = 1

View File

@ -1,7 +1,8 @@
// Package dpms is the X client API for the DPMS extension.
package dpms
/*
This file was generated by dpms.xml on May 10 2012 4:20:27pm EDT.
This file was generated by dpms.xml on May 10 2012 8:04:31pm EDT.
This file is automatically generated. Edit at your peril!
*/
@ -39,10 +40,6 @@ func init() {
xgb.NewExtErrorFuncs["DPMS"] = make(map[int]xgb.NewErrorFun)
}
// Skipping definition for base type 'Int32'
// Skipping definition for base type 'Void'
// Skipping definition for base type 'Byte'
// Skipping definition for base type 'Int8'
@ -63,6 +60,10 @@ func init() {
// Skipping definition for base type 'Int16'
// Skipping definition for base type 'Int32'
// Skipping definition for base type 'Void'
const (
DPMSModeOn = 0
DPMSModeStandby = 1

View File

@ -1,7 +1,8 @@
// Package dri2 is the X client API for the DRI2 extension.
package dri2
/*
This file was generated by dri2.xml on May 10 2012 4:20:27pm EDT.
This file was generated by dri2.xml on May 10 2012 8:04:31pm EDT.
This file is automatically generated. Edit at your peril!
*/
@ -39,14 +40,6 @@ func init() {
xgb.NewExtErrorFuncs["DRI2"] = make(map[int]xgb.NewErrorFun)
}
// 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'
// Skipping definition for base type 'Card32'
@ -63,6 +56,14 @@ func init() {
// 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'
const (
AttachmentBufferFrontLeft = 0
AttachmentBufferBackLeft = 1

View File

@ -1,7 +1,8 @@
// Package ge is the X client API for the Generic Event Extension extension.
package ge
/*
This file was generated by ge.xml on May 10 2012 4:20:27pm EDT.
This file was generated by ge.xml on May 10 2012 8:04:31pm EDT.
This file is automatically generated. Edit at your peril!
*/
@ -39,18 +40,6 @@ func init() {
xgb.NewExtErrorFuncs["Generic Event Extension"] = 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'
// Skipping definition for base type 'Int16'
@ -63,6 +52,18 @@ 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'
// Skipping definition for base type 'Float'
// Request QueryVersion
// size: 8
type QueryVersionCookie struct {

View File

@ -1,7 +1,8 @@
// Package glx is the X client API for the GLX extension.
package glx
/*
This file was generated by glx.xml on May 10 2012 4:20:27pm EDT.
This file was generated by glx.xml on May 10 2012 8:04:31pm EDT.
This file is automatically generated. Edit at your peril!
*/
@ -39,6 +40,8 @@ func init() {
xgb.NewExtErrorFuncs["GLX"] = make(map[int]xgb.NewErrorFun)
}
// Skipping definition for base type 'Float'
// Skipping definition for base type 'Card8'
// Skipping definition for base type 'Int16'
@ -61,8 +64,6 @@ func init() {
// Skipping definition for base type 'Bool'
// Skipping definition for base type 'Float'
const (
PbcetDamaged = 32791
PbcetSaved = 32792

View File

@ -1,7 +1,8 @@
// Package randr is the X client API for the RANDR extension.
package randr
/*
This file was generated by randr.xml on May 10 2012 4:20:27pm EDT.
This file was generated by randr.xml on May 10 2012 8:04:31pm EDT.
This file is automatically generated. Edit at your peril!
*/
@ -40,8 +41,6 @@ func init() {
xgb.NewExtErrorFuncs["RANDR"] = make(map[int]xgb.NewErrorFun)
}
// Skipping definition for base type 'Int32'
// Skipping definition for base type 'Void'
// Skipping definition for base type 'Byte'
@ -64,6 +63,8 @@ func init() {
// Skipping definition for base type 'Int16'
// Skipping definition for base type 'Int32'
const (
RotationRotate0 = 1
RotationRotate90 = 2

View File

@ -1,7 +1,8 @@
// Package record is the X client API for the RECORD extension.
package record
/*
This file was generated by record.xml on May 10 2012 4:20:28pm EDT.
This file was generated by record.xml on May 10 2012 8:04:32pm EDT.
This file is automatically generated. Edit at your peril!
*/
@ -39,6 +40,10 @@ func init() {
xgb.NewExtErrorFuncs["RECORD"] = 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'
@ -59,10 +64,6 @@ func init() {
// Skipping definition for base type 'Bool'
// Skipping definition for base type 'Float'
// Skipping definition for base type 'Card8'
const (
HTypeFromServerTime = 1
HTypeFromClientTime = 2

View File

@ -1,7 +1,8 @@
// Package render is the X client API for the RENDER extension.
package render
/*
This file was generated by render.xml on May 10 2012 4:20:28pm EDT.
This file was generated by render.xml on May 10 2012 8:04:32pm EDT.
This file is automatically generated. Edit at your peril!
*/
@ -39,6 +40,10 @@ func init() {
xgb.NewExtErrorFuncs["RENDER"] = 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'
@ -59,10 +64,6 @@ func init() {
// Skipping definition for base type 'Float'
// Skipping definition for base type 'Card8'
// Skipping definition for base type 'Int16'
const (
PictTypeIndexed = 0
PictTypeDirect = 1

View File

@ -1,7 +1,8 @@
// Package res is the X client API for the X-Resource extension.
package res
/*
This file was generated by res.xml on May 10 2012 4:20:28pm EDT.
This file was generated by res.xml on May 10 2012 8:04:32pm EDT.
This file is automatically generated. Edit at your peril!
*/
@ -39,6 +40,14 @@ func init() {
xgb.NewExtErrorFuncs["X-Resource"] = make(map[int]xgb.NewErrorFun)
}
// 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'
@ -55,14 +64,6 @@ func init() {
// 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'
// 'Client' struct definition
// Size: 8
type Client struct {

View File

@ -1,7 +1,8 @@
// Package screensaver is the X client API for the MIT-SCREEN-SAVER extension.
package screensaver
/*
This file was generated by screensaver.xml on May 10 2012 4:20:28pm EDT.
This file was generated by screensaver.xml on May 10 2012 8:04:32pm EDT.
This file is automatically generated. Edit at your peril!
*/
@ -39,6 +40,16 @@ func init() {
xgb.NewExtErrorFuncs["MIT-SCREEN-SAVER"] = 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'
// Skipping definition for base type 'Void'
// Skipping definition for base type 'Byte'
@ -53,16 +64,6 @@ 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'
// Skipping definition for base type 'Int16'
// Skipping definition for base type 'Int32'
const (
KindBlanked = 0
KindInternal = 1

View File

@ -1,7 +1,8 @@
// Package shape is the X client API for the SHAPE extension.
package shape
/*
This file was generated by shape.xml on May 10 2012 4:20:28pm EDT.
This file was generated by shape.xml on May 10 2012 8:04:32pm EDT.
This file is automatically generated. Edit at your peril!
*/
@ -39,14 +40,6 @@ func init() {
xgb.NewExtErrorFuncs["SHAPE"] = make(map[int]xgb.NewErrorFun)
}
// 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'
@ -63,6 +56,14 @@ func init() {
// 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'
const (
SoSet = 0
SoUnion = 1

View File

@ -1,7 +1,8 @@
// Package shm is the X client API for the MIT-SHM extension.
package shm
/*
This file was generated by shm.xml on May 10 2012 4:20:28pm EDT.
This file was generated by shm.xml on May 10 2012 8:04:32pm EDT.
This file is automatically generated. Edit at your peril!
*/

View File

@ -1,7 +1,8 @@
// Package sync is the X client API for the SYNC extension.
package sync
/*
This file was generated by sync.xml on May 10 2012 4:20:28pm EDT.
This file was generated by sync.xml on May 10 2012 8:04:32pm EDT.
This file is automatically generated. Edit at your peril!
*/
@ -39,14 +40,6 @@ func init() {
xgb.NewExtErrorFuncs["SYNC"] = 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'
// Skipping definition for base type 'Void'
@ -63,6 +56,14 @@ 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'
// Skipping definition for base type 'Int16'
const (
AlarmstateActive = 0
AlarmstateInactive = 1

View File

@ -1,7 +1,8 @@
// Package xcmisc is the X client API for the XC-MISC extension.
package xcmisc
/*
This file was generated by xc_misc.xml on May 10 2012 4:20:28pm EDT.
This file was generated by xc_misc.xml on May 10 2012 8:04:32pm EDT.
This file is automatically generated. Edit at your peril!
*/
@ -39,6 +40,8 @@ func init() {
xgb.NewExtErrorFuncs["XC-MISC"] = make(map[int]xgb.NewErrorFun)
}
// Skipping definition for base type 'Float'
// Skipping definition for base type 'Card8'
// Skipping definition for base type 'Int16'
@ -61,8 +64,6 @@ func init() {
// Skipping definition for base type 'Bool'
// Skipping definition for base type 'Float'
// Request GetVersion
// size: 8
type GetVersionCookie struct {

View File

@ -1,7 +1,8 @@
// Package xevie is the X client API for the XEVIE extension.
package xevie
/*
This file was generated by xevie.xml on May 10 2012 4:20:28pm EDT.
This file was generated by xevie.xml on May 10 2012 8:04:32pm EDT.
This file is automatically generated. Edit at your peril!
*/
@ -39,6 +40,16 @@ func init() {
xgb.NewExtErrorFuncs["XEVIE"] = 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'
@ -53,16 +64,6 @@ 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'
const (
DatatypeUnmodified = 0
DatatypeModified = 1

View File

@ -1,7 +1,8 @@
// Package xf86dri is the X client API for the XFree86-DRI extension.
package xf86dri
/*
This file was generated by xf86dri.xml on May 10 2012 4:20:28pm EDT.
This file was generated by xf86dri.xml on May 10 2012 8:04:32pm EDT.
This file is automatically generated. Edit at your peril!
*/
@ -39,16 +40,6 @@ func init() {
xgb.NewExtErrorFuncs["XFree86-DRI"] = 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'
@ -63,6 +54,16 @@ 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'
// 'DrmClipRect' struct definition
// Size: 8
type DrmClipRect struct {

View File

@ -1,7 +1,8 @@
// Package xf86vidmode is the X client API for the XFree86-VidModeExtension extension.
package xf86vidmode
/*
This file was generated by xf86vidmode.xml on May 10 2012 4:20:28pm EDT.
This file was generated by xf86vidmode.xml on May 10 2012 8:04:32pm EDT.
This file is automatically generated. Edit at your peril!
*/

View File

@ -1,7 +1,8 @@
// Package xfixes is the X client API for the XFIXES extension.
package xfixes
/*
This file was generated by xfixes.xml on May 10 2012 4:20:28pm EDT.
This file was generated by xfixes.xml on May 10 2012 8:04:32pm EDT.
This file is automatically generated. Edit at your peril!
*/
@ -41,6 +42,16 @@ func init() {
xgb.NewExtErrorFuncs["XFIXES"] = 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'
@ -55,16 +66,6 @@ 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'
const (
SaveSetModeInsert = 0
SaveSetModeDelete = 1

View File

@ -51,6 +51,8 @@ func (c *Context) Morph(xmlBytes []byte) {
c.protocol = parsedXml.Translate(nil)
// Start with Go header.
c.Putln("// Package %s is the X client API for the %s extension.",
c.protocol.PkgName(), c.protocol.ExtXName)
c.Putln("package %s", c.protocol.PkgName())
c.Putln("")
c.Putln("/*")

View File

@ -1,7 +1,8 @@
// Package xinerama is the X client API for the XINERAMA extension.
package xinerama
/*
This file was generated by xinerama.xml on May 10 2012 4:20:28pm EDT.
This file was generated by xinerama.xml on May 10 2012 8:04:32pm EDT.
This file is automatically generated. Edit at your peril!
*/
@ -39,6 +40,14 @@ func init() {
xgb.NewExtErrorFuncs["XINERAMA"] = make(map[int]xgb.NewErrorFun)
}
// 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'
@ -55,14 +64,6 @@ func init() {
// 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'
// 'ScreenInfo' struct definition
// Size: 8
type ScreenInfo struct {

View File

@ -1,7 +1,8 @@
// Package xinput is the X client API for the XInputExtension extension.
package xinput
/*
This file was generated by xinput.xml on May 10 2012 4:20:28pm EDT.
This file was generated by xinput.xml on May 10 2012 8:04:32pm EDT.
This file is automatically generated. Edit at your peril!
*/
@ -39,6 +40,12 @@ func init() {
xgb.NewExtErrorFuncs["XInputExtension"] = 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'
@ -57,12 +64,6 @@ 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'
const (
ValuatorModeRelative = 0
ValuatorModeAbsolute = 1

View File

@ -1,7 +1,8 @@
// Package xprint is the X client API for the XpExtension extension.
package xprint
/*
This file was generated by xprint.xml on May 10 2012 4:20:28pm EDT.
This file was generated by xprint.xml on May 10 2012 8:04:32pm EDT.
This file is automatically generated. Edit at your peril!
*/
@ -39,16 +40,6 @@ func init() {
xgb.NewExtErrorFuncs["XpExtension"] = 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'
@ -63,6 +54,16 @@ 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'
const (
GetDocFinished = 0
GetDocSecondConsumer = 1

View File

@ -1,7 +1,8 @@
// Package xproto is the X client API for the extension.
package xproto
/*
This file was generated by xproto.xml on May 10 2012 4:20:28pm EDT.
This file was generated by xproto.xml on May 10 2012 8:04:32pm EDT.
This file is automatically generated. Edit at your peril!
*/
@ -22,10 +23,6 @@ func (s *SetupInfo) DefaultScreen(c *xgb.Conn) *ScreenInfo {
return &s.Roots[c.DefaultScreen]
}
// Skipping definition for base type 'Int8'
// Skipping definition for base type 'Card16'
// Skipping definition for base type 'Char'
// Skipping definition for base type 'Card32'
@ -46,6 +43,10 @@ func (s *SetupInfo) DefaultScreen(c *xgb.Conn) *ScreenInfo {
// Skipping definition for base type 'Byte'
// Skipping definition for base type 'Int8'
// Skipping definition for base type 'Card16'
const (
VisualClassStaticGray = 0
VisualClassGrayScale = 1

View File

@ -1,7 +1,8 @@
// Package xselinux is the X client API for the SELinux extension.
package xselinux
/*
This file was generated by xselinux.xml on May 10 2012 4:20:29pm EDT.
This file was generated by xselinux.xml on May 10 2012 8:04:33pm EDT.
This file is automatically generated. Edit at your peril!
*/
@ -39,14 +40,6 @@ func init() {
xgb.NewExtErrorFuncs["SELinux"] = make(map[int]xgb.NewErrorFun)
}
// 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'
@ -63,6 +56,14 @@ func init() {
// 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'
// 'ListItem' struct definition
// Size: ((12 + xgb.Pad((int(ObjectContextLen) * 1))) + xgb.Pad((int(DataContextLen) * 1)))
type ListItem struct {

View File

@ -1,7 +1,8 @@
// Package xtest is the X client API for the XTEST extension.
package xtest
/*
This file was generated by xtest.xml on May 10 2012 4:20:29pm EDT.
This file was generated by xtest.xml on May 10 2012 8:04:33pm EDT.
This file is automatically generated. Edit at your peril!
*/
@ -39,10 +40,6 @@ func init() {
xgb.NewExtErrorFuncs["XTEST"] = make(map[int]xgb.NewErrorFun)
}
// Skipping definition for base type 'Void'
// Skipping definition for base type 'Byte'
// Skipping definition for base type 'Int8'
// Skipping definition for base type 'Card16'
@ -63,6 +60,10 @@ func init() {
// Skipping definition for base type 'Int32'
// Skipping definition for base type 'Void'
// Skipping definition for base type 'Byte'
const (
CursorNone = 0
CursorCurrent = 1

View File

@ -1,7 +1,8 @@
// Package xv is the X client API for the XVideo extension.
package xv
/*
This file was generated by xv.xml on May 10 2012 4:20:29pm EDT.
This file was generated by xv.xml on May 10 2012 8:04:33pm EDT.
This file is automatically generated. Edit at your peril!
*/
@ -40,16 +41,6 @@ func init() {
xgb.NewExtErrorFuncs["XVideo"] = 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'
@ -64,6 +55,16 @@ 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'
const (
TypeInputMask = 1
TypeOutputMask = 2

View File

@ -1,7 +1,8 @@
// Package xvmc is the X client API for the XVideo-MotionCompensation extension.
package xvmc
/*
This file was generated by xvmc.xml on May 10 2012 4:20:29pm EDT.
This file was generated by xvmc.xml on May 10 2012 8:04:33pm EDT.
This file is automatically generated. Edit at your peril!
*/
@ -40,8 +41,6 @@ func init() {
xgb.NewExtErrorFuncs["XVideo-MotionCompensation"] = make(map[int]xgb.NewErrorFun)
}
// Skipping definition for base type 'Bool'
// Skipping definition for base type 'Float'
// Skipping definition for base type 'Card8'
@ -64,6 +63,8 @@ func init() {
// Skipping definition for base type 'Double'
// Skipping definition for base type 'Bool'
type Context uint32
func NewContextId(c *xgb.Conn) (Context, error) {