cvs commit: fptools/libraries/base/include CTypes.h
fptools/libraries/base/Foreign Storable.hs fptools/libraries/base/Foreign/
C Types.hs
Simon Marlow
simonmar@glass.cse.ogi.edu
Wed, 4 Sep 2002 09:05:30 -0700
simonmar 2002/09/04 09:05:30 PDT
Modified files:
libraries/base/include CTypes.h
libraries/base/Foreign Storable.hs
libraries/base/Foreign/C Types.hs
Log:
GHC can derive arbitrary instances for newtypes, so derive Storable
for the types in Foreign.C.Types, rather than using CPP trickery to
define the instances.
This moves the Storable instances for the C Types from
Foreign.Storable into Foreign.C.Types, and hence a few imports have
changed around.
Revision Changes Path
1.5 +10 -2 fptools/libraries/base/include/CTypes.h
1.11 +5 -37 fptools/libraries/base/Foreign/Storable.hs
1.9 +1 -0 fptools/libraries/base/Foreign/C/Types.hs
_______________________________________________
Cvs-libraries mailing list
Cvs-libraries@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-libraries