genbindings: fixup typo

This commit is contained in:
mappu 2024-08-25 15:31:59 +12:00
parent 0401231ab6
commit 45f3e8abed

View File

@ -133,7 +133,7 @@ type goFileState struct {
imports map[string]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) tmp := make([]string, 0, len(m.Parameters)+2)
if !m.IsStatic { if !m.IsStatic {