diff options
| author | Russ Cox <rsc@golang.org> | 2014-09-01 17:25:10 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2014-09-01 17:25:10 -0400 |
| commit | f611ae1c75b7696da141e55bf91a0acdcc853bf8 (patch) | |
| tree | 2a5df4b9ae9e4096daccecc8c4de4278783ceab9 /src/pkg/runtime/string.go | |
| parent | 3de7ba1873b3efb0004d61147cc049dd42d8725d (diff) | |
| download | go-f611ae1c75b7696da141e55bf91a0acdcc853bf8.tar.xz | |
runtime: include os_*.h in the generated Go structs
Adding the #include to defs.c makes it get processed
by cmd/dist, which writes out Go equivalent for all the
C data structures defined in defs.c.
This in turn makes it necessary to define the Plink type,
used in os_plan9.h, in os_plan9.go. Rename it to _Plink
to avoid being exported.
LGTM=0intro, iant
R=golang-codereviews, iant, 0intro
CC=golang-codereviews, r
https://golang.org/cl/132490043
Diffstat (limited to 'src/pkg/runtime/string.go')
0 files changed, 0 insertions, 0 deletions
