X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Foreign%2FC%2FTypesISO.hs;fp=Foreign%2FC%2FTypesISO.hs;h=0ecffdb5fcd2e7507c672eb215b1d53cf5687ee3;hb=7de50399a42ee49b0473b7b6eea2b44a2f941a12;hp=464d2a7a15cc4741a8616dce31fa6031352dee37;hpb=2a9bec92edcc9257e83b2e0f8a0ae56d5f4697bb;p=ghc-base.git diff --git a/Foreign/C/TypesISO.hs b/Foreign/C/TypesISO.hs index 464d2a7..0ecffdb 100644 --- a/Foreign/C/TypesISO.hs +++ b/Foreign/C/TypesISO.hs @@ -9,7 +9,7 @@ -- Stability : provisional -- Portability : portable -- --- $Id: TypesISO.hs,v 1.2 2001/07/03 11:37:50 simonmar Exp $ +-- $Id: TypesISO.hs,v 1.3 2002/02/05 17:32:25 simonmar Exp $ -- -- A mapping of C types defined by the ISO C standard to corresponding Haskell -- types. Like CTypes, this is a cool hack... @@ -25,6 +25,7 @@ module Foreign.C.TypesISO -- Typeable, Storable , CClock(..), CTime(..), + -- Instances of: Eq and Storable , CFile, CFpos, CJmpBuf ) where @@ -64,12 +65,9 @@ INTEGRAL_TYPE(CSigAtomic,tyConCSigAtomic,"CSigAtomic",HTYPE_SIG_ATOMIC_T) INTEGRAL_TYPE(CClock,tyConCClock,"CClock",HTYPE_CLOCK_T) INTEGRAL_TYPE(CTime,tyConCTime,"CTime",HTYPE_TIME_T) --- TODO: Instances. But which...? :-} - +-- FIXME: Implement and provide instances for Eq and Storable data CFile = CFile - data CFpos = CFpos - data CJmpBuf = CJmpBuf -- C99 types which are still missing include: