Implement a capi calling convention; fixes #2979
In GHC, this provides an easy way to call a C function via a C wrapper. This is important when the function is really defined by CPP. Requires the new CApiFFI extension. Not documented yet, as it's still an experimental feature at this stage.
Showing with 73 additions and 13 deletions