haskell / c2hs

c2hs is a pre-processor for Haskell FFI bindings to C libraries
http://hackage.haskell.org/package/c2hs
Other
198 stars 50 forks source link

capi calling convention #277

Open crclark opened 2 years ago

crclark commented 2 years ago

According to this blog post, the capi calling convention added with the CApiFFI language extension results in more portable code.

I don't see a way to use capi instead of ccall with c2hs. Is it possible? If not, please consider this issue a feature request. :smiley: