[C2hs] [c2hs] #48: Interpreted an int64_t typedef as CInt
c2hs
cvs-ghc at haskell.org
Thu Jul 5 04:07:40 CEST 2012
#48: Interpreted an int64_t typedef as CInt
--------------------+-------------------------------------------------------
Reporter: guest | Type: defect
Status: new | Priority: blocker
Milestone: | Component: general
Version: 0.16.2 | Keywords:
--------------------+-------------------------------------------------------
A library I'd like to write bindings to has a typedef of int64_t to a
library-specific type name. c2hs seems to interpret that type as CInt,
both in foreign import declarations and in {# type #} directives. It
should interpret that type as a 64-bit integer type instead.
--
Ticket URL: <http://hackage.haskell.org/trac/c2hs/ticket/48>
c2hs <http://www.cse.unsw.edu.au/~chak/haskell/c2hs/>
C->Haskell, An Interface Generator for Haskell
More information about the C2hs
mailing list