diff --git a/cmd/genbindings/emitgo.go b/cmd/genbindings/emitgo.go index 4d957668..0b0ec702 100644 --- a/cmd/genbindings/emitgo.go +++ b/cmd/genbindings/emitgo.go @@ -133,7 +133,7 @@ type goFileState struct { imports map[string]struct{} } -func (gfs *goFileState) emitParametersGo2CABIForwarding(m CppMethod) (preamble string, fowarding string) { +func (gfs *goFileState) emitParametersGo2CABIForwarding(m CppMethod) (preamble string, forwarding string) { tmp := make([]string, 0, len(m.Parameters)+2) if !m.IsStatic {