Skip to content

Commit

Permalink
Update cmd/checkheader/main.go
Browse files Browse the repository at this point in the history
Co-authored-by: Davis Goodin <[email protected]>
  • Loading branch information
qmuntal and dagood authored Mar 3, 2022
1 parent e6948fc commit 7dd7296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/checkheader/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func tryConvertTypedef(w io.Writer, l string) bool {
log.Println("unexpected line in typedef: " + l)
return false
}
name := l[i1+3 : i2]
name := l[i1+len("GO_") : i2]
fmt.Fprintf(w, "#define GO_%s_PTR %s*\n", name, name)
return true
}
Expand Down

0 comments on commit 7dd7296

Please sign in to comment.