![]() This patch adds //go: pragmas directly to declared functions and globals found during CGo processing. This simplifies the logic in the compiler: it no longer has to consider special "C." prefixed function names. It also makes the cgo pass more flexible in the pragmas it emits for functions and global variables. |
||
---|---|---|
.. | ||
testdata | ||
cgo.go | ||
cgo_test.go | ||
const.go | ||
const_test.go | ||
libclang.go | ||
libclang_config.go | ||
libclang_stubs.c | ||
security.go | ||
security_test.go | ||
sync.go |