]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo: avoid name confliction for C functions
authorHiroshi Ioka <hirochachacha@gmail.com>
Sat, 6 Jan 2018 09:10:30 +0000 (18:10 +0900)
committerIan Lance Taylor <iant@golang.org>
Mon, 18 Jun 2018 18:28:02 +0000 (18:28 +0000)
commit741dad28cb50b7cdbd4b6fd46114541aa73b15be
tree6eb27ca63248bf1cfb0fb42bd1cb44fb970310e0
parentb7d9e6e149567bb94d6bb87a9ab09c60055ac4e8
cmd/cgo: avoid name confliction for C functions

Use more cryptic names for local variables inside C function wrappers.

Fixes #23356

Change-Id: Ia6a0218f27a13be14f589b1a0facc9683d22ff56
Reviewed-on: https://go-review.googlesource.com/86495
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
misc/cgo/test/cgo_test.go
misc/cgo/test/issue23356.go [new file with mode: 0644]
src/cmd/cgo/out.go