summaryrefslogtreecommitdiff
path: root/misc/cgo/errors/issue13830.go
Commit message (Collapse)AuthorAgeFilesLines
* cmd/cgo: use function arg type for _cgoCheckPointerN functionIan Lance Taylor2016-06-091-0/+26
When cgo writes a _cgoCheckPointerN function to handle unsafe.Pointer, use the function's argument type rather than interface{}. This permits type errors to be detected at build time rather than run time. Fixes #13830. Change-Id: Ic7090905e16b977e2379670e0f83640dc192b565 Reviewed-on: https://go-review.googlesource.com/23675 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Austin Clements <austin@google.com>