1
0
mirror of https://github.com/golang/go synced 2024-10-04 06:11:21 -06:00
go/src/pkg/debug
Russ Cox 1a0c8fe9bb cmd/cgo: bug fixes
* disallow embedding of C type (Fixes issue 2552)
* detect 0-length array (Fixes issue 2806)
* use typedefs when possible, to avoid attribute((unavailable)) (Fixes issue 2888)
* print Go types constructed from C types using original C types (Fixes issue 2612)

This fix changes _cgo_export.h to repeat the preamble from import "C".
Otherwise the fix to issue 2612 is impossible, since it cannot refer to
types that have not been defined.  If people are using //export and
putting non-header information in the preamble, they will need to
refactor their code.

R=golang-dev, r, r
CC=golang-dev
https://golang.org/cl/5672080
2012-02-19 13:32:55 -05:00
..
dwarf cmd/cgo: bug fixes 2012-02-19 13:32:55 -05:00
elf build: remove Make.pkg, Make.tool 2012-01-30 23:43:46 -05:00
gosym debug/gosym: more carefully build the test binary. 2012-02-16 15:06:12 +11:00
macho debug/macho: dropped monstrous URL from package comment 2012-02-10 16:03:24 +11:00
pe build: remove Make.pkg, Make.tool 2012-01-30 23:43:46 -05:00