ffi.go
8.76 KB
-
runtime: for FFI, treat directIface types as pointers · 7e6fecf5
This only matters on systems that pass a struct with a single pointer field differently than passing a single pointer. I noticed it on 32-bit PPC, where the reflect package TestDirectIfaceMethod failed. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/195878 From-SVN: r275814
Ian Lance Taylor committed