On Tue, 18 Mar 2014 20:31:19 +0300 Yuras Shumovich <[email protected]> wrote:
> Hi, > > I thought I have lost the battle :) > Thank you for the support, Simon! > > I'm interested in full featured solution: arguments, return value, > foreign import, foreign export, etc. But it is too much for me to do it > all at once. So I started with dynamic wrapper. > > The plan is to support structs as arguments and return value for dynamic > wrapper using libffi; > then implement native adjustors at least for x86_64 linux; On a positive side there is only 2 arches supporting native adjustors that actually work these days: ArchHasAdjustorSupport = $(if $(findstring $(TargetArch_CPP),i386 x86_64),YES,NO) > then make final design decision (tuple or data? language pragma? union > support? etc); > and only then start working on foreign import. > > But I'm open for suggestions. Just let me know if you think it is better > to start with return value support for foreign import. > > Thanks, > Yuras -- Sergei
signature.asc
Description: PGP signature
_______________________________________________ ghc-devs mailing list [email protected] http://www.haskell.org/mailman/listinfo/ghc-devs
