OSDN Git Service

runtime: Better SWIG interface for allocating Go memory from C/C++.
[pf3gnuchains/gcc-fork.git] / libgo / go / syscall / libcall_support.go
1 // Copyright 2011 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 // Declarations for functions which are actually written in C.
6
7 package syscall
8
9 func Entersyscall()
10 func Exitsyscall()
11 func GetErrno() Errno
12 func SetErrno(Errno)
13
14 // These functions are used by CGO and SWIG.
15 func Cgocall()
16 func CgocallDone()
17 func CgocallBack()
18 func CgocallBackDone()