| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
SDL3.Sys.Bindgen.Log
Description
Simple log messages with priorities and categories. A message's SDL_LogPriority signifies how important the message is. A message's SDL_LogCategory signifies from what domain it belongs to. Every category has a minimum priority specified: when a message belongs to that category, it will only be sent out if it has that minimum priority or higher.
SDL's own logs are sent below the default priority threshold, so they are quiet by default.
You can change the log verbosity programmatically using SDL_SetLogPriority() or with SDL_SetHint(SDL_HINT_LOGGING, ...), or with the "SDL_LOGGING" environment variable. This variable is a comma separated set of category=level tokens that define the default logging levels for SDL applications.
The category can be a numeric category, one of "app", "error", "assert", "system", "audio", "video", "render", "input", "test", or * for any unspecified category.
The level can be a numeric level, one of "trace", "verbose", "debug", "info", "warn", "error", "critical", or "quiet" to disable that category.
You can omit the category if you want to set the logging level for all categories.
If this hint isn't set, the default log levels are equivalent to:
app=info,assert=warn,test=verbose,*=error
Here's where the messages go on different platforms:
- Windows: debug output stream
- Android: log output
- Others: standard error output (stderr)
You don't need to have a newline (\n) on the end of messages, the functions will do that for you. For consistent behavior cross-platform, you shouldn't have any newlines in messages, such as to log multiple lines in one call; unusual platform-specific behavior can be observed in such usage. Do one log call per line instead, with no newlines in messages.
Each log call is atomic, so you won't see log messages cut off one another when logging from multiple threads. The predefined log categories
By default the application and gpu categories are enabled at the INFO level, the assert category is enabled at the WARN level, test is enabled at the VERBOSE level and all other categories are enabled at the ERROR level.
Since: 3.2.0
Synopsis
- newtype SDL_LogCategory = SDL_LogCategory {}
- pattern SDL_LOG_CATEGORY_APPLICATION :: SDL_LogCategory
- pattern SDL_LOG_CATEGORY_ERROR :: SDL_LogCategory
- pattern SDL_LOG_CATEGORY_ASSERT :: SDL_LogCategory
- pattern SDL_LOG_CATEGORY_SYSTEM :: SDL_LogCategory
- pattern SDL_LOG_CATEGORY_AUDIO :: SDL_LogCategory
- pattern SDL_LOG_CATEGORY_VIDEO :: SDL_LogCategory
- pattern SDL_LOG_CATEGORY_RENDER :: SDL_LogCategory
- pattern SDL_LOG_CATEGORY_INPUT :: SDL_LogCategory
- pattern SDL_LOG_CATEGORY_TEST :: SDL_LogCategory
- pattern SDL_LOG_CATEGORY_GPU :: SDL_LogCategory
- pattern SDL_LOG_CATEGORY_RESERVED2 :: SDL_LogCategory
- pattern SDL_LOG_CATEGORY_RESERVED3 :: SDL_LogCategory
- pattern SDL_LOG_CATEGORY_RESERVED4 :: SDL_LogCategory
- pattern SDL_LOG_CATEGORY_RESERVED5 :: SDL_LogCategory
- pattern SDL_LOG_CATEGORY_RESERVED6 :: SDL_LogCategory
- pattern SDL_LOG_CATEGORY_RESERVED7 :: SDL_LogCategory
- pattern SDL_LOG_CATEGORY_RESERVED8 :: SDL_LogCategory
- pattern SDL_LOG_CATEGORY_RESERVED9 :: SDL_LogCategory
- pattern SDL_LOG_CATEGORY_RESERVED10 :: SDL_LogCategory
- pattern SDL_LOG_CATEGORY_CUSTOM :: SDL_LogCategory
- newtype SDL_LogPriority = SDL_LogPriority {}
- pattern SDL_LOG_PRIORITY_INVALID :: SDL_LogPriority
- pattern SDL_LOG_PRIORITY_TRACE :: SDL_LogPriority
- pattern SDL_LOG_PRIORITY_VERBOSE :: SDL_LogPriority
- pattern SDL_LOG_PRIORITY_DEBUG :: SDL_LogPriority
- pattern SDL_LOG_PRIORITY_INFO :: SDL_LogPriority
- pattern SDL_LOG_PRIORITY_WARN :: SDL_LogPriority
- pattern SDL_LOG_PRIORITY_ERROR :: SDL_LogPriority
- pattern SDL_LOG_PRIORITY_CRITICAL :: SDL_LogPriority
- pattern SDL_LOG_PRIORITY_COUNT :: SDL_LogPriority
- newtype SDL_LogOutputFunction_Aux = SDL_LogOutputFunction_Aux {}
- newtype SDL_LogOutputFunction = SDL_LogOutputFunction {}
Documentation
newtype SDL_LogCategory Source #
- C declaration
enum SDL_LogCategory, defined atSDL3/SDL_log.h 90:14
Constructors
| SDL_LogCategory | |
Instances
pattern SDL_LOG_CATEGORY_APPLICATION :: SDL_LogCategory Source #
- C declaration
SDL_LOG_CATEGORY_APPLICATION, defined atSDL3/SDL_log.h 92:5
pattern SDL_LOG_CATEGORY_ERROR :: SDL_LogCategory Source #
- C declaration
SDL_LOG_CATEGORY_ERROR, defined atSDL3/SDL_log.h 93:5
pattern SDL_LOG_CATEGORY_ASSERT :: SDL_LogCategory Source #
- C declaration
SDL_LOG_CATEGORY_ASSERT, defined atSDL3/SDL_log.h 94:5
pattern SDL_LOG_CATEGORY_SYSTEM :: SDL_LogCategory Source #
- C declaration
SDL_LOG_CATEGORY_SYSTEM, defined atSDL3/SDL_log.h 95:5
pattern SDL_LOG_CATEGORY_AUDIO :: SDL_LogCategory Source #
- C declaration
SDL_LOG_CATEGORY_AUDIO, defined atSDL3/SDL_log.h 96:5
pattern SDL_LOG_CATEGORY_VIDEO :: SDL_LogCategory Source #
- C declaration
SDL_LOG_CATEGORY_VIDEO, defined atSDL3/SDL_log.h 97:5
pattern SDL_LOG_CATEGORY_RENDER :: SDL_LogCategory Source #
- C declaration
SDL_LOG_CATEGORY_RENDER, defined atSDL3/SDL_log.h 98:5
pattern SDL_LOG_CATEGORY_INPUT :: SDL_LogCategory Source #
- C declaration
SDL_LOG_CATEGORY_INPUT, defined atSDL3/SDL_log.h 99:5
pattern SDL_LOG_CATEGORY_TEST :: SDL_LogCategory Source #
- C declaration
SDL_LOG_CATEGORY_TEST, defined atSDL3/SDL_log.h 100:5
pattern SDL_LOG_CATEGORY_GPU :: SDL_LogCategory Source #
- C declaration
SDL_LOG_CATEGORY_GPU, defined atSDL3/SDL_log.h 101:5
pattern SDL_LOG_CATEGORY_RESERVED2 :: SDL_LogCategory Source #
- C declaration
SDL_LOG_CATEGORY_RESERVED2, defined atSDL3/SDL_log.h 104:5
pattern SDL_LOG_CATEGORY_RESERVED3 :: SDL_LogCategory Source #
- C declaration
SDL_LOG_CATEGORY_RESERVED3, defined atSDL3/SDL_log.h 105:5
pattern SDL_LOG_CATEGORY_RESERVED4 :: SDL_LogCategory Source #
- C declaration
SDL_LOG_CATEGORY_RESERVED4, defined atSDL3/SDL_log.h 106:5
pattern SDL_LOG_CATEGORY_RESERVED5 :: SDL_LogCategory Source #
- C declaration
SDL_LOG_CATEGORY_RESERVED5, defined atSDL3/SDL_log.h 107:5
pattern SDL_LOG_CATEGORY_RESERVED6 :: SDL_LogCategory Source #
- C declaration
SDL_LOG_CATEGORY_RESERVED6, defined atSDL3/SDL_log.h 108:5
pattern SDL_LOG_CATEGORY_RESERVED7 :: SDL_LogCategory Source #
- C declaration
SDL_LOG_CATEGORY_RESERVED7, defined atSDL3/SDL_log.h 109:5
pattern SDL_LOG_CATEGORY_RESERVED8 :: SDL_LogCategory Source #
- C declaration
SDL_LOG_CATEGORY_RESERVED8, defined atSDL3/SDL_log.h 110:5
pattern SDL_LOG_CATEGORY_RESERVED9 :: SDL_LogCategory Source #
- C declaration
SDL_LOG_CATEGORY_RESERVED9, defined atSDL3/SDL_log.h 111:5
pattern SDL_LOG_CATEGORY_RESERVED10 :: SDL_LogCategory Source #
- C declaration
SDL_LOG_CATEGORY_RESERVED10, defined atSDL3/SDL_log.h 112:5
pattern SDL_LOG_CATEGORY_CUSTOM :: SDL_LogCategory Source #
- C declaration
SDL_LOG_CATEGORY_CUSTOM, defined atSDL3/SDL_log.h 122:5
newtype SDL_LogPriority Source #
The predefined log priorities
- C declaration
enum SDL_LogPriority, defined atSDL3/SDL_log.h 130:14
Since: 3.2.0
Constructors
| SDL_LogPriority | |
Instances
| Storable SDL_LogPriority Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Methods sizeOf :: SDL_LogPriority -> Int # alignment :: SDL_LogPriority -> Int # peekElemOff :: Ptr SDL_LogPriority -> Int -> IO SDL_LogPriority # pokeElemOff :: Ptr SDL_LogPriority -> Int -> SDL_LogPriority -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_LogPriority # pokeByteOff :: Ptr b -> Int -> SDL_LogPriority -> IO () # peek :: Ptr SDL_LogPriority -> IO SDL_LogPriority # poke :: Ptr SDL_LogPriority -> SDL_LogPriority -> IO () # | |||||
| Generic SDL_LogPriority Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Associated Types
Methods from :: SDL_LogPriority -> Rep SDL_LogPriority x # to :: Rep SDL_LogPriority x -> SDL_LogPriority # | |||||
| Read SDL_LogPriority Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Methods readsPrec :: Int -> ReadS SDL_LogPriority # readList :: ReadS [SDL_LogPriority] # | |||||
| Show SDL_LogPriority Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Methods showsPrec :: Int -> SDL_LogPriority -> ShowS # show :: SDL_LogPriority -> String # showList :: [SDL_LogPriority] -> ShowS # | |||||
| Eq SDL_LogPriority Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Methods (==) :: SDL_LogPriority -> SDL_LogPriority -> Bool # (/=) :: SDL_LogPriority -> SDL_LogPriority -> Bool # | |||||
| Ord SDL_LogPriority Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Methods compare :: SDL_LogPriority -> SDL_LogPriority -> Ordering # (<) :: SDL_LogPriority -> SDL_LogPriority -> Bool # (<=) :: SDL_LogPriority -> SDL_LogPriority -> Bool # (>) :: SDL_LogPriority -> SDL_LogPriority -> Bool # (>=) :: SDL_LogPriority -> SDL_LogPriority -> Bool # max :: SDL_LogPriority -> SDL_LogPriority -> SDL_LogPriority # min :: SDL_LogPriority -> SDL_LogPriority -> SDL_LogPriority # | |||||
| Prim SDL_LogPriority Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Methods sizeOfType# :: Proxy SDL_LogPriority -> Int# # sizeOf# :: SDL_LogPriority -> Int# # alignmentOfType# :: Proxy SDL_LogPriority -> Int# # alignment# :: SDL_LogPriority -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_LogPriority # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_LogPriority #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_LogPriority -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_LogPriority -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_LogPriority # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_LogPriority #) # writeOffAddr# :: Addr# -> Int# -> SDL_LogPriority -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_LogPriority -> State# s -> State# s # | |||||
| CEnum SDL_LogPriority Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Associated Types
Methods toCEnum :: CEnumZ SDL_LogPriority -> SDL_LogPriority # fromCEnum :: SDL_LogPriority -> CEnumZ SDL_LogPriority # declaredValues :: proxy SDL_LogPriority -> DeclaredValues SDL_LogPriority # showsUndeclared :: proxy SDL_LogPriority -> Int -> CEnumZ SDL_LogPriority -> ShowS # readPrecUndeclared :: ReadPrec SDL_LogPriority # isDeclared :: SDL_LogPriority -> Bool # mkDeclared :: CEnumZ SDL_LogPriority -> Maybe SDL_LogPriority # | |||||
| SequentialCEnum SDL_LogPriority Source # | |||||
Defined in SDL3.Sys.Bindgen.Log | |||||
| HasFFIType SDL_LogPriority Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Associated Types
Methods | |||||
| ReadRaw SDL_LogPriority Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Methods readRaw :: Ptr SDL_LogPriority -> IO SDL_LogPriority # | |||||
| StaticSize SDL_LogPriority Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Methods staticSizeOf :: Proxy SDL_LogPriority -> Int # staticAlignment :: Proxy SDL_LogPriority -> Int # | |||||
| WriteRaw SDL_LogPriority Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Methods writeRaw :: Ptr SDL_LogPriority -> SDL_LogPriority -> IO () # | |||||
| HasCField SDL_LogPriority "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_LogPriority ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Methods hasField :: SDL_LogPriority -> (ty -> SDL_LogPriority, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_LogPriority) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Methods getField :: Ptr SDL_LogPriority -> Ptr ty # | |||||
| type Rep SDL_LogPriority Source # | |||||
Defined in SDL3.Sys.Bindgen.Log type Rep SDL_LogPriority = D1 ('MetaData "SDL_LogPriority" "SDL3.Sys.Bindgen.Log" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_LogPriority" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_LogPriority Source # | |||||
Defined in SDL3.Sys.Bindgen.Log | |||||
| type FFIType SDL_LogPriority Source # | |||||
Defined in SDL3.Sys.Bindgen.Log | |||||
| type CFieldType SDL_LogPriority "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Log | |||||
pattern SDL_LOG_PRIORITY_INVALID :: SDL_LogPriority Source #
- C declaration
SDL_LOG_PRIORITY_INVALID, defined atSDL3/SDL_log.h 132:5
pattern SDL_LOG_PRIORITY_TRACE :: SDL_LogPriority Source #
- C declaration
SDL_LOG_PRIORITY_TRACE, defined atSDL3/SDL_log.h 133:5
pattern SDL_LOG_PRIORITY_VERBOSE :: SDL_LogPriority Source #
- C declaration
SDL_LOG_PRIORITY_VERBOSE, defined atSDL3/SDL_log.h 134:5
pattern SDL_LOG_PRIORITY_DEBUG :: SDL_LogPriority Source #
- C declaration
SDL_LOG_PRIORITY_DEBUG, defined atSDL3/SDL_log.h 135:5
pattern SDL_LOG_PRIORITY_INFO :: SDL_LogPriority Source #
- C declaration
SDL_LOG_PRIORITY_INFO, defined atSDL3/SDL_log.h 136:5
pattern SDL_LOG_PRIORITY_WARN :: SDL_LogPriority Source #
- C declaration
SDL_LOG_PRIORITY_WARN, defined atSDL3/SDL_log.h 137:5
pattern SDL_LOG_PRIORITY_ERROR :: SDL_LogPriority Source #
- C declaration
SDL_LOG_PRIORITY_ERROR, defined atSDL3/SDL_log.h 138:5
pattern SDL_LOG_PRIORITY_CRITICAL :: SDL_LogPriority Source #
- C declaration
SDL_LOG_PRIORITY_CRITICAL, defined atSDL3/SDL_log.h 139:5
pattern SDL_LOG_PRIORITY_COUNT :: SDL_LogPriority Source #
- C declaration
SDL_LOG_PRIORITY_COUNT, defined atSDL3/SDL_log.h 140:5
newtype SDL_LogOutputFunction_Aux Source #
Auxiliary type used by SDL_LogOutputFunction
- C declaration
SDL_LogOutputFunction, defined atSDL3/SDL_log.h 485:24
Constructors
| SDL_LogOutputFunction_Aux | |
Instances
| Generic SDL_LogOutputFunction_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Associated Types
Methods from :: SDL_LogOutputFunction_Aux -> Rep SDL_LogOutputFunction_Aux x # to :: Rep SDL_LogOutputFunction_Aux x -> SDL_LogOutputFunction_Aux # | |||||
| FromFunPtr SDL_LogOutputFunction_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Methods fromFunPtr :: FunPtr SDL_LogOutputFunction_Aux -> SDL_LogOutputFunction_Aux # | |||||
| ToFunPtr SDL_LogOutputFunction_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Methods toFunPtr :: SDL_LogOutputFunction_Aux -> IO (FunPtr SDL_LogOutputFunction_Aux) # | |||||
| HasCField SDL_LogOutputFunction_Aux "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Associated Types
| |||||
| ty ~ (Ptr Void -> CInt -> SDL_LogPriority -> PtrConst CChar -> IO ()) => HasField "unwrap" SDL_LogOutputFunction_Aux ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Methods hasField :: SDL_LogOutputFunction_Aux -> (ty -> SDL_LogOutputFunction_Aux, ty) # | |||||
| ty ~ (Ptr Void -> CInt -> SDL_LogPriority -> PtrConst CChar -> IO ()) => HasField "unwrap" (Ptr SDL_LogOutputFunction_Aux) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Methods getField :: Ptr SDL_LogOutputFunction_Aux -> Ptr ty # | |||||
| type Rep SDL_LogOutputFunction_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Log type Rep SDL_LogOutputFunction_Aux = D1 ('MetaData "SDL_LogOutputFunction_Aux" "SDL3.Sys.Bindgen.Log" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_LogOutputFunction_Aux" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Ptr Void -> CInt -> SDL_LogPriority -> PtrConst CChar -> IO ())))) | |||||
| type CFieldType SDL_LogOutputFunction_Aux "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Log type CFieldType SDL_LogOutputFunction_Aux "unwrap" = Ptr Void -> CInt -> SDL_LogPriority -> PtrConst CChar -> IO () | |||||
newtype SDL_LogOutputFunction Source #
The prototype for the log output callback function.
This function is called by SDL when there is new text to be logged. A mutex is held so that this function is never called by more than one thread at once.
userdata- what was passed as
userdatatoSDL_SetLogOutputFunction(). category- the category of the message.
priority- the priority of the message.
message- the message being output.
- C declaration
SDL_LogOutputFunction, defined atSDL3/SDL_log.h 485:24
Since: 3.2.0
Constructors
| SDL_LogOutputFunction | |
Fields | |
Instances
| Storable SDL_LogOutputFunction Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Methods sizeOf :: SDL_LogOutputFunction -> Int # alignment :: SDL_LogOutputFunction -> Int # peekElemOff :: Ptr SDL_LogOutputFunction -> Int -> IO SDL_LogOutputFunction # pokeElemOff :: Ptr SDL_LogOutputFunction -> Int -> SDL_LogOutputFunction -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_LogOutputFunction # pokeByteOff :: Ptr b -> Int -> SDL_LogOutputFunction -> IO () # peek :: Ptr SDL_LogOutputFunction -> IO SDL_LogOutputFunction # poke :: Ptr SDL_LogOutputFunction -> SDL_LogOutputFunction -> IO () # | |||||
| Generic SDL_LogOutputFunction Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Associated Types
Methods from :: SDL_LogOutputFunction -> Rep SDL_LogOutputFunction x # to :: Rep SDL_LogOutputFunction x -> SDL_LogOutputFunction # | |||||
| Show SDL_LogOutputFunction Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Methods showsPrec :: Int -> SDL_LogOutputFunction -> ShowS # show :: SDL_LogOutputFunction -> String # showList :: [SDL_LogOutputFunction] -> ShowS # | |||||
| Eq SDL_LogOutputFunction Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Methods (==) :: SDL_LogOutputFunction -> SDL_LogOutputFunction -> Bool # (/=) :: SDL_LogOutputFunction -> SDL_LogOutputFunction -> Bool # | |||||
| Ord SDL_LogOutputFunction Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Methods compare :: SDL_LogOutputFunction -> SDL_LogOutputFunction -> Ordering # (<) :: SDL_LogOutputFunction -> SDL_LogOutputFunction -> Bool # (<=) :: SDL_LogOutputFunction -> SDL_LogOutputFunction -> Bool # (>) :: SDL_LogOutputFunction -> SDL_LogOutputFunction -> Bool # (>=) :: SDL_LogOutputFunction -> SDL_LogOutputFunction -> Bool # max :: SDL_LogOutputFunction -> SDL_LogOutputFunction -> SDL_LogOutputFunction # min :: SDL_LogOutputFunction -> SDL_LogOutputFunction -> SDL_LogOutputFunction # | |||||
| HasFFIType SDL_LogOutputFunction Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Associated Types
| |||||
| ReadRaw SDL_LogOutputFunction Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Methods readRaw :: Ptr SDL_LogOutputFunction -> IO SDL_LogOutputFunction # | |||||
| StaticSize SDL_LogOutputFunction Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Methods | |||||
| WriteRaw SDL_LogOutputFunction Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Methods writeRaw :: Ptr SDL_LogOutputFunction -> SDL_LogOutputFunction -> IO () # | |||||
| HasCField SDL_LogOutputFunction "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Associated Types
| |||||
| ty ~ FunPtr SDL_LogOutputFunction_Aux => HasField "unwrap" SDL_LogOutputFunction ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Methods hasField :: SDL_LogOutputFunction -> (ty -> SDL_LogOutputFunction, ty) # | |||||
| ty ~ FunPtr SDL_LogOutputFunction_Aux => HasField "unwrap" (Ptr SDL_LogOutputFunction) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Log Methods getField :: Ptr SDL_LogOutputFunction -> Ptr ty # | |||||
| type Rep SDL_LogOutputFunction Source # | |||||
Defined in SDL3.Sys.Bindgen.Log type Rep SDL_LogOutputFunction = D1 ('MetaData "SDL_LogOutputFunction" "SDL3.Sys.Bindgen.Log" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_LogOutputFunction" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (FunPtr SDL_LogOutputFunction_Aux)))) | |||||
| type FFIType SDL_LogOutputFunction Source # | |||||
Defined in SDL3.Sys.Bindgen.Log | |||||
| type CFieldType SDL_LogOutputFunction "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Log | |||||