sdl2-2.5.2.0: Both high- and low-level bindings to the SDL library (version 2.0.6+).
Safe HaskellSafe
LanguageHaskell2010

SDL.Raw.Types

Synopsis

Type Aliases

Function Types

type VkGetInstanceProcAddrFunc = VkInstance -> CString -> IO (FunPtr ()) Source #

type AudioCallback = FunPtr (Ptr () -> Ptr Word8 -> CInt -> IO ()) Source #

type EventFilter = FunPtr (Ptr () -> Ptr Event -> IO CInt) Source #

type HintCallback = FunPtr (Ptr () -> CString -> CString -> CString -> IO ()) Source #

type LogOutputFunction = FunPtr (Ptr () -> CInt -> LogPriority -> CString -> IO ()) Source #

type ThreadFunction = FunPtr (Ptr () -> IO CInt) Source #

type TimerCallback = FunPtr (Word32 -> Ptr () -> IO Word32) Source #

mkAudioCallback :: (Ptr () -> Ptr Word8 -> CInt -> IO ()) -> IO AudioCallback Source #

The storage associated with the resulting FunPtr has to be released with freeHaskellFunPtr when it is no longer required.

mkEventFilter :: (Ptr () -> Ptr Event -> IO CInt) -> IO EventFilter Source #

The storage associated with the resulting FunPtr has to be released with freeHaskellFunPtr when it is no longer required.

mkHintCallback :: (Ptr () -> CString -> CString -> CString -> IO ()) -> IO HintCallback Source #

The storage associated with the resulting FunPtr has to be released with freeHaskellFunPtr when it is no longer required.

mkLogOutputFunction :: (Ptr () -> CInt -> LogPriority -> CString -> IO ()) -> IO LogOutputFunction Source #

The storage associated with the resulting FunPtr has to be released with freeHaskellFunPtr when it is no longer required.

mkThreadFunction :: (Ptr () -> IO CInt) -> IO ThreadFunction Source #

The storage associated with the resulting FunPtr has to be released with freeHaskellFunPtr when it is no longer required.

mkTimerCallback :: (Word32 -> Ptr () -> IO Word32) -> IO TimerCallback Source #

The storage associated with the resulting FunPtr has to be released with freeHaskellFunPtr when it is no longer required.

Common Types

type AudioDeviceID = Word32 Source #

type AudioFormat = Word16 Source #

type Cond = Ptr () Source #

type Cursor = Ptr () Source #

type FingerID = Int64 Source #

type GameController = Ptr () Source #

type GestureID = Int64 Source #

type GLContext = Ptr () Source #

type Haptic = Ptr () Source #

type Joystick = Ptr () Source #

type JoystickID = Int32 Source #

type Mutex = Ptr () Source #

type Renderer = Ptr () Source #

type Sem = Ptr () Source #

type SpinLock = CInt Source #

type SysWMinfo = Ptr () Source #

type SysWMmsg = Ptr () Source #

type Texture = Ptr () Source #

type Thread = Ptr () Source #

type ThreadID = CULong Source #

type TimerID = CInt Source #

type TLSID = CUInt Source #

type TouchID = Int64 Source #

type VkInstance = Ptr () Source #

type VkSurfaceKHR = Word64 Source #

type Window = Ptr () Source #

Data Structures

data Atomic Source #

Constructors

Atomic 

Fields

Instances

Instances details
Eq Atomic Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: Atomic -> Atomic -> Bool

(/=) :: Atomic -> Atomic -> Bool

Show Atomic Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> Atomic -> ShowS

show :: Atomic -> String

showList :: [Atomic] -> ShowS

Storable Atomic Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: Atomic -> Int

alignment :: Atomic -> Int

peekElemOff :: Ptr Atomic -> Int -> IO Atomic

pokeElemOff :: Ptr Atomic -> Int -> Atomic -> IO ()

peekByteOff :: Ptr b -> Int -> IO Atomic

pokeByteOff :: Ptr b -> Int -> Atomic -> IO ()

peek :: Ptr Atomic -> IO Atomic

poke :: Ptr Atomic -> Atomic -> IO ()

data AudioCVT Source #

Constructors

AudioCVT 

Fields

Instances

Instances details
Eq AudioCVT Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: AudioCVT -> AudioCVT -> Bool

(/=) :: AudioCVT -> AudioCVT -> Bool

