[GHC] #987: X11: foreign declarations use Haskell types instead of
C ones
GHC
trac at galois.com
Sun Nov 5 19:47:25 EST 2006
#987: X11: foreign declarations use Haskell types instead of C ones
----------------------------------+-----------------------------------------
Reporter: ross | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: libraries (other) | Version: 6.6
Severity: normal | Keywords:
Difficulty: Unknown | Testcase:
Architecture: Unknown | Os: Unknown
----------------------------------+-----------------------------------------
Sven Panne writes: Strictly speaking, the majority of types are wrong: an
`Int` is not a `CInt`, and the binding will fail on platforms where the
actual representation is different. There should be a general code review
of all the types in the `foreign import`s.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/987>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list