]> Cypherpunks repositories - gostls13.git/commit
Add cgo2c program to translate mixed Go/C code into C. This
authorIan Lance Taylor <iant@golang.org>
Wed, 14 Jan 2009 16:21:25 +0000 (08:21 -0800)
committerIan Lance Taylor <iant@golang.org>
Wed, 14 Jan 2009 16:21:25 +0000 (08:21 -0800)
commit2b57a1124e87b0dc8bc1ff6899297b4d7d6e74f2
treed0144cd3feb6e3aa4fe28e475ef368248b2afd73
parent58b280db3b161310cdccfd45c9aef1999245af0f
Add cgo2c program to translate mixed Go/C code into C.  This
lets us use a single source file for both 6c and gcc, handling
the incompatible handling of return values.

R=rsc
DELTA=649  (613 added, 35 deleted, 1 changed)
OCL=22682
CL=22730
src/runtime/Makefile
src/runtime/cgo2c.c [new file with mode: 0644]
src/runtime/malloc.c
src/runtime/malloc.h
src/runtime/malloc_go.cgo [new file with mode: 0644]