reflect, runtime: Use libffi closures to implement reflect.MakeFunc.
[gcc.git] / libgo / runtime / go-ffi.h
1 /* go-ffi.c -- convert Go type description to libffi.
2
3 Copyright 2014 The Go Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style
5 license that can be found in the LICENSE file. */
6
7 #include "config.h"
8 #include "go-type.h"
9
10 #ifdef USE_LIBFFI
11
12 #include "ffi.h"
13
14 void __go_func_to_cif (const struct __go_func_type *, _Bool, _Bool, ffi_cif *);
15
16 #endif