aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/syscall
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2012-06-04 05:34:59 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2012-06-04 05:34:59 +0000
commit7bea4023f2128cde89e4d7942c988b5145bfac19 (patch)
tree77d873edc7e97c39f5ed4f5de2a3da54a835ba74 /libgo/go/syscall
parent7b4cf2664334bce391a661d72d4367da728c3fca (diff)
downloadgcc-7bea4023f2128cde89e4d7942c988b5145bfac19.zip
gcc-7bea4023f2128cde89e4d7942c988b5145bfac19.tar.gz
gcc-7bea4023f2128cde89e4d7942c988b5145bfac19.tar.bz2
runtime: Better SWIG interface for allocating Go memory from C/C++.
From-SVN: r188164
Diffstat (limited to 'libgo/go/syscall')
-rw-r--r--libgo/go/syscall/libcall_support.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/libgo/go/syscall/libcall_support.go b/libgo/go/syscall/libcall_support.go
index 7746cc2..cacc556 100644
--- a/libgo/go/syscall/libcall_support.go
+++ b/libgo/go/syscall/libcall_support.go
@@ -10,3 +10,9 @@ func Entersyscall()
func Exitsyscall()
func GetErrno() Errno
func SetErrno(Errno)
+
+// These functions are used by CGO and SWIG.
+func Cgocall()
+func CgocallDone()
+func CgocallBack()
+func CgocallBackDone()