• Ian Lynagh's avatar
    Implement a capi calling convention; fixes #2979 · 36f8cabe
    Ian Lynagh authored
    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.
    36f8cabe
DynFlags.hs 107 KB