diff options
Diffstat (limited to 'libgo/runtime/go-ffi.h')
-rw-r--r-- | libgo/runtime/go-ffi.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libgo/runtime/go-ffi.h b/libgo/runtime/go-ffi.h new file mode 100644 index 00000000000..afae4b6d6ed --- /dev/null +++ b/libgo/runtime/go-ffi.h @@ -0,0 +1,16 @@ +/* go-ffi.c -- convert Go type description to libffi. + + Copyright 2014 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. */ + +#include "config.h" +#include "go-type.h" + +#ifdef USE_LIBFFI + +#include "ffi.h" + +void __go_func_to_cif (const struct __go_func_type *, _Bool, _Bool, ffi_cif *); + +#endif |