From 45f3e8abed5ad62a6b2646391fabc241bd95bf50 Mon Sep 17 00:00:00 2001 From: mappu Date: Sun, 25 Aug 2024 15:31:59 +1200 Subject: [PATCH] genbindings: fixup typo --- cmd/genbindings/emitgo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {