• 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
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...