Show AudioCVT Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> AudioCVT -> ShowS

show :: AudioCVT -> String

showList :: [AudioCVT] -> ShowS

Storable AudioCVT Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: AudioCVT -> Int

alignment :: AudioCVT -> Int

peekElemOff :: Ptr AudioCVT -> Int -> IO AudioCVT

pokeElemOff :: Ptr AudioCVT -> Int -> AudioCVT -> IO ()

peekByteOff :: Ptr b -> Int -> IO AudioCVT

pokeByteOff :: Ptr b -> Int -> AudioCVT -> IO ()

peek :: Ptr AudioCVT -> IO AudioCVT

poke :: Ptr AudioCVT -> AudioCVT -> IO ()

data AudioSpec Source #

Constructors

AudioSpec 

Instances

Instances details
Eq AudioSpec Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: AudioSpec -> AudioSpec -> Bool

(/=) :: AudioSpec -> AudioSpec -> Bool

Show AudioSpec Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> AudioSpec -> ShowS

show :: AudioSpec -> String

showList :: [AudioSpec] -> ShowS

Storable AudioSpec Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: AudioSpec -> Int

alignment :: AudioSpec -> Int

peekElemOff :: Ptr AudioSpec -> Int -> IO AudioSpec

pokeElemOff :: Ptr AudioSpec -> Int -> AudioSpec -> IO ()

peekByteOff :: Ptr b -> Int -> IO AudioSpec

pokeByteOff :: Ptr b -> Int -> AudioSpec -> IO ()

peek :: Ptr AudioSpec -> IO AudioSpec

poke :: Ptr AudioSpec -> AudioSpec -> IO ()

data Color Source #

Constructors

Color 

Fields

Instances

Instances details
Eq Color Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: Color -> Color -> Bool

(/=) :: Color -> Color -> Bool

Show Color Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> Color -> ShowS

show :: Color -> String

showList :: [Color] -> ShowS

Storable Color Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: Color -> Int

alignment :: Color -> Int

peekElemOff :: Ptr Color -> Int -> IO Color

pokeElemOff :: Ptr Color -> Int -> Color -> IO ()

peekByteOff :: Ptr b -> Int -> IO Color

pokeByteOff :: Ptr b -> Int -> Color -> IO ()

peek :: Ptr Color -> IO Color

poke :: Ptr Color -> Color -> IO ()

data DisplayMode Source #

Constructors

DisplayMode 

Fields

Instances

Instances details
Eq DisplayMode Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: DisplayMode -> DisplayMode -> Bool

(/=) :: DisplayMode -> DisplayMode -> Bool

Show DisplayMode Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> DisplayMode -> ShowS

show :: DisplayMode -> String

showList :: [DisplayMode] -> ShowS

Storable DisplayMode Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: DisplayMode -> Int

alignment :: DisplayMode -> Int

peekElemOff :: Ptr DisplayMode -> Int -> IO DisplayMode

pokeElemOff :: Ptr DisplayMode -> Int -> DisplayMode -> IO ()

peekByteOff :: Ptr b -> Int -> IO DisplayMode

pokeByteOff :: Ptr b -> Int -> DisplayMode -> IO ()

peek :: Ptr DisplayMode -> IO DisplayMode

poke :: Ptr DisplayMode -> DisplayMode -> IO ()

data Event Source #

Constructors

WindowEvent 

Fields

KeyboardEvent 

Fields

TextEditingEvent 

Fields

TextInputEvent 

Fields

KeymapChangedEvent 

Fields

MouseMotionEvent 

Fields

MouseButtonEvent 

Fields

MouseWheelEvent 

Fields

JoyAxisEvent 

Fields

JoyBallEvent 

Fields

JoyHatEvent 

Fields

JoyButtonEvent 

Fields

JoyDeviceEvent 

Fields

ControllerAxisEvent 
ControllerButtonEvent 
ControllerDeviceEvent 

Fields

AudioDeviceEvent 

Fields

QuitEvent 

Fields

UserEvent 

Fields

SysWMEvent 

Fields

TouchFingerEvent 
MultiGestureEvent 
DollarGestureEvent 
DropEvent 

Fields

ClipboardUpdateEvent 

Fields

UnknownEvent 

Fields

Instances

Instances details
Eq Event Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: Event -> Event -> Bool

(/=) :: Event -> Event -> Bool

Show Event Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> Event -> ShowS

show :: Event -> String

