Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- init :: MonadIO m => InitFlag -> m CInt
- initSubSystem :: MonadIO m => InitFlag -> m CInt
- quit :: MonadIO m => m ()
- quitSubSystem :: MonadIO m => InitFlag -> m ()
- setMainReady :: MonadIO m => m ()
- wasInit :: MonadIO m => InitFlag -> m InitFlag
- free :: MonadIO m => Ptr () -> m ()
- addHintCallback :: MonadIO m => CString -> HintCallback -> Ptr () -> m ()
- clearHints :: MonadIO m => m ()
- delHintCallback :: MonadIO m => CString -> HintCallback -> Ptr () -> m ()
- getHint :: MonadIO m => CString -> m CString
- setHint :: MonadIO m => CString -> CString -> m Bool
- setHintWithPriority :: MonadIO m => CString -> CString -> HintPriority -> m Bool
- log :: CString -> IO ()
- logCritical :: CInt -> CString -> IO ()
- logDebug :: CInt -> CString -> IO ()
- logError :: CInt -> CString -> IO ()
- logGetOutputFunction :: MonadIO m => Ptr LogOutputFunction -> Ptr (Ptr ()) -> m ()
- logGetPriority :: MonadIO m => CInt -> m LogPriority
- logInfo :: CInt -> CString -> IO ()
- logMessage :: MonadIO m => CInt -> LogPriority -> CString -> m ()
- logResetPriorities :: MonadIO m => m ()
- logSetAllPriority :: MonadIO m => LogPriority -> m ()
- logSetOutputFunction :: MonadIO m => LogOutputFunction -> Ptr () -> m ()
- logSetPriority :: MonadIO m => CInt -> LogPriority -> m ()
- logVerbose :: CInt -> CString -> IO ()
- logWarn :: CInt -> CString -> IO ()
- getRevision :: MonadIO m => m CString
- getRevisionNumber :: MonadIO m => m CInt
- getVersion :: MonadIO m => Ptr Version -> m ()
Initialization and Shutdown
quitSubSystem :: MonadIO m => InitFlag -> m () Source #
setMainReady :: MonadIO m => m () Source #
Memory Management
Configuration Variables
addHintCallback :: MonadIO m => CString -> HintCallback -> Ptr () -> m () Source #
clearHints :: MonadIO m => m () Source #
delHintCallback :: MonadIO m => CString -> HintCallback -> Ptr () -> m () Source #
setHintWithPriority :: MonadIO m => CString -> CString -> HintPriority -> m Bool Source #
Log Handling
logGetOutputFunction :: MonadIO m => Ptr LogOutputFunction -> Ptr (Ptr ()) -> m () Source #
logGetPriority :: MonadIO m => CInt -> m LogPriority Source #
logMessage :: MonadIO m => CInt -> LogPriority -> CString -> m () Source #
logResetPriorities :: MonadIO m => m () Source #
logSetAllPriority :: MonadIO m => LogPriority -> m () Source #
logSetOutputFunction :: MonadIO m => LogOutputFunction -> Ptr () -> m () Source #
logSetPriority :: MonadIO m => CInt -> LogPriority -> m () Source #
Assertions
Use Haskell's own assertion primitives rather than SDL's.
Querying SDL Version
getRevision :: MonadIO m => m CString Source #
getRevisionNumber :: MonadIO m => m CInt Source #