License | BSD-style |
---|---|
Maintainer | Foundation |
Safe Haskell | Safe |
Language | Haskell2010 |
Basement.Compat.C.Types
Synopsis
- newtype CChar = CChar Int8
- newtype CSChar = CSChar Int8
- newtype CUChar = CUChar Word8
- newtype CShort = CShort Int16
- newtype CUShort = CUShort Word16
- newtype CInt = CInt Int32
- newtype CUInt = CUInt Word32
- newtype CLong = CLong Int64
- newtype CULong = CULong Word64
- newtype CPtrdiff = CPtrdiff Int64
- newtype CSize = CSize Word64
- newtype CWchar = CWchar Int32
- newtype CSigAtomic = CSigAtomic Int32
- newtype CLLong = CLLong Int64
- newtype CULLong = CULLong Word64
- newtype CBool = CBool Word8
- newtype CIntPtr = CIntPtr Int64
- newtype CUIntPtr = CUIntPtr Word64
- newtype CIntMax = CIntMax Int64
- newtype CUIntMax = CUIntMax Word64
- newtype CClock = CClock Int64
- newtype CTime = CTime Int64
- newtype CUSeconds = CUSeconds Word32
- newtype CSUSeconds = CSUSeconds Int64
- newtype CFloat = CFloat Float
- data CDouble
- newtype COff = COff Int64
- newtype CMode = CMode Word32
Documentation
Haskell type representing the C char
type.
Instances
Haskell type representing the C signed char
type.
Instances
Haskell type representing the C unsigned char
type.
Instances
Haskell type representing the C short
type.
Instances
Haskell type representing the C unsigned short
type.
Instances
Haskell type representing the C int
type.
Instances
Haskell type representing the C unsigned int
type.
Instances
Haskell type representing the C long
type.
Instances
Haskell type representing the C unsigned long
type.
Instances
Haskell type representing the C ptrdiff_t
type.
Instances
Haskell type representing the C size_t
type.
Instances
Haskell type representing the C wchar_t
type.
Instances
newtype CSigAtomic #
Haskell type representing the C sig_atomic_t
type.
Constructors
CSigAtomic Int32 |
Instances
Haskell type representing the C long long
type.
Instances
Haskell type representing the C unsigned long long
type.
Instances
Haskell type representing the C bool
type.
Since: base-4.10.0.0
Instances
Instances
Instances
Instances
Instances
Haskell type representing the C clock_t
type.
Instances
Enum CClock | |
Defined in Foreign.C.Types | |
Eq CClock | |
Num CClock | |
Ord CClock | |
Read CClock | |
Real CClock | |
Defined in Foreign.C.Types Methods toRational :: CClock -> Rational # | |
Show CClock | |
Storable CClock | |
Integral CClock Source # | |
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CClock Source # | |
Subtractive CClock Source # | |
Defined in Basement.Numerical.Subtractive Associated Types type Difference CClock :: Type Source # | |
Additive CClock Source # | |
Multiplicative CClock Source # | |
type Difference CClock Source # | |
Defined in Basement.Numerical.Subtractive |
Haskell type representing the C time_t
type.
Instances
Enum CTime | |
Defined in Foreign.C.Types | |
Eq CTime | |
Num CTime | |
Ord CTime | |
Read CTime | |
Real CTime | |
Defined in Foreign.C.Types Methods toRational :: CTime -> Rational # | |
Show CTime | |
Storable CTime | |
Integral CTime Source # | |
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CTime Source # | |
Subtractive CTime Source # | |
Defined in Basement.Numerical.Subtractive Associated Types type Difference CTime :: Type Source # | |
Additive CTime Source # | |
Multiplicative CTime Source # | |