showList :: [Event] -> ShowS

Storable Event Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: Event -> Int

alignment :: Event -> Int

peekElemOff :: Ptr Event -> Int -> IO Event

pokeElemOff :: Ptr Event -> Int -> Event -> IO ()

peekByteOff :: Ptr b -> Int -> IO Event

pokeByteOff :: Ptr b -> Int -> Event -> IO ()

peek :: Ptr Event -> IO Event

poke :: Ptr Event -> Event -> IO ()

data Finger Source #

Constructors

Finger 

Fields

Instances

Instances details
Eq Finger Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: Finger -> Finger -> Bool

(/=) :: Finger -> Finger -> Bool

Show Finger Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> Finger -> ShowS

show :: Finger -> String

showList :: [Finger] -> ShowS

Storable Finger Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: Finger -> Int

alignment :: Finger -> Int

peekElemOff :: Ptr Finger -> Int -> IO Finger

pokeElemOff :: Ptr Finger -> Int -> Finger -> IO ()

peekByteOff :: Ptr b -> Int -> IO Finger

pokeByteOff :: Ptr b -> Int -> Finger -> IO ()

peek :: Ptr Finger -> IO Finger

poke :: Ptr Finger -> Finger -> IO ()

data HapticDirection Source #

Constructors

HapticDirection 

Fields

Instances

Instances details
Eq HapticDirection Source # 
Instance details

Defined in SDL.Raw.Types

Show HapticDirection Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> HapticDirection -> ShowS

show :: HapticDirection -> String

showList :: [HapticDirection] -> ShowS

Storable HapticDirection Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: HapticDirection -> Int

alignment :: HapticDirection -> Int

peekElemOff :: Ptr HapticDirection -> Int -> IO HapticDirection

pokeElemOff :: Ptr HapticDirection -> Int -> HapticDirection -> IO ()

peekByteOff :: Ptr b -> Int -> IO HapticDirection

pokeByteOff :: Ptr b -> Int -> HapticDirection -> IO ()

peek :: Ptr HapticDirection -> IO HapticDirection

poke :: Ptr HapticDirection -> HapticDirection -> IO ()

data HapticEffect Source #

Constructors

HapticConstant 
HapticPeriodic 
HapticCondition 
HapticRamp 

Fields

HapticLeftRight 
HapticCustom 

Instances

Instances details
Eq HapticEffect Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: HapticEffect -> HapticEffect -> Bool

(/=) :: HapticEffect -> HapticEffect -> Bool

Show HapticEffect Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> HapticEffect -> ShowS

show :: HapticEffect -> String

showList :: [HapticEffect] -> ShowS

Storable HapticEffect Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: HapticEffect -> Int

alignment :: HapticEffect -> Int

peekElemOff :: Ptr HapticEffect -> Int -> IO HapticEffect

pokeElemOff :: Ptr HapticEffect -> Int -> HapticEffect -> IO ()

peekByteOff :: Ptr b -> Int -> IO HapticEffect

pokeByteOff :: Ptr b -> Int -> HapticEffect -> IO ()

peek :: Ptr HapticEffect -> IO HapticEffect

poke :: Ptr HapticEffect -> HapticEffect -> IO ()

data JoystickGUID Source #

Constructors

JoystickGUID 

Fields

Instances

Instances details
Eq JoystickGUID Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: JoystickGUID -> JoystickGUID -> Bool

(/=) :: JoystickGUID -> JoystickGUID -> Bool

Show JoystickGUID Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> JoystickGUID -> ShowS

show :: JoystickGUID -> String

showList :: [JoystickGUID] -> ShowS

Storable JoystickGUID Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: JoystickGUID -> Int

alignment :: JoystickGUID -> Int

peekElemOff :: Ptr JoystickGUID -> Int -> IO JoystickGUID

pokeElemOff :: Ptr JoystickGUID -> Int -> JoystickGUID -> IO ()

peekByteOff :: Ptr b -> Int -> IO JoystickGUID

pokeByteOff :: Ptr b -> Int -> JoystickGUID -> IO ()

peek :: Ptr JoystickGUID -> IO JoystickGUID

poke :: Ptr JoystickGUID -> JoystickGUID -> IO ()

data Keysym Source #

Constructors

Keysym 

Instances

Instances details
Eq Keysym Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: Keysym -> Keysym -> Bool

(/=) :: Keysym -> Keysym -> Bool

Show Keysym Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> Keysym -> ShowS

