1
0
mirror of https://github.com/golang/go synced 2024-10-04 21:11:22 -06:00
go/src/cmd/cgo
Andy Maloney dc110f245d cmd/cgo: annotate named return struct members in comments
If an exported function has named return variables, then show the names
as comments in the return struct we create in the header file.

Example here:

 https://groups.google.com/forum/#!topic/golang-nuts/r393ne4zIfY

Change-Id: I21fb4ca2673f6977bec35ccab0cef7d42b311f96
Reviewed-on: https://go-review.googlesource.com/13061
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2015-08-26 00:24:34 +00:00
..
ast.go cmd/cgo: readability improvements to generated _cgo_export.h 2015-05-06 22:33:24 +00:00
doc.go cmd/cgo: document how CGO_ENABLED works today 2015-07-26 21:04:47 +00:00
gcc.go cmd/cgo: discard trailing zero-sized fields in a non-empty C struct 2015-07-30 15:55:25 +00:00
godefs.go cmd/cgo: remove obsolete -cdefs flag 2015-01-07 22:49:59 +00:00
main.go Fix several out of date references to 4g/5g/6g/8g/9g. 2015-06-26 03:38:21 +00:00
out.go cmd/cgo: annotate named return struct members in comments 2015-08-26 00:24:34 +00:00
util.go all: use "reports whether" in place of "returns true if(f)" 2015-03-18 15:14:06 +00:00