diff options
author | Andrew Gallant (Ocelot) <Andrew.Gallant@tufts.edu> | 2012-05-10 12:47:19 -0400 |
---|---|---|
committer | Andrew Gallant (Ocelot) <Andrew.Gallant@tufts.edu> | 2012-05-10 12:47:19 -0400 |
commit | e239bb3c68a4981a3916534203c2fbd6b96f593c (patch) | |
tree | ebb9b1a4a4659d09edaf57ec39a744ff4bc15ff0 /nexgb/auto_res.go | |
parent | 00c6217ca905b08ce0acda9a90492b5c1dc358e8 (diff) | |
download | haven-e239bb3c68a4981a3916534203c2fbd6b96f593c.tar.gz haven-e239bb3c68a4981a3916534203c2fbd6b96f593c.tar.xz haven-e239bb3c68a4981a3916534203c2fbd6b96f593c.zip |
make resource ids their own individual types. last commit before overhaul to sub-packages
Diffstat (limited to 'nexgb/auto_res.go')
-rw-r--r-- | nexgb/auto_res.go | 28 |
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:]) |