Binding to inline functions
duncan.coutts at worc.ox.ac.uk
Sun Aug 23 15:34:18 EDT 2009
On Sun, 2009-08-23 at 15:09 -0300, Maurício CA wrote:
> I understand we can't use 'foreign import ccall'
> to wrap inline C functions. Do you think it could
> be possible to have an option in cabal to generate
> such functions in an object file when #included in
> a C file, in a compiler independent, portable way?
It might be better to include this feature into hsc2hs and/or c2hs
(which may in turn require some help from Cabal).
More information about the Libraries