show :: Keysym -> String

showList :: [Keysym] -> ShowS

Storable Keysym Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: Keysym -> Int

alignment :: Keysym -> Int

peekElemOff :: Ptr Keysym -> Int -> IO Keysym

pokeElemOff :: Ptr Keysym -> Int -> Keysym -> IO ()

peekByteOff :: Ptr b -> Int -> IO Keysym

pokeByteOff :: Ptr b -> Int -> Keysym -> IO ()

peek :: Ptr Keysym -> IO Keysym

poke :: Ptr Keysym -> Keysym -> IO ()

data MessageBoxColor Source #

Constructors

MessageBoxColor 

Fields

Instances

Instances details
Eq MessageBoxColor Source # 
Instance details

Defined in SDL.Raw.Types

Show MessageBoxColor Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> MessageBoxColor -> ShowS

show :: MessageBoxColor -> String

showList :: [MessageBoxColor] -> ShowS

Storable MessageBoxColor Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: MessageBoxColor -> Int

alignment :: MessageBoxColor -> Int

peekElemOff :: Ptr MessageBoxColor -> Int -> IO MessageBoxColor

pokeElemOff :: Ptr MessageBoxColor -> Int -> MessageBoxColor -> IO ()

peekByteOff :: Ptr b -> Int -> IO MessageBoxColor

pokeByteOff :: Ptr b -> Int -> MessageBoxColor -> IO ()

peek :: Ptr MessageBoxColor -> IO MessageBoxColor

poke :: Ptr MessageBoxColor -> MessageBoxColor -> IO ()

data MessageBoxData Source #

Instances

Instances details
Eq MessageBoxData Source # 
Instance details

Defined in SDL.Raw.Types

Show MessageBoxData Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> MessageBoxData -> ShowS

show :: MessageBoxData -> String

showList :: [MessageBoxData] -> ShowS

Storable MessageBoxData Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: MessageBoxData -> Int

alignment :: MessageBoxData -> Int

peekElemOff :: Ptr MessageBoxData -> Int -> IO MessageBoxData

pokeElemOff :: Ptr MessageBoxData -> Int -> MessageBoxData -> IO ()

peekByteOff :: Ptr b -> Int -> IO MessageBoxData

pokeByteOff :: Ptr b -> Int -> MessageBoxData -> IO ()

peek :: Ptr MessageBoxData -> IO MessageBoxData

poke :: Ptr MessageBoxData -> MessageBoxData -> IO ()

data Palette Source #

Constructors

Palette 

Fields

Instances

Instances details
Eq Palette Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: Palette -> Palette -> Bool

(/=) :: Palette -> Palette -> Bool

Show Palette Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> Palette -> ShowS

show :: Palette -> String

showList :: [Palette] -> ShowS

Storable Palette Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: Palette -> Int

alignment :: Palette -> Int

peekElemOff :: Ptr Palette -> Int -> IO Palette

pokeElemOff :: Ptr Palette -> Int -> Palette -> IO ()

peekByteOff :: Ptr b -> Int -> IO Palette

pokeByteOff :: Ptr b -> Int -> Palette -> IO ()

peek :: Ptr Palette -> IO Palette

poke :: Ptr Palette -> Palette -> IO ()

data PixelFormat Source #

Constructors

PixelFormat 

Fields

Instances

Instances details
Eq PixelFormat Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: PixelFormat -> PixelFormat -> Bool

(/=) :: PixelFormat -> PixelFormat -> Bool

Show PixelFormat Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> PixelFormat -> ShowS

show :: PixelFormat -> String

showList :: [PixelFormat] -> ShowS

Storable PixelFormat Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: PixelFormat -> Int

alignment :: PixelFormat -> Int

peekElemOff :: Ptr PixelFormat -> Int -> IO PixelFormat

pokeElemOff :: Ptr PixelFormat -> Int -> PixelFormat -> IO ()

peekByteOff :: Ptr b -> Int -> IO PixelFormat

pokeByteOff :: Ptr b -> Int -> PixelFormat -> IO ()

peek :: Ptr PixelFormat -> IO PixelFormat

poke :: Ptr PixelFormat -> PixelFormat -> IO ()

data Point Source #

Constructors

Point 

Fields

Instances

Instances details
Eq Point Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: Point -> Point -> Bool

(/=) :: Point -> Point -> Bool

Show Point Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> Point -> ShowS

