#2471: generate C wrappers for FFI functions
---------------------------------+------------------------------------------
    Reporter:  simonmar          |       Owner:             
        Type:  task              |      Status:  new        
    Priority:  normal            |   Milestone:  6.10 branch
   Component:  Compiler (FFI)    |     Version:  6.8.3      
    Severity:  normal            |    Keywords:             
  Difficulty:  Moderate (1 day)  |    Testcase:             
Architecture:  Unknown           |          Os:  Unknown    
---------------------------------+------------------------------------------
 We often need to go via a wrapper when calling a C function using the FFI,
 because the function is part of the API but not the ABI (e.g. it is
 defined using a CPP macro, or renamed using a CPP macro).  In order to
 support these calls more easily, we could have GHC automatically generate
 the appropriate C wrappers into the stub file.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2471>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to