| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
SDL3.Sys.Bindgen.Main
Synopsis
- newtype SDL_main_func_Aux = SDL_main_func_Aux {}
- newtype SDL_main_func = SDL_main_func {}
Documentation
newtype SDL_main_func_Aux Source #
Auxiliary type used by SDL_main_func
- C declaration
SDL_main_func, defined atSDL3/SDL_main.h 499:23
Constructors
| SDL_main_func_Aux | |
Instances
newtype SDL_main_func Source #
The prototype for the application's main() function
argc- an ANSI-C style main function's argc.
argv- an ANSI-C style main function's argv.
- Returns
- an ANSI-C main return code; generally 0 is considered successful program completion, and small non-zero values are considered errors.
- C declaration
SDL_main_func, defined atSDL3/SDL_main.h 499:23
Since: 3.2.0
Constructors
| SDL_main_func | |
Fields | |
Instances
| Storable SDL_main_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Main Methods sizeOf :: SDL_main_func -> Int # alignment :: SDL_main_func -> Int # peekElemOff :: Ptr SDL_main_func -> Int -> IO SDL_main_func # pokeElemOff :: Ptr SDL_main_func -> Int -> SDL_main_func -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_main_func # pokeByteOff :: Ptr b -> Int -> SDL_main_func -> IO () # peek :: Ptr SDL_main_func -> IO SDL_main_func # poke :: Ptr SDL_main_func -> SDL_main_func -> IO () # | |||||
| Generic SDL_main_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Main Associated Types
| |||||
| Show SDL_main_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Main Methods showsPrec :: Int -> SDL_main_func -> ShowS # show :: SDL_main_func -> String # showList :: [SDL_main_func] -> ShowS # | |||||
| Eq SDL_main_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Main Methods (==) :: SDL_main_func -> SDL_main_func -> Bool # (/=) :: SDL_main_func -> SDL_main_func -> Bool # | |||||
| Ord SDL_main_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Main Methods compare :: SDL_main_func -> SDL_main_func -> Ordering # (<) :: SDL_main_func -> SDL_main_func -> Bool # (<=) :: SDL_main_func -> SDL_main_func -> Bool # (>) :: SDL_main_func -> SDL_main_func -> Bool # (>=) :: SDL_main_func -> SDL_main_func -> Bool # max :: SDL_main_func -> SDL_main_func -> SDL_main_func # min :: SDL_main_func -> SDL_main_func -> SDL_main_func # | |||||
| HasFFIType SDL_main_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Main Associated Types
Methods | |||||
| ReadRaw SDL_main_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Main Methods readRaw :: Ptr SDL_main_func -> IO SDL_main_func # | |||||
| StaticSize SDL_main_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Main | |||||
| WriteRaw SDL_main_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Main Methods writeRaw :: Ptr SDL_main_func -> SDL_main_func -> IO () # | |||||
| HasCField SDL_main_func "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Main Associated Types
| |||||
| ty ~ FunPtr SDL_main_func_Aux => HasField "unwrap" SDL_main_func ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Main Methods hasField :: SDL_main_func -> (ty -> SDL_main_func, ty) # | |||||
| ty ~ FunPtr SDL_main_func_Aux => HasField "unwrap" (Ptr SDL_main_func) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Main Methods getField :: Ptr SDL_main_func -> Ptr ty # | |||||
| type Rep SDL_main_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Main type Rep SDL_main_func = D1 ('MetaData "SDL_main_func" "SDL3.Sys.Bindgen.Main" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_main_func" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (FunPtr SDL_main_func_Aux)))) | |||||
| type FFIType SDL_main_func Source # | |||||
Defined in SDL3.Sys.Bindgen.Main | |||||
| type CFieldType SDL_main_func "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Main | |||||