Russ Cox | fdc4b4a | 2009-08-24 17:30:00 -0700 | [diff] [blame] | 1 | // Copyright 2009 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 | /* |
| 6 | * Cgo interface. |
Russ Cox | fdc4b4a | 2009-08-24 17:30:00 -0700 | [diff] [blame] | 7 | */ |
| 8 | |
Russ Cox | 68b4255 | 2010-11-04 14:00:19 -0400 | [diff] [blame] | 9 | void runtime·cgocall(void (*fn)(void*), void*); |
Russ Cox | 54138e1 | 2014-09-03 11:36:14 -0400 | [diff] [blame] | 10 | int32 runtime·cgocall_errno(void (*fn)(void*), void*); |
Russ Cox | f9ca3b5 | 2011-03-07 10:37:42 -0500 | [diff] [blame] | 11 | void runtime·cgocallback(void (*fn)(void), void*, uintptr); |
Russ Cox | 68b4255 | 2010-11-04 14:00:19 -0400 | [diff] [blame] | 12 | void *runtime·cmalloc(uintptr); |
| 13 | void runtime·cfree(void*); |