1
0
mirror of https://github.com/golang/go synced 2024-11-24 22:27:57 -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 cmd/cgo: fix line number in an error message 2013-10-18 16:52:44 -04:00
err2.go cmd/cgo: fix line number in an error message 2013-10-18 16:52:44 -04:00
err3.go cmd/cgo: enforce typing of 0-sized types 2014-03-27 20:23:16 +00:00
issue7757.go cmd/cgo: make C function pointers non-assignable 2014-08-12 12:55:12 -07:00
issue8442.go cmd/cgo: check for compiler errors in the C preamble 2014-08-14 09:21:58 -07:00
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