go-ffi.h 386 B

1234567891011121314151617
  1. /* go-ffi.c -- convert Go type description to libffi.
  2. Copyright 2014 The Go Authors. All rights reserved.
  3. Use of this source code is governed by a BSD-style
  4. license that can be found in the LICENSE file. */
  5. #include "config.h"
  6. #include "go-type.h"
  7. #ifdef USE_LIBFFI
  8. #include "ffi.h"
  9. void __go_func_to_cif (const struct __go_func_type *, _Bool, _Bool, ffi_cif *);
  10. #endif