Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/36f8cabecd5a8320ee174abb56e73841a5cbc9c7

>---------------------------------------------------------------

commit 36f8cabecd5a8320ee174abb56e73841a5cbc9c7
Author: Ian Lynagh <[email protected]>
Date:   Sat Nov 26 14:54:47 2011 +0000

    Implement a capi calling convention; fixes #2979
    
    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.

 compiler/cmm/PprC.hs                    |    1 +
 compiler/deSugar/DsForeign.lhs          |   62 +++++++++++++++++++++++++-----
 compiler/llvmGen/LlvmCodeGen/CodeGen.hs |    1 +
 compiler/main/DynFlags.hs               |    2 +
 compiler/parser/Lexer.x                 |    5 ++
 compiler/parser/Parser.y.pp             |    3 +
 compiler/prelude/ForeignCall.lhs        |   11 ++++-
 compiler/typecheck/TcForeign.lhs        |    1 +
 8 files changed, 73 insertions(+), 13 deletions(-)


Diff suppressed because of size. To see it, use:

    git show 36f8cabecd5a8320ee174abb56e73841a5cbc9c7

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to