diff options
Diffstat (limited to 'libraries/base/Foreign/C/Types.hs')
-rw-r--r-- | libraries/base/Foreign/C/Types.hs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libraries/base/Foreign/C/Types.hs b/libraries/base/Foreign/C/Types.hs index 7f74a07bc8..f2c83c4203 100644 --- a/libraries/base/Foreign/C/Types.hs +++ b/libraries/base/Foreign/C/Types.hs @@ -86,11 +86,8 @@ module Foreign.C.Types -- Instances of: Eq and Storable , CFile, CFpos, CJmpBuf - - , ConstPtr(..) ) where -import Foreign.Ptr ( Ptr ) import Foreign.Storable import Data.Bits ( Bits(..), FiniteBits(..) ) import Data.Int ( Int8, Int16, Int32, Int64 ) @@ -226,9 +223,6 @@ INTEGRAL_TYPE(CUIntPtr,"uintptr_t",HTYPE_UINTPTR_T) INTEGRAL_TYPE(CIntMax,"intmax_t",HTYPE_INTMAX_T) INTEGRAL_TYPE(CUIntMax,"uintmax_t",HTYPE_UINTMAX_T) --- | Used to produce 'const' qualifier in C code generator -newtype ConstPtr a = ConstPtr { unConstPtr :: Ptr a } deriving newtype (Show, Eq, Storable) - -- C99 types which are still missing include: -- wint_t, wctrans_t, wctype_t |