summaryrefslogtreecommitdiff
path: root/libraries/base/Foreign
diff options
context:
space:
mode:
authorMalcolm.Wallace@me.com <unknown>2010-10-25 10:26:44 +0000
committerMalcolm.Wallace@me.com <unknown>2010-10-25 10:26:44 +0000
commitaeb9367ed105083035a6369590f4084bec8dae8b (patch)
tree7b1f0a27d356f956172ee2160adb0a3f0631d68b /libraries/base/Foreign
parent132e2c2c2c9dac10ef8bb5b903a8dc0219d5e312 (diff)
downloadhaskell-aeb9367ed105083035a6369590f4084bec8dae8b.tar.gz
CIntPtr, CUIntPtr, CIntMax, CUIntMax are new to nhc98.
Diffstat (limited to 'libraries/base/Foreign')
-rw-r--r--libraries/base/Foreign/C/Types.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/libraries/base/Foreign/C/Types.hs b/libraries/base/Foreign/C/Types.hs
index 39a6b00e79..e30a2baf21 100644
--- a/libraries/base/Foreign/C/Types.hs
+++ b/libraries/base/Foreign/C/Types.hs
@@ -72,6 +72,7 @@ module Foreign.C.Types
, CLLong(..), CULLong(..)
, CClock(..), CTime(..)
, CFloat(..), CDouble(..), CLDouble(..)
+ , CIntPtr(..), CUIntPtr(..), CIntMax(..), CUIntMax(..)
#endif
-- ** Other types
@@ -284,6 +285,7 @@ import NHC.FFI
, CPtrdiff(..), CSize(..), CWchar(..), CSigAtomic(..)
, CClock(..), CTime(..)
, CFloat(..), CDouble(..), CLDouble(..)
+ , CIntPtr(..), CUIntPtr(..),CIntMax(..), CUIntMax(..)
, CFile, CFpos, CJmpBuf
, Storable(..)
)
@@ -321,5 +323,9 @@ INSTANCE_BITS(CPtrdiff)
INSTANCE_BITS(CWchar)
INSTANCE_BITS(CSigAtomic)
INSTANCE_BITS(CSize)
+INSTANCE_BITS(CIntPtr)
+INSTANCE_BITS(CUIntPtr)
+INSTANCE_BITS(CIntMax)
+INSTANCE_BITS(CUIntMax)
#endif