diff options
Diffstat (limited to 'src/runtime/cgocall.h')
-rw-r--r-- | src/runtime/cgocall.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/runtime/cgocall.h b/src/runtime/cgocall.h new file mode 100644 index 000000000..c87a9cdc5 --- /dev/null +++ b/src/runtime/cgocall.h @@ -0,0 +1,13 @@ +// Copyright 2009 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +/* + * Cgo interface. + */ + +void runtime·cgocall(void (*fn)(void*), void*); +int32 runtime·cgocall_errno(void (*fn)(void*), void*); +void runtime·cgocallback(void (*fn)(void), void*, uintptr); +void *runtime·cmalloc(uintptr); +void runtime·cfree(void*); |