show :: Point -> String

showList :: [Point] -> ShowS

Storable Point Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: Point -> Int

alignment :: Point -> Int

peekElemOff :: Ptr Point -> Int -> IO Point

pokeElemOff :: Ptr Point -> Int -> Point -> IO ()

peekByteOff :: Ptr b -> Int -> IO Point

pokeByteOff :: Ptr b -> Int -> Point -> IO ()

peek :: Ptr Point -> IO Point

poke :: Ptr Point -> Point -> IO ()

data Rect Source #

Constructors

Rect 

Fields

Instances

Instances details
Eq Rect Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: Rect -> Rect -> Bool

(/=) :: Rect -> Rect -> Bool

Show Rect Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> Rect -> ShowS

show :: Rect -> String

showList :: [Rect] -> ShowS

Storable Rect Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: Rect -> Int

alignment :: Rect -> Int

peekElemOff :: Ptr Rect -> Int -> IO Rect

pokeElemOff :: Ptr Rect -> Int -> Rect -> IO ()

peekByteOff :: Ptr b -> Int -> IO Rect

pokeByteOff :: Ptr b -> Int -> Rect -> IO ()

peek :: Ptr Rect -> IO Rect

poke :: Ptr Rect -> Rect -> IO ()

data RendererInfo Source #

Instances

Instances details
Eq RendererInfo Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: RendererInfo -> RendererInfo -> Bool

(/=) :: RendererInfo -> RendererInfo -> Bool

Show RendererInfo Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> RendererInfo -> ShowS

show :: RendererInfo -> String

showList :: [RendererInfo] -> ShowS

Storable RendererInfo Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: RendererInfo -> Int

alignment :: RendererInfo -> Int

peekElemOff :: Ptr RendererInfo -> Int -> IO RendererInfo

pokeElemOff :: Ptr RendererInfo -> Int -> RendererInfo -> IO ()

peekByteOff :: Ptr b -> Int -> IO RendererInfo

pokeByteOff :: Ptr b -> Int -> RendererInfo -> IO ()

peek :: Ptr RendererInfo -> IO RendererInfo

poke :: Ptr RendererInfo -> RendererInfo -> IO ()

data RWops Source #

Constructors

RWops 

Fields

Instances

Instances details
Eq RWops Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: RWops -> RWops -> Bool

(/=) :: RWops -> RWops -> Bool

Show RWops Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> RWops -> ShowS

show :: RWops -> String

showList :: [RWops] -> ShowS

Storable RWops Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: RWops -> Int

alignment :: RWops -> Int

peekElemOff :: Ptr RWops -> Int -> IO RWops

pokeElemOff :: Ptr RWops -> Int -> RWops -> IO ()

peekByteOff :: Ptr b -> Int -> IO RWops

pokeByteOff :: Ptr b -> Int -> RWops -> IO ()

peek :: Ptr RWops -> IO RWops

poke :: Ptr RWops -> RWops -> IO ()

data Surface Source #

Constructors

Surface 

Fields

Instances

Instances details
Eq Surface Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: Surface -> Surface -> Bool

(/=) :: Surface -> Surface -> Bool

Show Surface Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> Surface -> ShowS

show :: Surface -> String

showList :: [Surface] -> ShowS

Storable Surface Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: Surface -> Int

alignment :: Surface -> Int

peekElemOff :: Ptr Surface -> Int -> IO Surface

pokeElemOff :: Ptr Surface -> Int -> Surface -> IO ()

peekByteOff :: Ptr b -> Int -> IO Surface

pokeByteOff :: Ptr b -> Int -> Surface -> IO ()

peek :: Ptr Surface -> IO Surface

poke :: Ptr Surface -> Surface -> IO ()

data Version Source #

Constructors

Version 

Fields

Instances

Instances details
Eq Version Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: Version -> Version -> Bool

(/=) :: Version -> Version -> Bool

Show Version Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> Version -> ShowS

show :: Version -> String

showList :: [Version] -> ShowS

Storable Version Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: Version -> Int

alignment :: Version -> Int

peekElemOff :: Ptr Version -> Int -> IO Version

pokeElemOff :: Ptr Version -> Int -> Version -> IO ()

peekByteOff :: Ptr b -> Int -> IO Version

pokeByteOff :: Ptr b -> Int -> Version -> IO ()

peek :: Ptr Version -> IO Version

poke :: Ptr Version -> Version -> IO ()