mirror of
https://github.com/golang/go
synced 2024-11-18 07:44:51 -07:00
9dcc58c3d1
This implements part of the proposal in issue 12416 by adding dynamic checks for passing pointers from Go to C. This code is intended to be on at all times. It does not try to catch every case. It does not implement checks on calling Go functions from C. The new cgo checks may be disabled using GODEBUG=cgocheck=0. Update #12416. Change-Id: I48de130e7e2e83fb99a1e176b2c856be38a4d3c8 Reviewed-on: https://go-review.googlesource.com/16003 Reviewed-by: Russ Cox <rsc@golang.org> |
||
---|---|---|
.. | ||
err1.go | ||
err2.go | ||
err3.go | ||
issue7757.go | ||
issue8442.go | ||
issue11097a.go | ||
issue11097b.go | ||
ptr.go | ||
test.bash |