| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
SDL3.Sys.Bindgen.Stdinc
Synopsis
- newtype Sint8 = Sint8 {}
- newtype Uint8 = Uint8 {}
- newtype Sint16 = Sint16 {}
- newtype Uint16 = Uint16 {}
- newtype Sint32 = Sint32 {}
- newtype Uint32 = Uint32 {}
- newtype Sint64 = Sint64 {}
- newtype Uint64 = Uint64 {}
- newtype SDL_Time = SDL_Time {}
- sDL_FLT_EPSILON :: CFloat
- sDL_PRILL_PREFIX :: ByteString
- data SDL_alignment_test = SDL_alignment_test {}
- newtype SDL_DUMMY_ENUM = SDL_DUMMY_ENUM {}
- pattern DUMMY_ENUM_VALUE :: SDL_DUMMY_ENUM
- newtype SDL_malloc_func_Aux = SDL_malloc_func_Aux {}
- newtype SDL_malloc_func = SDL_malloc_func {}
- newtype SDL_calloc_func_Aux = SDL_calloc_func_Aux {}
- newtype SDL_calloc_func = SDL_calloc_func {}
- newtype SDL_realloc_func_Aux = SDL_realloc_func_Aux {}
- newtype SDL_realloc_func = SDL_realloc_func {}
- newtype SDL_free_func_Aux = SDL_free_func_Aux {}
- newtype SDL_free_func = SDL_free_func {}
- data SDL_Environment
- newtype SDL_CompareCallback_Aux = SDL_CompareCallback_Aux {}
- newtype SDL_CompareCallback = SDL_CompareCallback {}
- newtype SDL_CompareCallback_r_Aux = SDL_CompareCallback_r_Aux {}
- newtype SDL_CompareCallback_r = SDL_CompareCallback_r {}
- sDL_INVALID_UNICODE_CODEPOINT :: CInt
- sDL_PI_D :: CDouble
- sDL_PI_F :: CFloat
- data SDL_iconv_data_t
- newtype SDL_iconv_t = SDL_iconv_t {}
- newtype SDL_FunctionPointer_Aux = SDL_FunctionPointer_Aux {}
- newtype SDL_FunctionPointer = SDL_FunctionPointer {}
Documentation
A signed 8-bit integer type.
- C declaration
Sint8, defined atSDL3/SDL_stdinc.h 437:16
Since: 3.2.0
Instances
An unsigned 8-bit integer type.
- C declaration
Uint8, defined atSDL3/SDL_stdinc.h 446:17
Since: 3.2.0
Instances
| Bits Uint8 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods (.&.) :: Uint8 -> Uint8 -> Uint8 # (.|.) :: Uint8 -> Uint8 -> Uint8 # xor :: Uint8 -> Uint8 -> Uint8 # complement :: Uint8 -> Uint8 # shift :: Uint8 -> Int -> Uint8 # rotate :: Uint8 -> Int -> Uint8 # setBit :: Uint8 -> Int -> Uint8 # clearBit :: Uint8 -> Int -> Uint8 # complementBit :: Uint8 -> Int -> Uint8 # testBit :: Uint8 -> Int -> Bool # bitSizeMaybe :: Uint8 -> Maybe Int # shiftL :: Uint8 -> Int -> Uint8 # unsafeShiftL :: Uint8 -> Int -> Uint8 # shiftR :: Uint8 -> Int -> Uint8 # unsafeShiftR :: Uint8 -> Int -> Uint8 # rotateL :: Uint8 -> Int -> Uint8 # | |||||
| FiniteBits Uint8 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods finiteBitSize :: Uint8 -> Int # countLeadingZeros :: Uint8 -> Int # countTrailingZeros :: Uint8 -> Int # | |||||
| Bounded Uint8 Source # | |||||
| Enum Uint8 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| Storable Uint8 Source # | |||||
| Generic Uint8 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| Ix Uint8 Source # | |||||
| Num Uint8 Source # | |||||
| Read Uint8 Source # | |||||
| Integral Uint8 Source # | |||||
| Real Uint8 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods toRational :: Uint8 -> Rational # | |||||
| Show Uint8 Source # | |||||
| Eq Uint8 Source # | |||||
| Ord Uint8 Source # | |||||
| Prim Uint8 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods sizeOfType# :: Proxy Uint8 -> Int# # alignmentOfType# :: Proxy Uint8 -> Int# # alignment# :: Uint8 -> Int# # indexByteArray# :: ByteArray# -> Int# -> Uint8 # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Uint8 #) # writeByteArray# :: MutableByteArray# s -> Int# -> Uint8 -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> Uint8 -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> Uint8 # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Uint8 #) # writeOffAddr# :: Addr# -> Int# -> Uint8 -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> Uint8 -> State# s -> State# s # | |||||
| HasFFIType Uint8 Source # | |||||
| ReadRaw Uint8 Source # | |||||
| StaticSize Uint8 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| WriteRaw Uint8 Source # | |||||
| Bitfield Uint8 Source # | |||||
| HasCField Uint8 "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| ty ~ Word8 => HasField "unwrap" Uint8 ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| ty ~ Word8 => HasField "unwrap" (Ptr Uint8) (Ptr ty :: Type) Source # | |||||
| type Rep Uint8 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| type FFIType Uint8 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| type CFieldType Uint8 "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
A signed 16-bit integer type.
- C declaration
Sint16, defined atSDL3/SDL_stdinc.h 455:17
Since: 3.2.0
Instances
| Bits Sint16 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods (.&.) :: Sint16 -> Sint16 -> Sint16 # (.|.) :: Sint16 -> Sint16 -> Sint16 # xor :: Sint16 -> Sint16 -> Sint16 # complement :: Sint16 -> Sint16 # shift :: Sint16 -> Int -> Sint16 # rotate :: Sint16 -> Int -> Sint16 # setBit :: Sint16 -> Int -> Sint16 # clearBit :: Sint16 -> Int -> Sint16 # complementBit :: Sint16 -> Int -> Sint16 # testBit :: Sint16 -> Int -> Bool # bitSizeMaybe :: Sint16 -> Maybe Int # shiftL :: Sint16 -> Int -> Sint16 # unsafeShiftL :: Sint16 -> Int -> Sint16 # shiftR :: Sint16 -> Int -> Sint16 # unsafeShiftR :: Sint16 -> Int -> Sint16 # rotateL :: Sint16 -> Int -> Sint16 # | |||||
| FiniteBits Sint16 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods finiteBitSize :: Sint16 -> Int # countLeadingZeros :: Sint16 -> Int # countTrailingZeros :: Sint16 -> Int # | |||||
| Bounded Sint16 Source # | |||||
| Enum Sint16 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| Storable Sint16 Source # | |||||
| Generic Sint16 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| Ix Sint16 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| Num Sint16 Source # | |||||
| Read Sint16 Source # | |||||
| Integral Sint16 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| Real Sint16 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods toRational :: Sint16 -> Rational # | |||||
| Show Sint16 Source # | |||||
| Eq Sint16 Source # | |||||
| Ord Sint16 Source # | |||||
| Prim Sint16 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods sizeOfType# :: Proxy Sint16 -> Int# # alignmentOfType# :: Proxy Sint16 -> Int# # alignment# :: Sint16 -> Int# # indexByteArray# :: ByteArray# -> Int# -> Sint16 # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Sint16 #) # writeByteArray# :: MutableByteArray# s -> Int# -> Sint16 -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> Sint16 -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> Sint16 # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Sint16 #) # writeOffAddr# :: Addr# -> Int# -> Sint16 -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> Sint16 -> State# s -> State# s # | |||||
| HasFFIType Sint16 Source # | |||||
| ReadRaw Sint16 Source # | |||||
| StaticSize Sint16 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| WriteRaw Sint16 Source # | |||||
| Bitfield Sint16 Source # | |||||
| HasCField Sint16 "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| ty ~ Int16 => HasField "unwrap" Sint16 ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| ty ~ Int16 => HasField "unwrap" (Ptr Sint16) (Ptr ty :: Type) Source # | |||||
| type Rep Sint16 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| type FFIType Sint16 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| type CFieldType Sint16 "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
An unsigned 16-bit integer type.
- C declaration
Uint16, defined atSDL3/SDL_stdinc.h 464:18
Since: 3.2.0
Instances
| Bits Uint16 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods (.&.) :: Uint16 -> Uint16 -> Uint16 # (.|.) :: Uint16 -> Uint16 -> Uint16 # xor :: Uint16 -> Uint16 -> Uint16 # complement :: Uint16 -> Uint16 # shift :: Uint16 -> Int -> Uint16 # rotate :: Uint16 -> Int -> Uint16 # setBit :: Uint16 -> Int -> Uint16 # clearBit :: Uint16 -> Int -> Uint16 # complementBit :: Uint16 -> Int -> Uint16 # testBit :: Uint16 -> Int -> Bool # bitSizeMaybe :: Uint16 -> Maybe Int # shiftL :: Uint16 -> Int -> Uint16 # unsafeShiftL :: Uint16 -> Int -> Uint16 # shiftR :: Uint16 -> Int -> Uint16 # unsafeShiftR :: Uint16 -> Int -> Uint16 # rotateL :: Uint16 -> Int -> Uint16 # | |||||
| FiniteBits Uint16 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods finiteBitSize :: Uint16 -> Int # countLeadingZeros :: Uint16 -> Int # countTrailingZeros :: Uint16 -> Int # | |||||
| Bounded Uint16 Source # | |||||
| Enum Uint16 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| Storable Uint16 Source # | |||||
| Generic Uint16 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| Ix Uint16 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| Num Uint16 Source # | |||||
| Read Uint16 Source # | |||||
| Integral Uint16 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| Real Uint16 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods toRational :: Uint16 -> Rational # | |||||
| Show Uint16 Source # | |||||
| Eq Uint16 Source # | |||||
| Ord Uint16 Source # | |||||
| Prim Uint16 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods sizeOfType# :: Proxy Uint16 -> Int# # alignmentOfType# :: Proxy Uint16 -> Int# # alignment# :: Uint16 -> Int# # indexByteArray# :: ByteArray# -> Int# -> Uint16 # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Uint16 #) # writeByteArray# :: MutableByteArray# s -> Int# -> Uint16 -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> Uint16 -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> Uint16 # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Uint16 #) # writeOffAddr# :: Addr# -> Int# -> Uint16 -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> Uint16 -> State# s -> State# s # | |||||
| HasFFIType Uint16 Source # | |||||
| ReadRaw Uint16 Source # | |||||
| StaticSize Uint16 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| WriteRaw Uint16 Source # | |||||
| Bitfield Uint16 Source # | |||||
| HasCField Uint16 "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| ty ~ Word16 => HasField "unwrap" Uint16 ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| ty ~ Word16 => HasField "unwrap" (Ptr Uint16) (Ptr ty :: Type) Source # | |||||
| type Rep Uint16 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| type FFIType Uint16 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| type CFieldType Uint16 "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
A signed 32-bit integer type.
- C declaration
Sint32, defined atSDL3/SDL_stdinc.h 473:17
Since: 3.2.0
Instances
| Bits Sint32 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods (.&.) :: Sint32 -> Sint32 -> Sint32 # (.|.) :: Sint32 -> Sint32 -> Sint32 # xor :: Sint32 -> Sint32 -> Sint32 # complement :: Sint32 -> Sint32 # shift :: Sint32 -> Int -> Sint32 # rotate :: Sint32 -> Int -> Sint32 # setBit :: Sint32 -> Int -> Sint32 # clearBit :: Sint32 -> Int -> Sint32 # complementBit :: Sint32 -> Int -> Sint32 # testBit :: Sint32 -> Int -> Bool # bitSizeMaybe :: Sint32 -> Maybe Int # shiftL :: Sint32 -> Int -> Sint32 # unsafeShiftL :: Sint32 -> Int -> Sint32 # shiftR :: Sint32 -> Int -> Sint32 # unsafeShiftR :: Sint32 -> Int -> Sint32 # rotateL :: Sint32 -> Int -> Sint32 # | |||||
| FiniteBits Sint32 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods finiteBitSize :: Sint32 -> Int # countLeadingZeros :: Sint32 -> Int # countTrailingZeros :: Sint32 -> Int # | |||||
| Bounded Sint32 Source # | |||||
| Enum Sint32 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| Storable Sint32 Source # | |||||
| Generic Sint32 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| Ix Sint32 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| Num Sint32 Source # | |||||
| Read Sint32 Source # | |||||
| Integral Sint32 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| Real Sint32 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods toRational :: Sint32 -> Rational # | |||||
| Show Sint32 Source # | |||||
| Eq Sint32 Source # | |||||
| Ord Sint32 Source # | |||||
| Prim Sint32 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods sizeOfType# :: Proxy Sint32 -> Int# # alignmentOfType# :: Proxy Sint32 -> Int# # alignment# :: Sint32 -> Int# # indexByteArray# :: ByteArray# -> Int# -> Sint32 # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Sint32 #) # writeByteArray# :: MutableByteArray# s -> Int# -> Sint32 -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> Sint32 -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> Sint32 # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Sint32 #) # writeOffAddr# :: Addr# -> Int# -> Sint32 -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> Sint32 -> State# s -> State# s # | |||||
| HasFFIType Sint32 Source # | |||||
| ReadRaw Sint32 Source # | |||||
| StaticSize Sint32 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| WriteRaw Sint32 Source # | |||||
| Bitfield Sint32 Source # | |||||
| HasCField Sint32 "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| ty ~ Int32 => HasField "unwrap" Sint32 ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| ty ~ Int32 => HasField "unwrap" (Ptr Sint32) (Ptr ty :: Type) Source # | |||||
| type Rep Sint32 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| type FFIType Sint32 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| type CFieldType Sint32 "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
An unsigned 32-bit integer type.
- C declaration
Uint32, defined atSDL3/SDL_stdinc.h 482:18
Since: 3.2.0
Instances
| Bits Uint32 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods (.&.) :: Uint32 -> Uint32 -> Uint32 # (.|.) :: Uint32 -> Uint32 -> Uint32 # xor :: Uint32 -> Uint32 -> Uint32 # complement :: Uint32 -> Uint32 # shift :: Uint32 -> Int -> Uint32 # rotate :: Uint32 -> Int -> Uint32 # setBit :: Uint32 -> Int -> Uint32 # clearBit :: Uint32 -> Int -> Uint32 # complementBit :: Uint32 -> Int -> Uint32 # testBit :: Uint32 -> Int -> Bool # bitSizeMaybe :: Uint32 -> Maybe Int # shiftL :: Uint32 -> Int -> Uint32 # unsafeShiftL :: Uint32 -> Int -> Uint32 # shiftR :: Uint32 -> Int -> Uint32 # unsafeShiftR :: Uint32 -> Int -> Uint32 # rotateL :: Uint32 -> Int -> Uint32 # | |||||
| FiniteBits Uint32 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods finiteBitSize :: Uint32 -> Int # countLeadingZeros :: Uint32 -> Int # countTrailingZeros :: Uint32 -> Int # | |||||
| Bounded Uint32 Source # | |||||
| Enum Uint32 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| Storable Uint32 Source # | |||||
| Generic Uint32 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| Ix Uint32 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| Num Uint32 Source # | |||||
| Read Uint32 Source # | |||||
| Integral Uint32 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| Real Uint32 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods toRational :: Uint32 -> Rational # | |||||
| Show Uint32 Source # | |||||
| Eq Uint32 Source # | |||||
| Ord Uint32 Source # | |||||
| Prim Uint32 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods sizeOfType# :: Proxy Uint32 -> Int# # alignmentOfType# :: Proxy Uint32 -> Int# # alignment# :: Uint32 -> Int# # indexByteArray# :: ByteArray# -> Int# -> Uint32 # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Uint32 #) # writeByteArray# :: MutableByteArray# s -> Int# -> Uint32 -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> Uint32 -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> Uint32 # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Uint32 #) # writeOffAddr# :: Addr# -> Int# -> Uint32 -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> Uint32 -> State# s -> State# s # | |||||
| HasFFIType Uint32 Source # | |||||
| ReadRaw Uint32 Source # | |||||
| StaticSize Uint32 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| WriteRaw Uint32 Source # | |||||
| Bitfield Uint32 Source # | |||||
| HasCField Uint32 "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| ty ~ Word32 => HasField "unwrap" Uint32 ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| ty ~ Word32 => HasField "unwrap" (Ptr Uint32) (Ptr ty :: Type) Source # | |||||
| type Rep Uint32 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| type FFIType Uint32 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| type CFieldType Uint32 "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
A signed 64-bit integer type.
- See also
SDL_SINT64_C- C declaration
Sint64, defined atSDL3/SDL_stdinc.h 493:17
Since: 3.2.0
Instances
| Bits Sint64 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods (.&.) :: Sint64 -> Sint64 -> Sint64 # (.|.) :: Sint64 -> Sint64 -> Sint64 # xor :: Sint64 -> Sint64 -> Sint64 # complement :: Sint64 -> Sint64 # shift :: Sint64 -> Int -> Sint64 # rotate :: Sint64 -> Int -> Sint64 # setBit :: Sint64 -> Int -> Sint64 # clearBit :: Sint64 -> Int -> Sint64 # complementBit :: Sint64 -> Int -> Sint64 # testBit :: Sint64 -> Int -> Bool # bitSizeMaybe :: Sint64 -> Maybe Int # shiftL :: Sint64 -> Int -> Sint64 # unsafeShiftL :: Sint64 -> Int -> Sint64 # shiftR :: Sint64 -> Int -> Sint64 # unsafeShiftR :: Sint64 -> Int -> Sint64 # rotateL :: Sint64 -> Int -> Sint64 # | |||||
| FiniteBits Sint64 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods finiteBitSize :: Sint64 -> Int # countLeadingZeros :: Sint64 -> Int # countTrailingZeros :: Sint64 -> Int # | |||||
| Bounded Sint64 Source # | |||||
| Enum Sint64 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| Storable Sint64 Source # | |||||
| Generic Sint64 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| Ix Sint64 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| Num Sint64 Source # | |||||
| Read Sint64 Source # | |||||
| Integral Sint64 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| Real Sint64 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods toRational :: Sint64 -> Rational # | |||||
| Show Sint64 Source # | |||||
| Eq Sint64 Source # | |||||
| Ord Sint64 Source # | |||||
| Prim Sint64 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods sizeOfType# :: Proxy Sint64 -> Int# # alignmentOfType# :: Proxy Sint64 -> Int# # alignment# :: Sint64 -> Int# # indexByteArray# :: ByteArray# -> Int# -> Sint64 # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Sint64 #) # writeByteArray# :: MutableByteArray# s -> Int# -> Sint64 -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> Sint64 -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> Sint64 # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Sint64 #) # writeOffAddr# :: Addr# -> Int# -> Sint64 -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> Sint64 -> State# s -> State# s # | |||||
| HasFFIType Sint64 Source # | |||||
| ReadRaw Sint64 Source # | |||||
| StaticSize Sint64 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| WriteRaw Sint64 Source # | |||||
| Bitfield Sint64 Source # | |||||
| HasCField Sint64 "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| ty ~ Int64 => HasField "unwrap" Sint64 ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| ty ~ Int64 => HasField "unwrap" (Ptr Sint64) (Ptr ty :: Type) Source # | |||||
| type Rep Sint64 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| type FFIType Sint64 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| type CFieldType Sint64 "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
An unsigned 64-bit integer type.
- See also
SDL_UINT64_C- C declaration
Uint64, defined atSDL3/SDL_stdinc.h 504:18
Since: 3.2.0
Instances
| Bits Uint64 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods (.&.) :: Uint64 -> Uint64 -> Uint64 # (.|.) :: Uint64 -> Uint64 -> Uint64 # xor :: Uint64 -> Uint64 -> Uint64 # complement :: Uint64 -> Uint64 # shift :: Uint64 -> Int -> Uint64 # rotate :: Uint64 -> Int -> Uint64 # setBit :: Uint64 -> Int -> Uint64 # clearBit :: Uint64 -> Int -> Uint64 # complementBit :: Uint64 -> Int -> Uint64 # testBit :: Uint64 -> Int -> Bool # bitSizeMaybe :: Uint64 -> Maybe Int # shiftL :: Uint64 -> Int -> Uint64 # unsafeShiftL :: Uint64 -> Int -> Uint64 # shiftR :: Uint64 -> Int -> Uint64 # unsafeShiftR :: Uint64 -> Int -> Uint64 # rotateL :: Uint64 -> Int -> Uint64 # | |||||
| FiniteBits Uint64 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods finiteBitSize :: Uint64 -> Int # countLeadingZeros :: Uint64 -> Int # countTrailingZeros :: Uint64 -> Int # | |||||
| Bounded Uint64 Source # | |||||
| Enum Uint64 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| Storable Uint64 Source # | |||||
| Generic Uint64 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| Ix Uint64 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| Num Uint64 Source # | |||||
| Read Uint64 Source # | |||||
| Integral Uint64 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| Real Uint64 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods toRational :: Uint64 -> Rational # | |||||
| Show Uint64 Source # | |||||
| Eq Uint64 Source # | |||||
| Ord Uint64 Source # | |||||
| Prim Uint64 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods sizeOfType# :: Proxy Uint64 -> Int# # alignmentOfType# :: Proxy Uint64 -> Int# # alignment# :: Uint64 -> Int# # indexByteArray# :: ByteArray# -> Int# -> Uint64 # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Uint64 #) # writeByteArray# :: MutableByteArray# s -> Int# -> Uint64 -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> Uint64 -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> Uint64 # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Uint64 #) # writeOffAddr# :: Addr# -> Int# -> Uint64 -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> Uint64 -> State# s -> State# s # | |||||
| HasFFIType Uint64 Source # | |||||
| ReadRaw Uint64 Source # | |||||
| StaticSize Uint64 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| WriteRaw Uint64 Source # | |||||
| Bitfield Uint64 Source # | |||||
| HasCField Uint64 "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| ty ~ Word64 => HasField "unwrap" Uint64 ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| ty ~ Word64 => HasField "unwrap" (Ptr Uint64) (Ptr ty :: Type) Source # | |||||
| type Rep Uint64 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| type FFIType Uint64 Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| type CFieldType Uint64 "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
SDL times are signed, 64-bit integers representing nanoseconds since the Unix epoch (Jan 1, 1970).
They can be converted between POSIX time_t values with SDL_NS_TO_SECONDS() and SDL_SECONDS_TO_NS(), and between Windows FILETIME values with SDL_TimeToWindows() and SDL_TimeFromWindows().
- See also
SDL_MAX_SINT64,SDL_MIN_SINT64- C declaration
SDL_Time, defined atSDL3/SDL_stdinc.h 521:16
Since: 3.2.0
Instances
| Bits SDL_Time Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods (.&.) :: SDL_Time -> SDL_Time -> SDL_Time # (.|.) :: SDL_Time -> SDL_Time -> SDL_Time # xor :: SDL_Time -> SDL_Time -> SDL_Time # complement :: SDL_Time -> SDL_Time # shift :: SDL_Time -> Int -> SDL_Time # rotate :: SDL_Time -> Int -> SDL_Time # setBit :: SDL_Time -> Int -> SDL_Time # clearBit :: SDL_Time -> Int -> SDL_Time # complementBit :: SDL_Time -> Int -> SDL_Time # testBit :: SDL_Time -> Int -> Bool # bitSizeMaybe :: SDL_Time -> Maybe Int # isSigned :: SDL_Time -> Bool # shiftL :: SDL_Time -> Int -> SDL_Time # unsafeShiftL :: SDL_Time -> Int -> SDL_Time # shiftR :: SDL_Time -> Int -> SDL_Time # unsafeShiftR :: SDL_Time -> Int -> SDL_Time # rotateL :: SDL_Time -> Int -> SDL_Time # | |||||
| FiniteBits SDL_Time Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods finiteBitSize :: SDL_Time -> Int # countLeadingZeros :: SDL_Time -> Int # countTrailingZeros :: SDL_Time -> Int # | |||||
| Bounded SDL_Time Source # | |||||
| Enum SDL_Time Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| Storable SDL_Time Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| Generic SDL_Time Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| Ix SDL_Time Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods range :: (SDL_Time, SDL_Time) -> [SDL_Time] # index :: (SDL_Time, SDL_Time) -> SDL_Time -> Int # unsafeIndex :: (SDL_Time, SDL_Time) -> SDL_Time -> Int # inRange :: (SDL_Time, SDL_Time) -> SDL_Time -> Bool # rangeSize :: (SDL_Time, SDL_Time) -> Int # unsafeRangeSize :: (SDL_Time, SDL_Time) -> Int # | |||||
| Num SDL_Time Source # | |||||
| Read SDL_Time Source # | |||||
| Integral SDL_Time Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| Real SDL_Time Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods toRational :: SDL_Time -> Rational # | |||||
| Show SDL_Time Source # | |||||
| Eq SDL_Time Source # | |||||
| Ord SDL_Time Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| Prim SDL_Time Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods sizeOfType# :: Proxy SDL_Time -> Int# # alignmentOfType# :: Proxy SDL_Time -> Int# # alignment# :: SDL_Time -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_Time # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_Time #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_Time -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_Time -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_Time # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_Time #) # writeOffAddr# :: Addr# -> Int# -> SDL_Time -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_Time -> State# s -> State# s # | |||||
| HasFFIType SDL_Time Source # | |||||
| ReadRaw SDL_Time Source # | |||||
| StaticSize SDL_Time Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| WriteRaw SDL_Time Source # | |||||
| Bitfield SDL_Time Source # | |||||
| HasCField SDL_Time "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| ty ~ Sint64 => HasField "unwrap" SDL_Time ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| ty ~ Sint64 => HasField "unwrap" (Ptr SDL_Time) (Ptr ty :: Type) Source # | |||||
| type Rep SDL_Time Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| type FFIType SDL_Time Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| type CFieldType SDL_Time "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
sDL_FLT_EPSILON :: CFloat Source #
Epsilon constant, used for comparing floating-point numbers.
Equals by default to platform-defined FLT_EPSILON, or 1.1920928955078125e-07F if that's not available.
- C declaration
macro SDL_FLT_EPSILON, defined atSDL3/SDL_stdinc.h 544:9
Since: 3.2.0
sDL_PRILL_PREFIX :: ByteString Source #
- C declaration
macro SDL_PRILL_PREFIX, literal"ll", defined atSDL3/SDL_stdinc.h 808:9
data SDL_alignment_test Source #
- C declaration
struct SDL_alignment_test, defined atSDL3/SDL_stdinc.h 1182:16
Constructors
| SDL_alignment_test | |
Instances
| Storable SDL_alignment_test Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods sizeOf :: SDL_alignment_test -> Int # alignment :: SDL_alignment_test -> Int # peekElemOff :: Ptr SDL_alignment_test -> Int -> IO SDL_alignment_test # pokeElemOff :: Ptr SDL_alignment_test -> Int -> SDL_alignment_test -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_alignment_test # pokeByteOff :: Ptr b -> Int -> SDL_alignment_test -> IO () # peek :: Ptr SDL_alignment_test -> IO SDL_alignment_test # poke :: Ptr SDL_alignment_test -> SDL_alignment_test -> IO () # | |||||
| Generic SDL_alignment_test Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
Methods from :: SDL_alignment_test -> Rep SDL_alignment_test x # to :: Rep SDL_alignment_test x -> SDL_alignment_test # | |||||
| Show SDL_alignment_test Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods showsPrec :: Int -> SDL_alignment_test -> ShowS # show :: SDL_alignment_test -> String # showList :: [SDL_alignment_test] -> ShowS # | |||||
| Eq SDL_alignment_test Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods (==) :: SDL_alignment_test -> SDL_alignment_test -> Bool # (/=) :: SDL_alignment_test -> SDL_alignment_test -> Bool # | |||||
| ReadRaw SDL_alignment_test Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods readRaw :: Ptr SDL_alignment_test -> IO SDL_alignment_test # | |||||
| StaticSize SDL_alignment_test Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods staticSizeOf :: Proxy SDL_alignment_test -> Int # | |||||
| WriteRaw SDL_alignment_test Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods writeRaw :: Ptr SDL_alignment_test -> SDL_alignment_test -> IO () # | |||||
| IsStruct SDL_alignment_test Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods | |||||
| HasCField SDL_alignment_test "a" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| HasCField SDL_alignment_test "b" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| ty ~ Uint8 => HasField "a" SDL_alignment_test ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods hasField :: SDL_alignment_test -> (ty -> SDL_alignment_test, ty) # | |||||
| ty ~ Ptr Void => HasField "b" SDL_alignment_test ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods hasField :: SDL_alignment_test -> (ty -> SDL_alignment_test, ty) # | |||||
| ty ~ Uint8 => HasField "a" (Ptr SDL_alignment_test) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods getField :: Ptr SDL_alignment_test -> Ptr ty # | |||||
| ty ~ Ptr Void => HasField "b" (Ptr SDL_alignment_test) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods getField :: Ptr SDL_alignment_test -> Ptr ty # | |||||
| type Rep SDL_alignment_test Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc type Rep SDL_alignment_test = D1 ('MetaData "SDL_alignment_test" "SDL3.Sys.Bindgen.Stdinc" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_alignment_test" 'PrefixI 'True) (S1 ('MetaSel ('Just "a") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8) :*: S1 ('MetaSel ('Just "b") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr Void)))) | |||||
| type CFieldType SDL_alignment_test "a" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| type CFieldType SDL_alignment_test "b" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
newtype SDL_DUMMY_ENUM Source #
- C declaration
enum SDL_DUMMY_ENUM, defined atSDL3/SDL_stdinc.h 1202:14
Constructors
| SDL_DUMMY_ENUM | |
Instances
| Storable SDL_DUMMY_ENUM Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods sizeOf :: SDL_DUMMY_ENUM -> Int # alignment :: SDL_DUMMY_ENUM -> Int # peekElemOff :: Ptr SDL_DUMMY_ENUM -> Int -> IO SDL_DUMMY_ENUM # pokeElemOff :: Ptr SDL_DUMMY_ENUM -> Int -> SDL_DUMMY_ENUM -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_DUMMY_ENUM # pokeByteOff :: Ptr b -> Int -> SDL_DUMMY_ENUM -> IO () # peek :: Ptr SDL_DUMMY_ENUM -> IO SDL_DUMMY_ENUM # poke :: Ptr SDL_DUMMY_ENUM -> SDL_DUMMY_ENUM -> IO () # | |||||
| Generic SDL_DUMMY_ENUM Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
Methods from :: SDL_DUMMY_ENUM -> Rep SDL_DUMMY_ENUM x # to :: Rep SDL_DUMMY_ENUM x -> SDL_DUMMY_ENUM # | |||||
| Read SDL_DUMMY_ENUM Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods readsPrec :: Int -> ReadS SDL_DUMMY_ENUM # readList :: ReadS [SDL_DUMMY_ENUM] # | |||||
| Show SDL_DUMMY_ENUM Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods showsPrec :: Int -> SDL_DUMMY_ENUM -> ShowS # show :: SDL_DUMMY_ENUM -> String # showList :: [SDL_DUMMY_ENUM] -> ShowS # | |||||
| Eq SDL_DUMMY_ENUM Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods (==) :: SDL_DUMMY_ENUM -> SDL_DUMMY_ENUM -> Bool # (/=) :: SDL_DUMMY_ENUM -> SDL_DUMMY_ENUM -> Bool # | |||||
| Ord SDL_DUMMY_ENUM Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods compare :: SDL_DUMMY_ENUM -> SDL_DUMMY_ENUM -> Ordering # (<) :: SDL_DUMMY_ENUM -> SDL_DUMMY_ENUM -> Bool # (<=) :: SDL_DUMMY_ENUM -> SDL_DUMMY_ENUM -> Bool # (>) :: SDL_DUMMY_ENUM -> SDL_DUMMY_ENUM -> Bool # (>=) :: SDL_DUMMY_ENUM -> SDL_DUMMY_ENUM -> Bool # max :: SDL_DUMMY_ENUM -> SDL_DUMMY_ENUM -> SDL_DUMMY_ENUM # min :: SDL_DUMMY_ENUM -> SDL_DUMMY_ENUM -> SDL_DUMMY_ENUM # | |||||
| Prim SDL_DUMMY_ENUM Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods sizeOfType# :: Proxy SDL_DUMMY_ENUM -> Int# # sizeOf# :: SDL_DUMMY_ENUM -> Int# # alignmentOfType# :: Proxy SDL_DUMMY_ENUM -> Int# # alignment# :: SDL_DUMMY_ENUM -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_DUMMY_ENUM # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_DUMMY_ENUM #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_DUMMY_ENUM -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_DUMMY_ENUM -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_DUMMY_ENUM # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_DUMMY_ENUM #) # writeOffAddr# :: Addr# -> Int# -> SDL_DUMMY_ENUM -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_DUMMY_ENUM -> State# s -> State# s # | |||||
| CEnum SDL_DUMMY_ENUM Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
Methods toCEnum :: CEnumZ SDL_DUMMY_ENUM -> SDL_DUMMY_ENUM # fromCEnum :: SDL_DUMMY_ENUM -> CEnumZ SDL_DUMMY_ENUM # declaredValues :: proxy SDL_DUMMY_ENUM -> DeclaredValues SDL_DUMMY_ENUM # showsUndeclared :: proxy SDL_DUMMY_ENUM -> Int -> CEnumZ SDL_DUMMY_ENUM -> ShowS # readPrecUndeclared :: ReadPrec SDL_DUMMY_ENUM # isDeclared :: SDL_DUMMY_ENUM -> Bool # mkDeclared :: CEnumZ SDL_DUMMY_ENUM -> Maybe SDL_DUMMY_ENUM # | |||||
| SequentialCEnum SDL_DUMMY_ENUM Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| HasFFIType SDL_DUMMY_ENUM Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
Methods | |||||
| ReadRaw SDL_DUMMY_ENUM Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods readRaw :: Ptr SDL_DUMMY_ENUM -> IO SDL_DUMMY_ENUM # | |||||
| StaticSize SDL_DUMMY_ENUM Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods staticSizeOf :: Proxy SDL_DUMMY_ENUM -> Int # staticAlignment :: Proxy SDL_DUMMY_ENUM -> Int # | |||||
| WriteRaw SDL_DUMMY_ENUM Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods writeRaw :: Ptr SDL_DUMMY_ENUM -> SDL_DUMMY_ENUM -> IO () # | |||||
| HasCField SDL_DUMMY_ENUM "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_DUMMY_ENUM ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods hasField :: SDL_DUMMY_ENUM -> (ty -> SDL_DUMMY_ENUM, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_DUMMY_ENUM) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods getField :: Ptr SDL_DUMMY_ENUM -> Ptr ty # | |||||
| type Rep SDL_DUMMY_ENUM Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc type Rep SDL_DUMMY_ENUM = D1 ('MetaData "SDL_DUMMY_ENUM" "SDL3.Sys.Bindgen.Stdinc" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_DUMMY_ENUM" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_DUMMY_ENUM Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| type FFIType SDL_DUMMY_ENUM Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| type CFieldType SDL_DUMMY_ENUM "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
pattern DUMMY_ENUM_VALUE :: SDL_DUMMY_ENUM Source #
- C declaration
DUMMY_ENUM_VALUE, defined atSDL3/SDL_stdinc.h 1204:5
newtype SDL_malloc_func_Aux Source #
Auxiliary type used by SDL_malloc_func
- C declaration
SDL_malloc_func, defined atSDL3/SDL_stdinc.h 1446:25
Instances
| Generic SDL_malloc_func_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
Methods from :: SDL_malloc_func_Aux -> Rep SDL_malloc_func_Aux x # to :: Rep SDL_malloc_func_Aux x -> SDL_malloc_func_Aux # | |||||
| FromFunPtr SDL_malloc_func_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods fromFunPtr :: FunPtr SDL_malloc_func_Aux -> SDL_malloc_func_Aux # | |||||
| ToFunPtr SDL_malloc_func_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods toFunPtr :: SDL_malloc_func_Aux -> IO (FunPtr SDL_malloc_func_Aux) # | |||||
| HasCField SDL_malloc_func_Aux "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| ty ~ (CSize -> IO (Ptr Void)) => HasField "unwrap" SDL_malloc_func_Aux ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods hasField :: SDL_malloc_func_Aux -> (ty -> SDL_malloc_func_Aux, ty) # | |||||
| ty ~ (CSize -> IO (Ptr Void)) => HasField "unwrap" (Ptr SDL_malloc_func_Aux) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods getField :: Ptr SDL_malloc_func_Aux -> Ptr ty # | |||||
| type Rep SDL_malloc_func_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc type Rep SDL_malloc_func_Aux = D1 ('MetaData "SDL_malloc_func_Aux" "SDL3.Sys.Bindgen.Stdinc" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_malloc_func_Aux" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (CSize -> IO (Ptr Void))))) | |||||
| type CFieldType SDL_malloc_func_Aux "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
newtype SDL_malloc_func Source #
A callback used to implement SDL_malloc().
SDL will always ensure that the passed size is greater than 0.
size- the size to allocate.
- Returns
- a pointer to the allocated memory, or NULL if allocation failed.
- Thread safety
- It should be safe to call this callback from any thread.
- See also
sDL_malloc,sDL_GetOriginalMemoryFunctions,sDL_GetMemoryFunctions,sDL_SetMemoryFunctions- C declaration
SDL_malloc_func, defined atSDL3/SDL_stdinc.h 1446:25
Since: 3.2.0
Constructors
| SDL_malloc_func | |
Fields | |
Instances
| Storable SDL_malloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods sizeOf :: SDL_malloc_func -> Int # alignment :: SDL_malloc_func -> Int # peekElemOff :: Ptr SDL_malloc_func -> Int -> IO SDL_malloc_func # pokeElemOff :: Ptr SDL_malloc_func -> Int -> SDL_malloc_func -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_malloc_func # pokeByteOff :: Ptr b -> Int -> SDL_malloc_func -> IO () # peek :: Ptr SDL_malloc_func -> IO SDL_malloc_func # poke :: Ptr SDL_malloc_func -> SDL_malloc_func -> IO () # | |||||
| Generic SDL_malloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
Methods from :: SDL_malloc_func -> Rep SDL_malloc_func x # to :: Rep SDL_malloc_func x -> SDL_malloc_func # | |||||
| Show SDL_malloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods showsPrec :: Int -> SDL_malloc_func -> ShowS # show :: SDL_malloc_func -> String # showList :: [SDL_malloc_func] -> ShowS # | |||||
| Eq SDL_malloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods (==) :: SDL_malloc_func -> SDL_malloc_func -> Bool # (/=) :: SDL_malloc_func -> SDL_malloc_func -> Bool # | |||||
| Ord SDL_malloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods compare :: SDL_malloc_func -> SDL_malloc_func -> Ordering # (<) :: SDL_malloc_func -> SDL_malloc_func -> Bool # (<=) :: SDL_malloc_func -> SDL_malloc_func -> Bool # (>) :: SDL_malloc_func -> SDL_malloc_func -> Bool # (>=) :: SDL_malloc_func -> SDL_malloc_func -> Bool # max :: SDL_malloc_func -> SDL_malloc_func -> SDL_malloc_func # min :: SDL_malloc_func -> SDL_malloc_func -> SDL_malloc_func # | |||||
| HasFFIType SDL_malloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
Methods | |||||
| ReadRaw SDL_malloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods readRaw :: Ptr SDL_malloc_func -> IO SDL_malloc_func # | |||||
| StaticSize SDL_malloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods staticSizeOf :: Proxy SDL_malloc_func -> Int # staticAlignment :: Proxy SDL_malloc_func -> Int # | |||||
| WriteRaw SDL_malloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods writeRaw :: Ptr SDL_malloc_func -> SDL_malloc_func -> IO () # | |||||
| HasCField SDL_malloc_func "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| ty ~ FunPtr SDL_malloc_func_Aux => HasField "unwrap" SDL_malloc_func ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods hasField :: SDL_malloc_func -> (ty -> SDL_malloc_func, ty) # | |||||
| ty ~ FunPtr SDL_malloc_func_Aux => HasField "unwrap" (Ptr SDL_malloc_func) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods getField :: Ptr SDL_malloc_func -> Ptr ty # | |||||
| type Rep SDL_malloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc type Rep SDL_malloc_func = D1 ('MetaData "SDL_malloc_func" "SDL3.Sys.Bindgen.Stdinc" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_malloc_func" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (FunPtr SDL_malloc_func_Aux)))) | |||||
| type FFIType SDL_malloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| type CFieldType SDL_malloc_func "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
newtype SDL_calloc_func_Aux Source #
Auxiliary type used by SDL_calloc_func
- C declaration
SDL_calloc_func, defined atSDL3/SDL_stdinc.h 1467:25
Instances
| Generic SDL_calloc_func_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
Methods from :: SDL_calloc_func_Aux -> Rep SDL_calloc_func_Aux x # to :: Rep SDL_calloc_func_Aux x -> SDL_calloc_func_Aux # | |||||
| FromFunPtr SDL_calloc_func_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods fromFunPtr :: FunPtr SDL_calloc_func_Aux -> SDL_calloc_func_Aux # | |||||
| ToFunPtr SDL_calloc_func_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods toFunPtr :: SDL_calloc_func_Aux -> IO (FunPtr SDL_calloc_func_Aux) # | |||||
| HasCField SDL_calloc_func_Aux "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| ty ~ (CSize -> CSize -> IO (Ptr Void)) => HasField "unwrap" SDL_calloc_func_Aux ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods hasField :: SDL_calloc_func_Aux -> (ty -> SDL_calloc_func_Aux, ty) # | |||||
| ty ~ (CSize -> CSize -> IO (Ptr Void)) => HasField "unwrap" (Ptr SDL_calloc_func_Aux) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods getField :: Ptr SDL_calloc_func_Aux -> Ptr ty # | |||||
| type Rep SDL_calloc_func_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc type Rep SDL_calloc_func_Aux = D1 ('MetaData "SDL_calloc_func_Aux" "SDL3.Sys.Bindgen.Stdinc" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_calloc_func_Aux" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (CSize -> CSize -> IO (Ptr Void))))) | |||||
| type CFieldType SDL_calloc_func_Aux "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
newtype SDL_calloc_func Source #
A callback used to implement SDL_calloc().
SDL will always ensure that the passed nmemb and size are both greater than 0.
nmemb- the number of elements in the array.
size- the size of each element of the array.
- Returns
- a pointer to the allocated array, or NULL if allocation failed.
- Thread safety
- It should be safe to call this callback from any thread.
- See also
- SDL_calloc,
sDL_GetOriginalMemoryFunctions,sDL_GetMemoryFunctions,sDL_SetMemoryFunctions - C declaration
SDL_calloc_func, defined atSDL3/SDL_stdinc.h 1467:25
Since: 3.2.0
Constructors
| SDL_calloc_func | |
Fields | |
Instances
| Storable SDL_calloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods sizeOf :: SDL_calloc_func -> Int # alignment :: SDL_calloc_func -> Int # peekElemOff :: Ptr SDL_calloc_func -> Int -> IO SDL_calloc_func # pokeElemOff :: Ptr SDL_calloc_func -> Int -> SDL_calloc_func -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_calloc_func # pokeByteOff :: Ptr b -> Int -> SDL_calloc_func -> IO () # peek :: Ptr SDL_calloc_func -> IO SDL_calloc_func # poke :: Ptr SDL_calloc_func -> SDL_calloc_func -> IO () # | |||||
| Generic SDL_calloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
Methods from :: SDL_calloc_func -> Rep SDL_calloc_func x # to :: Rep SDL_calloc_func x -> SDL_calloc_func # | |||||
| Show SDL_calloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods showsPrec :: Int -> SDL_calloc_func -> ShowS # show :: SDL_calloc_func -> String # showList :: [SDL_calloc_func] -> ShowS # | |||||
| Eq SDL_calloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods (==) :: SDL_calloc_func -> SDL_calloc_func -> Bool # (/=) :: SDL_calloc_func -> SDL_calloc_func -> Bool # | |||||
| Ord SDL_calloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods compare :: SDL_calloc_func -> SDL_calloc_func -> Ordering # (<) :: SDL_calloc_func -> SDL_calloc_func -> Bool # (<=) :: SDL_calloc_func -> SDL_calloc_func -> Bool # (>) :: SDL_calloc_func -> SDL_calloc_func -> Bool # (>=) :: SDL_calloc_func -> SDL_calloc_func -> Bool # max :: SDL_calloc_func -> SDL_calloc_func -> SDL_calloc_func # min :: SDL_calloc_func -> SDL_calloc_func -> SDL_calloc_func # | |||||
| HasFFIType SDL_calloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
Methods | |||||
| ReadRaw SDL_calloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods readRaw :: Ptr SDL_calloc_func -> IO SDL_calloc_func # | |||||
| StaticSize SDL_calloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods staticSizeOf :: Proxy SDL_calloc_func -> Int # staticAlignment :: Proxy SDL_calloc_func -> Int # | |||||
| WriteRaw SDL_calloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods writeRaw :: Ptr SDL_calloc_func -> SDL_calloc_func -> IO () # | |||||
| HasCField SDL_calloc_func "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| ty ~ FunPtr SDL_calloc_func_Aux => HasField "unwrap" SDL_calloc_func ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods hasField :: SDL_calloc_func -> (ty -> SDL_calloc_func, ty) # | |||||
| ty ~ FunPtr SDL_calloc_func_Aux => HasField "unwrap" (Ptr SDL_calloc_func) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods getField :: Ptr SDL_calloc_func -> Ptr ty # | |||||
| type Rep SDL_calloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc type Rep SDL_calloc_func = D1 ('MetaData "SDL_calloc_func" "SDL3.Sys.Bindgen.Stdinc" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_calloc_func" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (FunPtr SDL_calloc_func_Aux)))) | |||||
| type FFIType SDL_calloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| type CFieldType SDL_calloc_func "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
newtype SDL_realloc_func_Aux Source #
Auxiliary type used by SDL_realloc_func
- C declaration
SDL_realloc_func, defined atSDL3/SDL_stdinc.h 1488:25
Instances
| Generic SDL_realloc_func_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
Methods from :: SDL_realloc_func_Aux -> Rep SDL_realloc_func_Aux x # to :: Rep SDL_realloc_func_Aux x -> SDL_realloc_func_Aux # | |||||
| FromFunPtr SDL_realloc_func_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods fromFunPtr :: FunPtr SDL_realloc_func_Aux -> SDL_realloc_func_Aux # | |||||
| ToFunPtr SDL_realloc_func_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods toFunPtr :: SDL_realloc_func_Aux -> IO (FunPtr SDL_realloc_func_Aux) # | |||||
| HasCField SDL_realloc_func_Aux "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| ty ~ (Ptr Void -> CSize -> IO (Ptr Void)) => HasField "unwrap" SDL_realloc_func_Aux ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods hasField :: SDL_realloc_func_Aux -> (ty -> SDL_realloc_func_Aux, ty) # | |||||
| ty ~ (Ptr Void -> CSize -> IO (Ptr Void)) => HasField "unwrap" (Ptr SDL_realloc_func_Aux) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods getField :: Ptr SDL_realloc_func_Aux -> Ptr ty # | |||||
| type Rep SDL_realloc_func_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc type Rep SDL_realloc_func_Aux = D1 ('MetaData "SDL_realloc_func_Aux" "SDL3.Sys.Bindgen.Stdinc" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_realloc_func_Aux" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Ptr Void -> CSize -> IO (Ptr Void))))) | |||||
| type CFieldType SDL_realloc_func_Aux "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
newtype SDL_realloc_func Source #
A callback used to implement SDL_realloc().
SDL will always ensure that the passed size is greater than 0.
mem- a pointer to allocated memory to reallocate, or NULL.
size- the new size of the memory.
- Returns
- a pointer to the newly allocated memory, or NULL if allocation failed.
- Thread safety
- It should be safe to call this callback from any thread.
- See also
- SDL_realloc,
sDL_GetOriginalMemoryFunctions,sDL_GetMemoryFunctions,sDL_SetMemoryFunctions - C declaration
SDL_realloc_func, defined atSDL3/SDL_stdinc.h 1488:25
Since: 3.2.0
Constructors
| SDL_realloc_func | |
Fields | |
Instances
| Storable SDL_realloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods sizeOf :: SDL_realloc_func -> Int # alignment :: SDL_realloc_func -> Int # peekElemOff :: Ptr SDL_realloc_func -> Int -> IO SDL_realloc_func # pokeElemOff :: Ptr SDL_realloc_func -> Int -> SDL_realloc_func -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_realloc_func # pokeByteOff :: Ptr b -> Int -> SDL_realloc_func -> IO () # peek :: Ptr SDL_realloc_func -> IO SDL_realloc_func # poke :: Ptr SDL_realloc_func -> SDL_realloc_func -> IO () # | |||||
| Generic SDL_realloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
Methods from :: SDL_realloc_func -> Rep SDL_realloc_func x # to :: Rep SDL_realloc_func x -> SDL_realloc_func # | |||||
| Show SDL_realloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods showsPrec :: Int -> SDL_realloc_func -> ShowS # show :: SDL_realloc_func -> String # showList :: [SDL_realloc_func] -> ShowS # | |||||
| Eq SDL_realloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods (==) :: SDL_realloc_func -> SDL_realloc_func -> Bool # (/=) :: SDL_realloc_func -> SDL_realloc_func -> Bool # | |||||
| Ord SDL_realloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods compare :: SDL_realloc_func -> SDL_realloc_func -> Ordering # (<) :: SDL_realloc_func -> SDL_realloc_func -> Bool # (<=) :: SDL_realloc_func -> SDL_realloc_func -> Bool # (>) :: SDL_realloc_func -> SDL_realloc_func -> Bool # (>=) :: SDL_realloc_func -> SDL_realloc_func -> Bool # max :: SDL_realloc_func -> SDL_realloc_func -> SDL_realloc_func # min :: SDL_realloc_func -> SDL_realloc_func -> SDL_realloc_func # | |||||
| HasFFIType SDL_realloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
Methods toFFIType :: SDL_realloc_func -> FFIType SDL_realloc_func # fromFFIType :: FFIType SDL_realloc_func -> SDL_realloc_func # | |||||
| ReadRaw SDL_realloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods | |||||
| StaticSize SDL_realloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods staticSizeOf :: Proxy SDL_realloc_func -> Int # staticAlignment :: Proxy SDL_realloc_func -> Int # | |||||
| WriteRaw SDL_realloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods writeRaw :: Ptr SDL_realloc_func -> SDL_realloc_func -> IO () # | |||||
| HasCField SDL_realloc_func "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| ty ~ FunPtr SDL_realloc_func_Aux => HasField "unwrap" SDL_realloc_func ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods hasField :: SDL_realloc_func -> (ty -> SDL_realloc_func, ty) # | |||||
| ty ~ FunPtr SDL_realloc_func_Aux => HasField "unwrap" (Ptr SDL_realloc_func) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods getField :: Ptr SDL_realloc_func -> Ptr ty # | |||||
| type Rep SDL_realloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc type Rep SDL_realloc_func = D1 ('MetaData "SDL_realloc_func" "SDL3.Sys.Bindgen.Stdinc" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_realloc_func" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (FunPtr SDL_realloc_func_Aux)))) | |||||
| type FFIType SDL_realloc_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| type CFieldType SDL_realloc_func "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
newtype SDL_free_func_Aux Source #
Auxiliary type used by SDL_free_func
- C declaration
SDL_free_func, defined atSDL3/SDL_stdinc.h 1506:24
Constructors
| SDL_free_func_Aux | |
Instances
| Generic SDL_free_func_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
Methods from :: SDL_free_func_Aux -> Rep SDL_free_func_Aux x # to :: Rep SDL_free_func_Aux x -> SDL_free_func_Aux # | |||||
| FromFunPtr SDL_free_func_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods fromFunPtr :: FunPtr SDL_free_func_Aux -> SDL_free_func_Aux # | |||||
| ToFunPtr SDL_free_func_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods toFunPtr :: SDL_free_func_Aux -> IO (FunPtr SDL_free_func_Aux) # | |||||
| HasCField SDL_free_func_Aux "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| ty ~ (Ptr Void -> IO ()) => HasField "unwrap" SDL_free_func_Aux ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods hasField :: SDL_free_func_Aux -> (ty -> SDL_free_func_Aux, ty) # | |||||
| ty ~ (Ptr Void -> IO ()) => HasField "unwrap" (Ptr SDL_free_func_Aux) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods getField :: Ptr SDL_free_func_Aux -> Ptr ty # | |||||
| type Rep SDL_free_func_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc type Rep SDL_free_func_Aux = D1 ('MetaData "SDL_free_func_Aux" "SDL3.Sys.Bindgen.Stdinc" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_free_func_Aux" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Ptr Void -> IO ())))) | |||||
| type CFieldType SDL_free_func_Aux "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
newtype SDL_free_func Source #
A callback used to implement SDL_free().
SDL will always ensure that the passed mem is a non-NULL pointer.
mem- a pointer to allocated memory.
- Thread safety
- It should be safe to call this callback from any thread.
- See also
sDL_free,sDL_GetOriginalMemoryFunctions,sDL_GetMemoryFunctions,sDL_SetMemoryFunctions- C declaration
SDL_free_func, defined atSDL3/SDL_stdinc.h 1506:24
Since: 3.2.0
Constructors
| SDL_free_func | |
Fields | |
Instances
| Storable SDL_free_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods sizeOf :: SDL_free_func -> Int # alignment :: SDL_free_func -> Int # peekElemOff :: Ptr SDL_free_func -> Int -> IO SDL_free_func # pokeElemOff :: Ptr SDL_free_func -> Int -> SDL_free_func -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_free_func # pokeByteOff :: Ptr b -> Int -> SDL_free_func -> IO () # peek :: Ptr SDL_free_func -> IO SDL_free_func # poke :: Ptr SDL_free_func -> SDL_free_func -> IO () # | |||||
| Generic SDL_free_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| Show SDL_free_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods showsPrec :: Int -> SDL_free_func -> ShowS # show :: SDL_free_func -> String # showList :: [SDL_free_func] -> ShowS # | |||||
| Eq SDL_free_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods (==) :: SDL_free_func -> SDL_free_func -> Bool # (/=) :: SDL_free_func -> SDL_free_func -> Bool # | |||||
| Ord SDL_free_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods compare :: SDL_free_func -> SDL_free_func -> Ordering # (<) :: SDL_free_func -> SDL_free_func -> Bool # (<=) :: SDL_free_func -> SDL_free_func -> Bool # (>) :: SDL_free_func -> SDL_free_func -> Bool # (>=) :: SDL_free_func -> SDL_free_func -> Bool # max :: SDL_free_func -> SDL_free_func -> SDL_free_func # min :: SDL_free_func -> SDL_free_func -> SDL_free_func # | |||||
| HasFFIType SDL_free_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
Methods | |||||
| ReadRaw SDL_free_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods readRaw :: Ptr SDL_free_func -> IO SDL_free_func # | |||||
| StaticSize SDL_free_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| WriteRaw SDL_free_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods writeRaw :: Ptr SDL_free_func -> SDL_free_func -> IO () # | |||||
| HasCField SDL_free_func "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| ty ~ FunPtr SDL_free_func_Aux => HasField "unwrap" SDL_free_func ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods hasField :: SDL_free_func -> (ty -> SDL_free_func, ty) # | |||||
| ty ~ FunPtr SDL_free_func_Aux => HasField "unwrap" (Ptr SDL_free_func) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods getField :: Ptr SDL_free_func -> Ptr ty # | |||||
| type Rep SDL_free_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc type Rep SDL_free_func = D1 ('MetaData "SDL_free_func" "SDL3.Sys.Bindgen.Stdinc" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_free_func" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (FunPtr SDL_free_func_Aux)))) | |||||
| type FFIType SDL_free_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| type CFieldType SDL_free_func "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
data SDL_Environment Source #
A thread-safe set of environment variables
- See also
sDL_GetEnvironment,sDL_CreateEnvironment,sDL_GetEnvironmentVariable,sDL_GetEnvironmentVariables,sDL_SetEnvironmentVariable,sDL_UnsetEnvironmentVariable,sDL_DestroyEnvironment- C declaration
struct SDL_Environment, defined atSDL3/SDL_stdinc.h 1650:16
Since: 3.2.0
newtype SDL_CompareCallback_Aux Source #
Auxiliary type used by SDL_CompareCallback
- C declaration
SDL_CompareCallback, defined atSDL3/SDL_stdinc.h 1885:23
Instances
| Generic SDL_CompareCallback_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
Methods from :: SDL_CompareCallback_Aux -> Rep SDL_CompareCallback_Aux x # to :: Rep SDL_CompareCallback_Aux x -> SDL_CompareCallback_Aux # | |||||
| FromFunPtr SDL_CompareCallback_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods fromFunPtr :: FunPtr SDL_CompareCallback_Aux -> SDL_CompareCallback_Aux # | |||||
| ToFunPtr SDL_CompareCallback_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods toFunPtr :: SDL_CompareCallback_Aux -> IO (FunPtr SDL_CompareCallback_Aux) # | |||||
| HasCField SDL_CompareCallback_Aux "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| ty ~ (PtrConst Void -> PtrConst Void -> IO CInt) => HasField "unwrap" SDL_CompareCallback_Aux ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods hasField :: SDL_CompareCallback_Aux -> (ty -> SDL_CompareCallback_Aux, ty) # | |||||
| ty ~ (PtrConst Void -> PtrConst Void -> IO CInt) => HasField "unwrap" (Ptr SDL_CompareCallback_Aux) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods getField :: Ptr SDL_CompareCallback_Aux -> Ptr ty # | |||||
| type Rep SDL_CompareCallback_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc type Rep SDL_CompareCallback_Aux = D1 ('MetaData "SDL_CompareCallback_Aux" "SDL3.Sys.Bindgen.Stdinc" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_CompareCallback_Aux" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PtrConst Void -> PtrConst Void -> IO CInt)))) | |||||
| type CFieldType SDL_CompareCallback_Aux "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
newtype SDL_CompareCallback Source #
A callback used with SDL sorting and binary search functions.
a- a pointer to the first element being compared.
b- a pointer to the second element being compared.
- Returns
- -1 if
ashould be sorted beforeb, 1 ifbshould be sorted beforea, 0 if they are equal. If two elements are equal, their order in the sorted array is undefined. - See also
sDL_bsearch,sDL_qsort- C declaration
SDL_CompareCallback, defined atSDL3/SDL_stdinc.h 1885:23
Since: 3.2.0
Constructors
| SDL_CompareCallback | |
Fields | |
Instances
| Storable SDL_CompareCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods sizeOf :: SDL_CompareCallback -> Int # alignment :: SDL_CompareCallback -> Int # peekElemOff :: Ptr SDL_CompareCallback -> Int -> IO SDL_CompareCallback # pokeElemOff :: Ptr SDL_CompareCallback -> Int -> SDL_CompareCallback -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_CompareCallback # pokeByteOff :: Ptr b -> Int -> SDL_CompareCallback -> IO () # peek :: Ptr SDL_CompareCallback -> IO SDL_CompareCallback # poke :: Ptr SDL_CompareCallback -> SDL_CompareCallback -> IO () # | |||||
| Generic SDL_CompareCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
Methods from :: SDL_CompareCallback -> Rep SDL_CompareCallback x # to :: Rep SDL_CompareCallback x -> SDL_CompareCallback # | |||||
| Show SDL_CompareCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods showsPrec :: Int -> SDL_CompareCallback -> ShowS # show :: SDL_CompareCallback -> String # showList :: [SDL_CompareCallback] -> ShowS # | |||||
| Eq SDL_CompareCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods (==) :: SDL_CompareCallback -> SDL_CompareCallback -> Bool # (/=) :: SDL_CompareCallback -> SDL_CompareCallback -> Bool # | |||||
| Ord SDL_CompareCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods compare :: SDL_CompareCallback -> SDL_CompareCallback -> Ordering # (<) :: SDL_CompareCallback -> SDL_CompareCallback -> Bool # (<=) :: SDL_CompareCallback -> SDL_CompareCallback -> Bool # (>) :: SDL_CompareCallback -> SDL_CompareCallback -> Bool # (>=) :: SDL_CompareCallback -> SDL_CompareCallback -> Bool # max :: SDL_CompareCallback -> SDL_CompareCallback -> SDL_CompareCallback # min :: SDL_CompareCallback -> SDL_CompareCallback -> SDL_CompareCallback # | |||||
| HasFFIType SDL_CompareCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| ReadRaw SDL_CompareCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods readRaw :: Ptr SDL_CompareCallback -> IO SDL_CompareCallback # | |||||
| StaticSize SDL_CompareCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods staticSizeOf :: Proxy SDL_CompareCallback -> Int # | |||||
| WriteRaw SDL_CompareCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods writeRaw :: Ptr SDL_CompareCallback -> SDL_CompareCallback -> IO () # | |||||
| HasCField SDL_CompareCallback "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| ty ~ FunPtr SDL_CompareCallback_Aux => HasField "unwrap" SDL_CompareCallback ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods hasField :: SDL_CompareCallback -> (ty -> SDL_CompareCallback, ty) # | |||||
| ty ~ FunPtr SDL_CompareCallback_Aux => HasField "unwrap" (Ptr SDL_CompareCallback) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods getField :: Ptr SDL_CompareCallback -> Ptr ty # | |||||
| type Rep SDL_CompareCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc type Rep SDL_CompareCallback = D1 ('MetaData "SDL_CompareCallback" "SDL3.Sys.Bindgen.Stdinc" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_CompareCallback" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (FunPtr SDL_CompareCallback_Aux)))) | |||||
| type FFIType SDL_CompareCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| type CFieldType SDL_CompareCallback "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
newtype SDL_CompareCallback_r_Aux Source #
Auxiliary type used by SDL_CompareCallback_r
- C declaration
SDL_CompareCallback_r, defined atSDL3/SDL_stdinc.h 1998:23
Constructors
| SDL_CompareCallback_r_Aux | |
Instances
| Generic SDL_CompareCallback_r_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
Methods from :: SDL_CompareCallback_r_Aux -> Rep SDL_CompareCallback_r_Aux x # to :: Rep SDL_CompareCallback_r_Aux x -> SDL_CompareCallback_r_Aux # | |||||
| FromFunPtr SDL_CompareCallback_r_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods fromFunPtr :: FunPtr SDL_CompareCallback_r_Aux -> SDL_CompareCallback_r_Aux # | |||||
| ToFunPtr SDL_CompareCallback_r_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods toFunPtr :: SDL_CompareCallback_r_Aux -> IO (FunPtr SDL_CompareCallback_r_Aux) # | |||||
| HasCField SDL_CompareCallback_r_Aux "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| ty ~ (Ptr Void -> PtrConst Void -> PtrConst Void -> IO CInt) => HasField "unwrap" SDL_CompareCallback_r_Aux ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods hasField :: SDL_CompareCallback_r_Aux -> (ty -> SDL_CompareCallback_r_Aux, ty) # | |||||
| ty ~ (Ptr Void -> PtrConst Void -> PtrConst Void -> IO CInt) => HasField "unwrap" (Ptr SDL_CompareCallback_r_Aux) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods getField :: Ptr SDL_CompareCallback_r_Aux -> Ptr ty # | |||||
| type Rep SDL_CompareCallback_r_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc type Rep SDL_CompareCallback_r_Aux = D1 ('MetaData "SDL_CompareCallback_r_Aux" "SDL3.Sys.Bindgen.Stdinc" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_CompareCallback_r_Aux" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Ptr Void -> PtrConst Void -> PtrConst Void -> IO CInt)))) | |||||
| type CFieldType SDL_CompareCallback_r_Aux "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc type CFieldType SDL_CompareCallback_r_Aux "unwrap" = Ptr Void -> PtrConst Void -> PtrConst Void -> IO CInt | |||||
newtype SDL_CompareCallback_r Source #
A callback used with SDL sorting and binary search functions.
userdata- the
userdatapointer passed to the sort function. a- a pointer to the first element being compared.
b- a pointer to the second element being compared.
- Returns
- -1 if
ashould be sorted beforeb, 1 ifbshould be sorted beforea, 0 if they are equal. If two elements are equal, their order in the sorted array is undefined. - See also
sDL_qsort_r,sDL_bsearch_r- C declaration
SDL_CompareCallback_r, defined atSDL3/SDL_stdinc.h 1998:23
Since: 3.2.0
Constructors
| SDL_CompareCallback_r | |
Fields | |
Instances
| Storable SDL_CompareCallback_r Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods sizeOf :: SDL_CompareCallback_r -> Int # alignment :: SDL_CompareCallback_r -> Int # peekElemOff :: Ptr SDL_CompareCallback_r -> Int -> IO SDL_CompareCallback_r # pokeElemOff :: Ptr SDL_CompareCallback_r -> Int -> SDL_CompareCallback_r -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_CompareCallback_r # pokeByteOff :: Ptr b -> Int -> SDL_CompareCallback_r -> IO () # peek :: Ptr SDL_CompareCallback_r -> IO SDL_CompareCallback_r # poke :: Ptr SDL_CompareCallback_r -> SDL_CompareCallback_r -> IO () # | |||||
| Generic SDL_CompareCallback_r Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
Methods from :: SDL_CompareCallback_r -> Rep SDL_CompareCallback_r x # to :: Rep SDL_CompareCallback_r x -> SDL_CompareCallback_r # | |||||
| Show SDL_CompareCallback_r Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods showsPrec :: Int -> SDL_CompareCallback_r -> ShowS # show :: SDL_CompareCallback_r -> String # showList :: [SDL_CompareCallback_r] -> ShowS # | |||||
| Eq SDL_CompareCallback_r Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods (==) :: SDL_CompareCallback_r -> SDL_CompareCallback_r -> Bool # (/=) :: SDL_CompareCallback_r -> SDL_CompareCallback_r -> Bool # | |||||
| Ord SDL_CompareCallback_r Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods compare :: SDL_CompareCallback_r -> SDL_CompareCallback_r -> Ordering # (<) :: SDL_CompareCallback_r -> SDL_CompareCallback_r -> Bool # (<=) :: SDL_CompareCallback_r -> SDL_CompareCallback_r -> Bool # (>) :: SDL_CompareCallback_r -> SDL_CompareCallback_r -> Bool # (>=) :: SDL_CompareCallback_r -> SDL_CompareCallback_r -> Bool # max :: SDL_CompareCallback_r -> SDL_CompareCallback_r -> SDL_CompareCallback_r # min :: SDL_CompareCallback_r -> SDL_CompareCallback_r -> SDL_CompareCallback_r # | |||||
| HasFFIType SDL_CompareCallback_r Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| ReadRaw SDL_CompareCallback_r Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods readRaw :: Ptr SDL_CompareCallback_r -> IO SDL_CompareCallback_r # | |||||
| StaticSize SDL_CompareCallback_r Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods | |||||
| WriteRaw SDL_CompareCallback_r Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods writeRaw :: Ptr SDL_CompareCallback_r -> SDL_CompareCallback_r -> IO () # | |||||
| HasCField SDL_CompareCallback_r "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| ty ~ FunPtr SDL_CompareCallback_r_Aux => HasField "unwrap" SDL_CompareCallback_r ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods hasField :: SDL_CompareCallback_r -> (ty -> SDL_CompareCallback_r, ty) # | |||||
| ty ~ FunPtr SDL_CompareCallback_r_Aux => HasField "unwrap" (Ptr SDL_CompareCallback_r) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods getField :: Ptr SDL_CompareCallback_r -> Ptr ty # | |||||
| type Rep SDL_CompareCallback_r Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc type Rep SDL_CompareCallback_r = D1 ('MetaData "SDL_CompareCallback_r" "SDL3.Sys.Bindgen.Stdinc" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_CompareCallback_r" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (FunPtr SDL_CompareCallback_r_Aux)))) | |||||
| type FFIType SDL_CompareCallback_r Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| type CFieldType SDL_CompareCallback_r "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
sDL_INVALID_UNICODE_CODEPOINT :: CInt Source #
The Unicode REPLACEMENT CHARACTER codepoint.
SDL_StepUTF8() and SDL_StepBackUTF8() report this codepoint when they encounter a UTF-8 string with encoding errors.
This tends to render as something like a question mark in most places.
- See also
sDL_StepBackUTF8,sDL_StepUTF8- C declaration
macro SDL_INVALID_UNICODE_CODEPOINT, defined atSDL3/SDL_stdinc.h 3985:9
Since: 3.2.0
The value of Pi, as a double-precision floating point literal.
- See also
sDL_PI_Fpi (double)- C declaration
macro SDL_PI_D, defined atSDL3/SDL_stdinc.h 4480:9
Since: 3.2.0
The value of Pi, as a single-precision floating point literal.
- See also
sDL_PI_Dpi (float)- C declaration
macro SDL_PI_F, defined atSDL3/SDL_stdinc.h 4492:9
Since: 3.2.0
data SDL_iconv_data_t Source #
- C declaration
struct SDL_iconv_data_t, defined atSDL3/SDL_stdinc.h 5815:16
newtype SDL_iconv_t Source #
An opaque handle representing string encoding conversion state.
- See also
sDL_iconv_open- C declaration
SDL_iconv_t, defined atSDL3/SDL_stdinc.h 5815:34
Since: 3.2.0
Constructors
| SDL_iconv_t | |
Fields | |
Instances
| Storable SDL_iconv_t Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods sizeOf :: SDL_iconv_t -> Int # alignment :: SDL_iconv_t -> Int # peekElemOff :: Ptr SDL_iconv_t -> Int -> IO SDL_iconv_t # pokeElemOff :: Ptr SDL_iconv_t -> Int -> SDL_iconv_t -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_iconv_t # pokeByteOff :: Ptr b -> Int -> SDL_iconv_t -> IO () # peek :: Ptr SDL_iconv_t -> IO SDL_iconv_t # poke :: Ptr SDL_iconv_t -> SDL_iconv_t -> IO () # | |||||
| Generic SDL_iconv_t Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| Show SDL_iconv_t Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods showsPrec :: Int -> SDL_iconv_t -> ShowS # show :: SDL_iconv_t -> String # showList :: [SDL_iconv_t] -> ShowS # | |||||
| Eq SDL_iconv_t Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| Ord SDL_iconv_t Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods compare :: SDL_iconv_t -> SDL_iconv_t -> Ordering # (<) :: SDL_iconv_t -> SDL_iconv_t -> Bool # (<=) :: SDL_iconv_t -> SDL_iconv_t -> Bool # (>) :: SDL_iconv_t -> SDL_iconv_t -> Bool # (>=) :: SDL_iconv_t -> SDL_iconv_t -> Bool # max :: SDL_iconv_t -> SDL_iconv_t -> SDL_iconv_t # min :: SDL_iconv_t -> SDL_iconv_t -> SDL_iconv_t # | |||||
| HasFFIType SDL_iconv_t Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
Methods toFFIType :: SDL_iconv_t -> FFIType SDL_iconv_t # | |||||
| ReadRaw SDL_iconv_t Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods readRaw :: Ptr SDL_iconv_t -> IO SDL_iconv_t # | |||||
| StaticSize SDL_iconv_t Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| WriteRaw SDL_iconv_t Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods writeRaw :: Ptr SDL_iconv_t -> SDL_iconv_t -> IO () # | |||||
| HasCField SDL_iconv_t "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| ty ~ Ptr SDL_iconv_data_t => HasField "unwrap" SDL_iconv_t ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods hasField :: SDL_iconv_t -> (ty -> SDL_iconv_t, ty) # | |||||
| ty ~ Ptr SDL_iconv_data_t => HasField "unwrap" (Ptr SDL_iconv_t) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods getField :: Ptr SDL_iconv_t -> Ptr ty # | |||||
| type Rep SDL_iconv_t Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc type Rep SDL_iconv_t = D1 ('MetaData "SDL_iconv_t" "SDL3.Sys.Bindgen.Stdinc" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_iconv_t" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Ptr SDL_iconv_data_t)))) | |||||
| type FFIType SDL_iconv_t Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| type CFieldType SDL_iconv_t "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
newtype SDL_FunctionPointer_Aux Source #
Auxiliary type used by SDL_FunctionPointer
- C declaration
SDL_FunctionPointer, defined atSDL3/SDL_stdinc.h 6177:16
Constructors
| SDL_FunctionPointer_Aux | |
Instances
| Generic SDL_FunctionPointer_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
Methods from :: SDL_FunctionPointer_Aux -> Rep SDL_FunctionPointer_Aux x # to :: Rep SDL_FunctionPointer_Aux x -> SDL_FunctionPointer_Aux # | |||||
| FromFunPtr SDL_FunctionPointer_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods fromFunPtr :: FunPtr SDL_FunctionPointer_Aux -> SDL_FunctionPointer_Aux # | |||||
| ToFunPtr SDL_FunctionPointer_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods toFunPtr :: SDL_FunctionPointer_Aux -> IO (FunPtr SDL_FunctionPointer_Aux) # | |||||
| HasCField SDL_FunctionPointer_Aux "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| ty ~ IO () => HasField "unwrap" SDL_FunctionPointer_Aux ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods hasField :: SDL_FunctionPointer_Aux -> (ty -> SDL_FunctionPointer_Aux, ty) # | |||||
| ty ~ IO () => HasField "unwrap" (Ptr SDL_FunctionPointer_Aux) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods getField :: Ptr SDL_FunctionPointer_Aux -> Ptr ty # | |||||
| type Rep SDL_FunctionPointer_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc type Rep SDL_FunctionPointer_Aux = D1 ('MetaData "SDL_FunctionPointer_Aux" "SDL3.Sys.Bindgen.Stdinc" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_FunctionPointer_Aux" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (IO ())))) | |||||
| type CFieldType SDL_FunctionPointer_Aux "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
newtype SDL_FunctionPointer Source #
- C declaration
SDL_FunctionPointer, defined atSDL3/SDL_stdinc.h 6177:16
Constructors
| SDL_FunctionPointer | |
Fields | |
Instances
| Storable SDL_FunctionPointer Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods sizeOf :: SDL_FunctionPointer -> Int # alignment :: SDL_FunctionPointer -> Int # peekElemOff :: Ptr SDL_FunctionPointer -> Int -> IO SDL_FunctionPointer # pokeElemOff :: Ptr SDL_FunctionPointer -> Int -> SDL_FunctionPointer -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_FunctionPointer # pokeByteOff :: Ptr b -> Int -> SDL_FunctionPointer -> IO () # peek :: Ptr SDL_FunctionPointer -> IO SDL_FunctionPointer # poke :: Ptr SDL_FunctionPointer -> SDL_FunctionPointer -> IO () # | |||||
| Generic SDL_FunctionPointer Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
Methods from :: SDL_FunctionPointer -> Rep SDL_FunctionPointer x # to :: Rep SDL_FunctionPointer x -> SDL_FunctionPointer # | |||||
| Show SDL_FunctionPointer Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods showsPrec :: Int -> SDL_FunctionPointer -> ShowS # show :: SDL_FunctionPointer -> String # showList :: [SDL_FunctionPointer] -> ShowS # | |||||
| Eq SDL_FunctionPointer Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods (==) :: SDL_FunctionPointer -> SDL_FunctionPointer -> Bool # (/=) :: SDL_FunctionPointer -> SDL_FunctionPointer -> Bool # | |||||
| Ord SDL_FunctionPointer Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods compare :: SDL_FunctionPointer -> SDL_FunctionPointer -> Ordering # (<) :: SDL_FunctionPointer -> SDL_FunctionPointer -> Bool # (<=) :: SDL_FunctionPointer -> SDL_FunctionPointer -> Bool # (>) :: SDL_FunctionPointer -> SDL_FunctionPointer -> Bool # (>=) :: SDL_FunctionPointer -> SDL_FunctionPointer -> Bool # max :: SDL_FunctionPointer -> SDL_FunctionPointer -> SDL_FunctionPointer # min :: SDL_FunctionPointer -> SDL_FunctionPointer -> SDL_FunctionPointer # | |||||
| HasFFIType SDL_FunctionPointer Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| ReadRaw SDL_FunctionPointer Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods readRaw :: Ptr SDL_FunctionPointer -> IO SDL_FunctionPointer # | |||||
| StaticSize SDL_FunctionPointer Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods staticSizeOf :: Proxy SDL_FunctionPointer -> Int # | |||||
| WriteRaw SDL_FunctionPointer Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods writeRaw :: Ptr SDL_FunctionPointer -> SDL_FunctionPointer -> IO () # | |||||
| HasCField SDL_FunctionPointer "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Associated Types
| |||||
| ty ~ FunPtr SDL_FunctionPointer_Aux => HasField "unwrap" SDL_FunctionPointer ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods hasField :: SDL_FunctionPointer -> (ty -> SDL_FunctionPointer, ty) # | |||||
| ty ~ FunPtr SDL_FunctionPointer_Aux => HasField "unwrap" (Ptr SDL_FunctionPointer) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc Methods getField :: Ptr SDL_FunctionPointer -> Ptr ty # | |||||
| type Rep SDL_FunctionPointer Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc type Rep SDL_FunctionPointer = D1 ('MetaData "SDL_FunctionPointer" "SDL3.Sys.Bindgen.Stdinc" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_FunctionPointer" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (FunPtr SDL_FunctionPointer_Aux)))) | |||||
| type FFIType SDL_FunctionPointer Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||
| type CFieldType SDL_FunctionPointer "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Stdinc | |||||