1
0
mirror of https://github.com/golang/go synced 2024-11-18 00:24:48 -07:00
go/misc/cgo/errors
Ian Lance Taylor e97096661e runtime: handle kindString in cgoCheckArg
It's awkward to get a string value in cgoCheckArg, but SWIG testing
revealed that it is possible.  The new handling of extra files in the
ptr.go test emulates what SWIG does with an exported function that
returns a string.

Change-Id: I453717f867b8a49499576c28550e7c93053a0cf8
Reviewed-on: https://go-review.googlesource.com/19020
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
2016-01-27 22:50:37 +00:00
..
err1.go
err2.go
err3.go
issue7757.go
issue8442.go
issue11097a.go cmd/cgo: fix panic on references to non-existing C types 2015-10-05 22:37:07 +00:00
issue11097b.go cmd/cgo: fix panic on references to non-existing C types 2015-10-05 22:37:07 +00:00
issue13129.go cmd/cgo: handle another Clang DWARF quirk 2015-11-25 21:13:41 +00:00
issue13423.go cmd/cgo: error, not panic, if not enough arguments to function 2015-12-02 21:02:28 +00:00
issue13635.go cmd/cgo: map C unsigned char back to _Ctype_uchar in error messages 2015-12-16 22:13:17 +00:00
ptr.go runtime: handle kindString in cgoCheckArg 2016-01-27 22:50:37 +00:00
test.bash cmd/cgo: map C unsigned char back to _Ctype_uchar in error messages 2015-12-16 22:13:17 +00:00