• 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...
align.go Loading commit data...
basic.go Loading commit data...
callback.go Loading commit data...
callback_c.c Loading commit data...
cgo_test.go Loading commit data...
duplicate_symbol.go Loading commit data...
env.go Loading commit data...
exports.go Loading commit data...
issue1222.go Loading commit data...
issue1328.go Loading commit data...
issue1560.go Loading commit data...
runtime.c Loading commit data...