aboutsummaryrefslogtreecommitdiff
path: root/nexgb/shm
diff options
context:
space:
mode:
Diffstat (limited to 'nexgb/shm')
-rw-r--r--nexgb/shm/shm.go16
1 files changed, 9 insertions, 7 deletions
diff --git a/nexgb/shm/shm.go b/nexgb/shm/shm.go
index b24be97..6ae886d 100644
--- a/nexgb/shm/shm.go
+++ b/nexgb/shm/shm.go
@@ -2,7 +2,7 @@
package shm
/*
- This file was generated by shm.xml on May 10 2012 11:56:19pm EDT.
+ This file was generated by shm.xml on May 11 2012 1:58:36am EDT.
This file is automatically generated. Edit at your peril!
*/
@@ -40,12 +40,6 @@ func init() {
xgb.NewExtErrorFuncs["MIT-SHM"] = 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'
// Skipping definition for base type 'Card16'
@@ -64,6 +58,12 @@ func init() {
// Skipping definition for base type 'Int16'
+// Skipping definition for base type 'Int32'
+
+// Skipping definition for base type 'Void'
+
+// Skipping definition for base type 'Byte'
+
type Seg uint32
func NewSegId(c *xgb.Conn) (Seg, error) {
@@ -192,10 +192,12 @@ func (err BadSegError) SequenceId() uint16 {
return err.Sequence
}
+// BadId returns the 'BadValue' number if one exists for the BadBadSeg error. If no bad value exists, 0 is returned.
func (err BadSegError) BadId() uint32 {
return 0
}
+// Error returns a rudimentary string representation of the BadBadSeg error.
func (err BadSegError) Error() string {
fieldVals := make([]string, 0, 4)
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)