cvs commit: fptools/libraries/base/Foreign/C Error.hs
fptools/libraries/base/System/Posix Internals.hs fptools/libraries/network
/Network Socket.hsc
Simon Marlow
simonmar@microsoft.com
Thu, 1 May 2003 15:48:03 +0100
=20
> What I am curious about is point (b). In what respect does
> GHC not support it well?
Cross-module inlining of a foreign import with a #include attached
doesn't work: passing the #include info with the Id in the interface
file isn't implemented. So we currently disable cross-module inlining
of foreign imports if they have a #include attached. =20
I'm really not keen on putting #includes in FFI declarations (as I've
expounded several times on the FFI list before). Doesn't Hugs have
something similar to -#include that can be used instead?
Cheers,
Simon