aboutsummaryrefslogtreecommitdiff
path: root/nexgb/auto_res.go
diff options
context:
space:
mode:
Diffstat (limited to 'nexgb/auto_res.go')
-rw-r--r--nexgb/auto_res.go28
1 files changed, 13 insertions, 15 deletions
diff --git a/nexgb/auto_res.go b/nexgb/auto_res.go
index 3aca143..a2f9914 100644
--- a/nexgb/auto_res.go
+++ b/nexgb/auto_res.go
@@ -1,7 +1,7 @@
package xgb
/*
- This file was generated by res.xml on May 8 2012 11:03:24pm EDT.
+ This file was generated by res.xml on May 10 2012 12:39:33pm EDT.
This file is automatically generated. Edit at your peril!
*/
@@ -37,12 +37,20 @@ func init() {
newExtErrorFuncs["X-Resource"] = make(map[int]newErrorFun)
}
+// 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'
-// Skipping definition for base type 'Id'
-
// Skipping definition for base type 'Card8'
// Skipping definition for base type 'Int16'
@@ -53,16 +61,6 @@ func init() {
// 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'
-
-// Skipping definition for base type 'Double'
-
// 'ResClient' struct definition
// Size: 8
type ResClient struct {
@@ -122,7 +120,7 @@ func ResClientListBytes(buf []byte, list []ResClient) int {
// 'ResType' struct definition
// Size: 8
type ResType struct {
- ResourceType Id
+ ResourceType Atom
Count uint32
}
@@ -130,7 +128,7 @@ type ResType struct {
func ReadResType(buf []byte, v *ResType) int {
b := 0
- v.ResourceType = Id(Get32(buf[b:]))
+ v.ResourceType = Atom(Get32(buf[b:]))
b += 4
v.Count = Get32(buf[b:])