projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3d188b6
)
CIntPtr, CUIntPtr, CIntMax, CUIntMax are new to nhc98.
author
Malcolm.Wallace@me.com
<unknown>
Mon, 25 Oct 2010 10:26:44 +0000
(10:26 +0000)
committer
Malcolm.Wallace@me.com
<unknown>
Mon, 25 Oct 2010 10:26:44 +0000
(10:26 +0000)
Foreign/C/Types.hs
patch
|
blob
|
history
diff --git
a/Foreign/C/Types.hs
b/Foreign/C/Types.hs
index
39a6b00
..
e30a2ba
100644
(file)
--- a/
Foreign/C/Types.hs
+++ b/
Foreign/C/Types.hs
@@
-72,6
+72,7
@@
module Foreign.C.Types
, CLLong(..), CULLong(..)
, CClock(..), CTime(..)
, CFloat(..), CDouble(..), CLDouble(..)
, CLLong(..), CULLong(..)
, CClock(..), CTime(..)
, CFloat(..), CDouble(..), CLDouble(..)
+ , CIntPtr(..), CUIntPtr(..), CIntMax(..), CUIntMax(..)
#endif
-- ** Other types
#endif
-- ** Other types
@@
-284,6
+285,7
@@
import NHC.FFI
, CPtrdiff(..), CSize(..), CWchar(..), CSigAtomic(..)
, CClock(..), CTime(..)
, CFloat(..), CDouble(..), CLDouble(..)
, CPtrdiff(..), CSize(..), CWchar(..), CSigAtomic(..)
, CClock(..), CTime(..)
, CFloat(..), CDouble(..), CLDouble(..)
+ , CIntPtr(..), CUIntPtr(..),CIntMax(..), CUIntMax(..)
, CFile, CFpos, CJmpBuf
, Storable(..)
)
, CFile, CFpos, CJmpBuf
, Storable(..)
)
@@
-321,5
+323,9
@@
INSTANCE_BITS(CPtrdiff)
INSTANCE_BITS(CWchar)
INSTANCE_BITS(CSigAtomic)
INSTANCE_BITS(CSize)
INSTANCE_BITS(CWchar)
INSTANCE_BITS(CSigAtomic)
INSTANCE_BITS(CSize)
+INSTANCE_BITS(CIntPtr)
+INSTANCE_BITS(CUIntPtr)
+INSTANCE_BITS(CIntMax)
+INSTANCE_BITS(CUIntMax)
#endif
#endif