diff options
| author | Andrew Gallant (Ocelot) <[email protected]> | 2012-05-07 04:09:19 -0400 |
|---|---|---|
| committer | Andrew Gallant (Ocelot) <[email protected]> | 2012-05-07 04:09:19 -0400 |
| commit | 8bcecd8ab592e67ade9cd728503581d5a84ca583 (patch) | |
| tree | 4d550a9ca8b2b19af6d66b99233e0ecde4543df9 /xgbgen/field.go | |
| parent | be6362d05c9563b8085eba2b990a145101e9c99f (diff) | |
lots of docs and examples
Diffstat (limited to 'xgbgen/field.go')
| -rw-r--r-- | xgbgen/field.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xgbgen/field.go b/xgbgen/field.go index 4452408..7c83f1a 100644 --- a/xgbgen/field.go +++ b/xgbgen/field.go @@ -220,7 +220,7 @@ func (f *ExprField) Initialize(p *Protocol) { // integers. The mask specifies which kinds of values are in the list. // (i.e., See ConfigureWindow, CreateWindow, ChangeWindowAttributes, etc.) type ValueField struct { - Parent interface{} + Parent interface{} MaskType Type MaskName string ListName string @@ -247,7 +247,7 @@ func (f *ValueField) Size() Size { listSize := newExpressionSize(&Function{ Name: "pad", Expr: &BinaryOp{ - Op: "*", + Op: "*", Expr1: &Value{v: 4}, Expr2: &PopCount{ Expr: &Function{ |
