diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-01-19 02:56:28 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-01-19 02:56:28 +0000 |
commit | b077669c47e8531ba4b2ab0a08581e8856649551 (patch) | |
tree | 213b6ebf34f7973be26ddc57f056206aac523f41 /libgo/go/reflect/makefunc_ffi.go | |
parent | 342a33940d94a54496f15fa923f3508be19d05e0 (diff) | |
download | gcc-b077669c47e8531ba4b2ab0a08581e8856649551.zip gcc-b077669c47e8531ba4b2ab0a08581e8856649551.tar.gz gcc-b077669c47e8531ba4b2ab0a08581e8856649551.tar.bz2 |
reflect: Fix build for systems that do not define ffi_go_closure.
From-SVN: r219831
Diffstat (limited to 'libgo/go/reflect/makefunc_ffi.go')
-rw-r--r-- | libgo/go/reflect/makefunc_ffi.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/reflect/makefunc_ffi.go b/libgo/go/reflect/makefunc_ffi.go index 6b61f23..c821131 100644 --- a/libgo/go/reflect/makefunc_ffi.go +++ b/libgo/go/reflect/makefunc_ffi.go @@ -10,7 +10,7 @@ import ( // The makeFuncFFI function, written in C, fills in an FFI closure. // It arranges for ffiCall to be invoked directly from FFI. -func makeFuncFFI(ftyp *funcType, impl *makeFuncImpl) +func makeFuncFFI(ftyp *funcType, impl unsafe.Pointer) // FFICallbackGo implements the Go side of the libffi callback. // It is exported so that C code can call it. |