#2979: better support for FFI C wrappers for macros in system headers
----------------------------------+-----------------------------------------
Reporter: duncan | Owner:
Type: feature request | Status: closed
Priority: normal | Milestone: 7.6.1
Component: Compiler (FFI) | Version: 7.3
Resolution: fixed | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: Building GHC failed | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related:
----------------------------------+-----------------------------------------
Changes (by igloo):
* status: new => closed
* resolution: => fixed
Comment:
This was fixed by:
{{{
commit 7b24c3fffecbf9fc219c10f24d1472d0d03da6a1
Author: Ian Lynagh <[email protected]>
Date: Fri Feb 17 15:50:59 2012 +0000
Allow a header to be specified in a CTYPE pragma
You can now say
data {-# CTYPE "some_header.h" "the C type" #-} Foo = ...
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2979#comment:26>
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