diff options
author | Russ Cox <rsc@golang.org> | 2014-09-03 11:36:14 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2014-09-03 11:36:14 -0400 |
commit | df54deb85b8435816906b08e0341517746cd3565 (patch) | |
tree | cab2f294cec96f61facff91a029c7f95ecc9e6a6 /misc | |
parent | b62dadf5ea6acab08a51abed8fc83db630d63f4d (diff) | |
download | go-df54deb85b8435816906b08e0341517746cd3565.tar.gz |
cmd/cgo, runtime: write cgo stub wrappers in Go, not C
LGTM=alex.brainman, iant
R=golang-codereviews, alex.brainman, iant
CC=dvyukov, golang-codereviews, khr, r
https://codereview.appspot.com/139070043
Diffstat (limited to 'misc')
-rw-r--r-- | misc/cgo/test/callback.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/misc/cgo/test/callback.go b/misc/cgo/test/callback.go index 82ed015bd..67d271404 100644 --- a/misc/cgo/test/callback.go +++ b/misc/cgo/test/callback.go @@ -13,12 +13,13 @@ void callPanic(void); import "C" import ( - "./backdoor" "path" "runtime" "strings" "testing" "unsafe" + + "./backdoor" ) // nestedCall calls into C, back into Go, and finally to f. @@ -155,8 +156,8 @@ func testCallbackCallers(t *testing.T) { "runtime.cgocallbackg1", "runtime.cgocallbackg", "runtime.cgocallback_gofunc", - "runtime.asmcgocall", - "runtime.cgocall", + "runtime.asmcgocall_errno", + "runtime.cgocall_errno", "test._Cfunc_callback", "test.nestedCall", "test.testCallbackCallers", |