Add entry points for interacting with Go
authorRichard Henderson <rth@twiddle.net>
Fri, 17 Oct 2014 17:12:25 +0000 (10:12 -0700)
committerRichard Henderson <rth@twiddle.net>
Wed, 12 Nov 2014 08:15:35 +0000 (09:15 +0100)
commite951d64c085267a30036907d02f94a70dee4c9d9
tree2e465e4bd5f371830b811a5015705be115c97659
parenta0bdc5250cd36f1d2578358e33299fd2408091ac
Add entry points for interacting with Go

A "ffi_go_closure" is intended to be compatible with the
function descriptors used by Go, and ffi_call_go sets up
the static chain parameter for calling a Go function.

The entry points are disabled when a backend has not been
updated, much like we do for "normal" closures.
include/ffi.h.in