• Julian Phillips's avatar
    cgo: omit duplicate symbols in writeDefs · 01dd57b3
    Julian Phillips authored
    When the C API being used includes multiple names for the same
    underlying symbol (e.g. multiple #define's for the same variable), then
    cgo will generate the same placeholder variables for each name.  This
    then prevents the code from compiling due to multiple declarations of
    the same variable - so change cgo to only create one instance of the
    variable for the underlying symbol.
    
    R=rsc
    CC=golang-dev
    https://golang.org/cl/4826055
    01dd57b3
Name
Last commit
Last update
..
Makefile Loading commit data...
ast.go Loading commit data...
doc.go Loading commit data...
gcc.go Loading commit data...
main.go Loading commit data...
out.go Loading commit data...
util.go Loading commit data...