blob: c87a9cdc5dd6d311882863d369a2b13dc67955c7 [file] [log] [blame]
Russ Coxfdc4b4a2009-08-24 17:30:00 -07001// 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 Coxfdc4b4a2009-08-24 17:30:00 -07007 */
8
Russ Cox68b42552010-11-04 14:00:19 -04009void runtime·cgocall(void (*fn)(void*), void*);
Russ Cox54138e12014-09-03 11:36:14 -040010int32 runtime·cgocall_errno(void (*fn)(void*), void*);
Russ Coxf9ca3b52011-03-07 10:37:42 -050011void runtime·cgocallback(void (*fn)(void), void*, uintptr);
Russ Cox68b42552010-11-04 14:00:19 -040012void *runtime·cmalloc(uintptr);
13void runtime·cfree(void*);