aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/runtime.h
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-09-03 11:36:14 -0400
committerRuss Cox <rsc@golang.org>2014-09-03 11:36:14 -0400
commit54138e1ac356d824fe669b593c9ec24d9c7bbd3a (patch)
tree58f720c75885965bfa4e424906beb063d324f871 /src/pkg/runtime/runtime.h
parent012ceed914a24470207d602deeda3d6642787b4c (diff)
downloadgo-54138e1ac356d824fe669b593c9ec24d9c7bbd3a.tar.xz
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://golang.org/cl/139070043
Diffstat (limited to 'src/pkg/runtime/runtime.h')
-rw-r--r--src/pkg/runtime/runtime.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h
index d67d7a0076..0d25ca6c51 100644
--- a/src/pkg/runtime/runtime.h
+++ b/src/pkg/runtime/runtime.h
@@ -848,6 +848,7 @@ void runtime·tsleep(int64, String);
M* runtime·newm(void);
void runtime·goexit(void);
void runtime·asmcgocall(void (*fn)(void*), void*);
+int32 runtime·asmcgocall_errno(void (*fn)(void*), void*);
void runtime·entersyscall(void);
void runtime·entersyscallblock(void);
void runtime·exitsyscall(void);