• Ian Lance Taylor's avatar
    cmd/cgo: don't define intgo in export prologue · b944f91f
    Ian Lance Taylor authored
    The export prologue goes into the _cgo_export.h file, where it may be
    be #include'd by a .swig file. As SWIG defines its own type "intgo",
    the definition of "intgo" in the export prologue could conflict.
    Since we don't need to define "intgo" in the _cgo_export.h file, don't.
    
    Defining "intgo" in _cgo_export.h was new for this release, so this
    should not break any existing code.
    
    No test case as I can't quite bring myself to write a test that
    combines SWIG and cgo.
    
    Change-Id: I8073e8300a1860cecd5994b9ad07dd35a4298c89
    Reviewed-on: https://go-review.googlesource.com/83936
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    b944f91f
Name
Last commit
Last update
..
addr2line Loading commit data...
api Loading commit data...
asm Loading commit data...
buildid Loading commit data...
cgo Loading commit data...
compile Loading commit data...
cover Loading commit data...
dist Loading commit data...
doc Loading commit data...
fix Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
test2json Loading commit data...
trace Loading commit data...
vendor Loading commit data...
vet Loading commit data...