Remove unnecessary additional newlines in extract generated interface wrappers

A side effect of #1281 is that it added unnecessary additional newlines in generated interface wrappers from the `extract` tool. This PR removes those newlines from the extract tool template and updates the generated code with that change.
This commit is contained in:
Kai O'Reilly
2024-07-17 07:58:04 -07:00
committed by GitHub
parent 381e045966
commit 77c1ce01c4
186 changed files with 1076 additions and 3212 deletions

View File

@@ -87,8 +87,8 @@ func init() {
if W.WString == nil {
return ""
}
{{end -}}
{{$m.Ret}} W.W{{$m.Name}}{{$m.Arg}}
{{end}}
{{- $m.Ret}} W.W{{$m.Name}}{{$m.Arg -}}
}
{{end}}
{{end}}