reflect: unexport FFICallbackGo; use go:linkname instead
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 17 Sep 2019 17:22:18 +0000 (17:22 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 17 Sep 2019 17:22:18 +0000 (17:22 +0000)
commit99a28ee8c18fd1f452c002f0548c54eb0a7be817
tree4fdc56912ae62acf461872d66576ead04cf8811a
parentd0bc0cb66bcb0e6a5a5a31a9e900e8ccc98e34e5
reflect: unexport FFICallbackGo; use go:linkname instead

    The function was always intended to be internal-only, but was exported
    so that C code could call it. Now that have go:linkname for that, use it.

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/195857

From-SVN: r275809
gcc/go/gofrontend/MERGE
libgo/go/reflect/makefunc_ffi.go
libgo/go/reflect/makefunc_ffi_c.c