]> Cypherpunks repositories - gostls13.git/commit
cgo: support export for built-in types
authorMaxim Pimenov <mpimenov@google.com>
Tue, 20 Dec 2011 17:28:45 +0000 (09:28 -0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 20 Dec 2011 17:28:45 +0000 (09:28 -0800)
commit7be6229f9fa404eaac0d98951c2b6c970a3ee8d9
tree74994706bb69395e462400f69b2e40184ecbdc64
parent16bf7d9e82fd043ed44b3cb0ebd106c397f326d2
cgo: support export for built-in types
This change doesn't pay attention to structs
so they still cannot be exported, see Issue 2552.

Fixes #2462.

R=dvyukov, rsc, iant
CC=golang-dev
https://golang.org/cl/5487058
misc/cgo/test/Makefile
misc/cgo/test/basic.go
misc/cgo/test/issue2462.go [new file with mode: 0644]
src/cmd/cgo/out.go