From 5ad136fba6983ab670599872bdbd61f32cfff914 Mon Sep 17 00:00:00 2001 From: "Malcolm.Wallace@me.com" Date: Mon, 25 Oct 2010 10:26:44 +0000 Subject: [PATCH] CIntPtr, CUIntPtr, CIntMax, CUIntMax are new to nhc98. --- Foreign/C/Types.hs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Foreign/C/Types.hs b/Foreign/C/Types.hs index 39a6b00..e30a2ba 100644 --- 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(..) + , 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 -- 1.7.10.4