mirror of
https://github.com/golang/go
synced 2024-11-23 18:10:04 -07:00
ebce79446d
The main changes fall into a few patterns: 1. Replace #define with enum. 2. Add /*c2go */ comment giving effect of #define. This is necessary for function-like #defines and non-enum-able #defined constants. (Not all compilers handle negative or large enums.) 3. Add extra braces in struct initializer. (c2go does not implement the full rules.) This is enough to let c2go typecheck the source tree. There may be more changes once it is doing other semantic analyses. LGTM=minux, iant R=minux, dave, iant CC=golang-codereviews https://golang.org/cl/106860045 |
||
---|---|---|
.. | ||
plan9 | ||
ar.h | ||
bio.h | ||
fmt.h | ||
libc.h | ||
link.h | ||
README | ||
u.h | ||
utf.h |
The header files under this directory are strictly internal to the gc toolchain, so please don't copy them to the system include file directory (/usr/include, /usr/local/include, etc.) Also note that they must be kept as is in $GOROOT/include, or cmd/dist will malfunction.