mirror of
https://github.com/golang/go
synced 2024-11-20 05:54:43 -07:00
cgo: output alignment fix
R=rsc CC=golang-dev https://golang.org/cl/3902044
This commit is contained in:
parent
02ff646fef
commit
632be89407
@ -180,7 +180,7 @@ func (p *Package) structType(n *Name) (string, int64) {
|
||||
fmt.Fprintf(&buf, "\t\tchar unused;\n") // avoid empty struct
|
||||
off++
|
||||
}
|
||||
fmt.Fprintf(&buf, "\t}\n")
|
||||
fmt.Fprintf(&buf, "\t}")
|
||||
return buf.String(), off
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user