]> Cypherpunks repositories - gostls13.git/commit
cgo: In _cgo_main.c define all provided symbols as functions.
authorIan Lance Taylor <iant@golang.org>
Fri, 14 Jan 2011 18:52:08 +0000 (10:52 -0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 14 Jan 2011 18:52:08 +0000 (10:52 -0800)
commit5adfe9375238421f3143c781996540acfcc77adc
treed89a2bad9b98c33bf0d3747cba214f010b2a290d
parentb97005c1d3220c5687a0c750c54d9c7868493429
cgo: In _cgo_main.c define all provided symbols as functions.

This defines crosscall2 in a way that matches that real
definition, and also defines _cgo_allocate and _cgo_panic to
indicate that they are available to be called by code compiled
with gcc.

R=rsc
CC=golang-dev
https://golang.org/cl/4026041
src/cmd/cgo/out.go