1
0
mirror of https://github.com/golang/go synced 2024-11-17 07:54:41 -07:00
go/misc/cgo/errors
Ian Lance Taylor 837984f372 cmd/cgo: use function arg type for _cgoCheckPointerN function
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>
2016-06-09 16:02:03 +00:00
..
err1.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
err2.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
err3.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
issue7757.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
issue8442.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
issue11097a.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
issue11097b.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
issue13129.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
issue13423.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
issue13635.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
issue13830.go cmd/cgo: use function arg type for _cgoCheckPointerN function 2016-06-09 16:02:03 +00:00
issue14669.go cmd/cgo: remove -O options when generating compiler errors 2016-05-27 01:40:30 +00:00
ptr.go cmd/cgo: check pointers for deferred C calls at the right time 2016-06-03 20:51:39 +00:00
test.bash cmd/cgo: use function arg type for _cgoCheckPointerN function 2016-06-09 16:02:03 +00:00