]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libgo/go/cmd/cgo/out.go
libgo: update to Go1.14beta1
[thirdparty/gcc.git] / libgo / go / cmd / cgo / out.go
index 97886e1abd0b0ed074b5a758a39eff07366b8d96..4d66e1b24b35ee1c91cb4d87cc4d8f4a1d29220f 100644 (file)
@@ -1638,14 +1638,14 @@ func _cgo_runtime_cgocall(unsafe.Pointer, uintptr) int32
 func _cgo_runtime_cgocallback(unsafe.Pointer, unsafe.Pointer, uintptr, uintptr)
 
 //go:linkname _cgoCheckPointer runtime.cgoCheckPointer
-func _cgoCheckPointer(interface{}, ...interface{})
+func _cgoCheckPointer(interface{}, interface{})
 
 //go:linkname _cgoCheckResult runtime.cgoCheckResult
 func _cgoCheckResult(interface{})
 `
 
 const gccgoGoProlog = `
-func _cgoCheckPointer(interface{}, ...interface{})
+func _cgoCheckPointer(interface{}, interface{})
 
 func _cgoCheckResult(interface{})
 `
@@ -1832,16 +1832,16 @@ typedef struct __go_empty_interface {
        void *__object;
 } Eface;
 
-extern void runtimeCgoCheckPointer(Eface, Slice)
+extern void runtimeCgoCheckPointer(Eface, Eface)
        __asm__("runtime.cgoCheckPointer")
        __attribute__((weak));
 
-extern void localCgoCheckPointer(Eface, Slice)
+extern void localCgoCheckPointer(Eface, Eface)
        __asm__("GCCGOSYMBOLPREF._cgoCheckPointer");
 
-void localCgoCheckPointer(Eface ptr, Slice args) {
+void localCgoCheckPointer(Eface ptr, Eface arg) {
        if(runtimeCgoCheckPointer) {
-               runtimeCgoCheckPointer(ptr, args);
+               runtimeCgoCheckPointer(ptr, arg);
        }
 }