]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo: roll back "use C exact-width integer types to represent Go types"
authorIan Lance Taylor <iant@golang.org>
Tue, 4 Jun 2019 01:04:58 +0000 (18:04 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 5 Jun 2019 00:53:14 +0000 (00:53 +0000)
commitac921dad66f193b68a69a630de815d627d9e5003
tree5972e8837250e576fa8359e6a698fcce5f434887
parent003dbc4cda6a1418fc419461799320521d64f4e5
cmd/cgo: roll back "use C exact-width integer types to represent Go types"

Roll back CL 159258 and CL 168337. Those changes broke existing
code. I can't see any way to keep existing code working while also
producing good error messages for types like C.ulong (such as the ones
already tested for in misc/cgo/errors).

This is not an exact roll back because parts of the code have changed
since those CLs.

Updates #29878
Fixes #31093

Change-Id: I56fe76c167ff0ab381ed273b9ca4b952402e1434
Reviewed-on: https://go-review.googlesource.com/c/go/+/180357
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
misc/cgo/test/cgo_test.go
misc/cgo/test/test.go
misc/cgo/test/testx.go
src/cmd/cgo/doc.go
src/cmd/cgo/gcc.go
src/cmd/cgo/out.go