diff options
Diffstat (limited to 'nexgb/xgbgen/go_union.go')
-rw-r--r-- | nexgb/xgbgen/go_union.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nexgb/xgbgen/go_union.go b/nexgb/xgbgen/go_union.go index 1a8684c..74816d3 100644 --- a/nexgb/xgbgen/go_union.go +++ b/nexgb/xgbgen/go_union.go @@ -117,7 +117,7 @@ func (u *Union) Write(c *Context) { func (u *Union) WriteList(c *Context) { c.Putln("// %sListBytes writes a list of %s values to a byte slice.", - u.SrcName()) + u.SrcName(), u.SrcName()) c.Putln("func %sListBytes(buf []byte, list []%s) int {", u.SrcName(), u.SrcName()) c.Putln("b := 0") |