| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
SDL3.Sys.Bindgen.Filesystem
Description
SDL offers an API for examining and manipulating the system's filesystem. This covers most things one would need to do with directories, except for actual file I/O (which is covered by CategoryIOStream and CategoryAsyncIO instead).
There are functions to answer necessary path questions:
- Where is my app's data?
SDL_GetBasePath(). - Where can I safely write files?
SDL_GetPrefPath(). - Where are paths like Downloads, Desktop, Music?
SDL_GetUserFolder(). - What is this thing at this location?
SDL_GetPathInfo(). - What items live in this folder?
SDL_EnumerateDirectory(). - What items live in this folder by wildcard?
SDL_GlobDirectory(). - What is my current working directory?
SDL_GetCurrentDirectory().
SDL also offers functions to manipulate the directory tree: renaming, removing, copying files. Get the directory where the application was run from.
SDL caches the result of this call internally, but the first call to this function is not necessarily fast, so plan accordingly.
macOS and iOS Specific Functionality: If the application is in a ".app" bundle, this function returns the Resource directory (e.g. MyApp.app/Contents/Resources/). This behaviour can be overridden by adding a property to the Info.plist file. Adding a string key with the name SDL_FILESYSTEM_BASE_DIR_TYPE with a supported value will change the behaviour.
Supported values for the SDL_FILESYSTEM_BASE_DIR_TYPE property (Given an application in /Applications/SDLApp/MyApp.app):
resource: bundle resource directory (the default). For example:/Applications/SDLApp/MyApp.app/Contents/Resourcesbundle: the Bundle directory. For example:/Applications/SDLApp/MyApp.app/parent: the containing directory of the bundle. For example:/Applications/SDLApp/
Android Specific Functionality: This function returns "./", which allows filesystem operations to use internal storage and the asset system.
Nintendo 3DS Specific Functionality: This function returns "romfs" directory of the application as it is uncommon to store resources outside the executable. As such it is not a writable directory.
The returned path is guaranteed to end with a path separator ('\' on Windows, '/' on most other platforms).
- Returns
- an absolute path in UTF-8 encoding to the application data directory. NULL will be returned on error or when the platform doesn't implement this functionality, call SDL_GetError() for more information.
- Thread safety
- It is safe to call this function from any thread.
- See also
sDL_GetPrefPath
Since: 3.2.0
Synopsis
- newtype SDL_Folder = SDL_Folder {}
- pattern SDL_FOLDER_HOME :: SDL_Folder
- pattern SDL_FOLDER_DESKTOP :: SDL_Folder
- pattern SDL_FOLDER_DOCUMENTS :: SDL_Folder
- pattern SDL_FOLDER_DOWNLOADS :: SDL_Folder
- pattern SDL_FOLDER_MUSIC :: SDL_Folder
- pattern SDL_FOLDER_PICTURES :: SDL_Folder
- pattern SDL_FOLDER_PUBLICSHARE :: SDL_Folder
- pattern SDL_FOLDER_SAVEDGAMES :: SDL_Folder
- pattern SDL_FOLDER_SCREENSHOTS :: SDL_Folder
- pattern SDL_FOLDER_TEMPLATES :: SDL_Folder
- pattern SDL_FOLDER_VIDEOS :: SDL_Folder
- pattern SDL_FOLDER_COUNT :: SDL_Folder
- newtype SDL_PathType = SDL_PathType {}
- pattern SDL_PATHTYPE_NONE :: SDL_PathType
- pattern SDL_PATHTYPE_FILE :: SDL_PathType
- pattern SDL_PATHTYPE_DIRECTORY :: SDL_PathType
- pattern SDL_PATHTYPE_OTHER :: SDL_PathType
- data SDL_PathInfo = SDL_PathInfo {}
- newtype SDL_GlobFlags = SDL_GlobFlags {}
- sDL_GLOB_CASEINSENSITIVE :: CUInt
- newtype SDL_EnumerationResult = SDL_EnumerationResult {}
- pattern SDL_ENUM_CONTINUE :: SDL_EnumerationResult
- pattern SDL_ENUM_SUCCESS :: SDL_EnumerationResult
- pattern SDL_ENUM_FAILURE :: SDL_EnumerationResult
- newtype SDL_EnumerateDirectoryCallback_Aux = SDL_EnumerateDirectoryCallback_Aux {}
- newtype SDL_EnumerateDirectoryCallback = SDL_EnumerateDirectoryCallback {}
Documentation
newtype SDL_Folder Source #
The type of the OS-provided default folder for a specific purpose.
Note that the Trash folder isn't included here, because trashing files usually involves extra OS-specific functionality to remember the file's original location.
The folders supported per platform are:
Windows
macOS/iOS
tvOS
Unix (XDG)
Haiku
Emscripten
HOME
X
X
X
X
X
DESKTOP
X
X
X
X
DOCUMENTS
X
X
X
DOWNLOADS
Vista+
X
X
MUSIC
X
X
X
PICTURES
X
X
X
PUBLICSHARE
X
X
SAVEDGAMES
Vista+
SCREENSHOTS
Vista+
TEMPLATES
X
X
X
VIDEOS
X
X*
X
Note that on macOS/iOS, the Videos folder is called "Movies".
- See also
sDL_GetUserFolder- C declaration
enum SDL_Folder, defined atSDL3/SDL_filesystem.h 195:14
Since: 3.2.0
Constructors
| SDL_Folder | |
Instances
pattern SDL_FOLDER_HOME :: SDL_Folder Source #
The folder which contains all of the current user's data, preferences, and documents. It usually contains most of the other folders. If a requested folder does not exist, the home folder can be considered a safe fallback to store a user's documents.
- C declaration
SDL_FOLDER_HOME, defined atSDL3/SDL_filesystem.h 197:5
pattern SDL_FOLDER_DESKTOP :: SDL_Folder Source #
The folder of files that are displayed on the desktop. Note that the existence of a desktop folder does not guarantee that the system does show icons on its desktop; certain GNU/Linux distros with a graphical environment may not have desktop icons.
- C declaration
SDL_FOLDER_DESKTOP, defined atSDL3/SDL_filesystem.h 198:5
pattern SDL_FOLDER_DOCUMENTS :: SDL_Folder Source #
User document files, possibly application-specific. This is a good place to save a user's projects.
- C declaration
SDL_FOLDER_DOCUMENTS, defined atSDL3/SDL_filesystem.h 199:5
pattern SDL_FOLDER_DOWNLOADS :: SDL_Folder Source #
Standard folder for user files downloaded from the internet.
- C declaration
SDL_FOLDER_DOWNLOADS, defined atSDL3/SDL_filesystem.h 200:5
pattern SDL_FOLDER_MUSIC :: SDL_Folder Source #
Music files that can be played using a standard music player (mp3, ogg...).
- C declaration
SDL_FOLDER_MUSIC, defined atSDL3/SDL_filesystem.h 201:5
pattern SDL_FOLDER_PICTURES :: SDL_Folder Source #
Image files that can be displayed using a standard viewer (png, jpg...).
- C declaration
SDL_FOLDER_PICTURES, defined atSDL3/SDL_filesystem.h 202:5
pattern SDL_FOLDER_PUBLICSHARE :: SDL_Folder Source #
Files that are meant to be shared with other users on the same computer.
- C declaration
SDL_FOLDER_PUBLICSHARE, defined atSDL3/SDL_filesystem.h 203:5
pattern SDL_FOLDER_SAVEDGAMES :: SDL_Folder Source #
Save files for games.
- C declaration
SDL_FOLDER_SAVEDGAMES, defined atSDL3/SDL_filesystem.h 204:5
pattern SDL_FOLDER_SCREENSHOTS :: SDL_Folder Source #
Application screenshots.
- C declaration
SDL_FOLDER_SCREENSHOTS, defined atSDL3/SDL_filesystem.h 205:5
pattern SDL_FOLDER_TEMPLATES :: SDL_Folder Source #
Template files to be used when the user requests the desktop environment to create a new file in a certain folder, such as "New Text File.txt". Any file in the Templates folder can be used as a starting point for a new file.
- C declaration
SDL_FOLDER_TEMPLATES, defined atSDL3/SDL_filesystem.h 206:5
pattern SDL_FOLDER_VIDEOS :: SDL_Folder Source #
Video files that can be played using a standard video player (mp4, webm...).
- C declaration
SDL_FOLDER_VIDEOS, defined atSDL3/SDL_filesystem.h 207:5
pattern SDL_FOLDER_COUNT :: SDL_Folder Source #
Total number of types in this enum, not a folder type by itself.
- C declaration
SDL_FOLDER_COUNT, defined atSDL3/SDL_filesystem.h 208:5
newtype SDL_PathType Source #
Types of filesystem entries.
Note that there may be other sorts of items on a filesystem: devices, named pipes, etc. They are currently reported as SDL_PATHTYPE_OTHER.
- See also
SDL_PathInfo- C declaration
enum SDL_PathType, defined atSDL3/SDL_filesystem.h 251:14
Since: 3.2.0
Constructors
| SDL_PathType | |
Instances
| Storable SDL_PathType Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods sizeOf :: SDL_PathType -> Int # alignment :: SDL_PathType -> Int # peekElemOff :: Ptr SDL_PathType -> Int -> IO SDL_PathType # pokeElemOff :: Ptr SDL_PathType -> Int -> SDL_PathType -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_PathType # pokeByteOff :: Ptr b -> Int -> SDL_PathType -> IO () # peek :: Ptr SDL_PathType -> IO SDL_PathType # poke :: Ptr SDL_PathType -> SDL_PathType -> IO () # | |||||
| Generic SDL_PathType Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Associated Types
| |||||
| Read SDL_PathType Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods readsPrec :: Int -> ReadS SDL_PathType # readList :: ReadS [SDL_PathType] # | |||||
| Show SDL_PathType Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods showsPrec :: Int -> SDL_PathType -> ShowS # show :: SDL_PathType -> String # showList :: [SDL_PathType] -> ShowS # | |||||
| Eq SDL_PathType Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem | |||||
| Ord SDL_PathType Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods compare :: SDL_PathType -> SDL_PathType -> Ordering # (<) :: SDL_PathType -> SDL_PathType -> Bool # (<=) :: SDL_PathType -> SDL_PathType -> Bool # (>) :: SDL_PathType -> SDL_PathType -> Bool # (>=) :: SDL_PathType -> SDL_PathType -> Bool # max :: SDL_PathType -> SDL_PathType -> SDL_PathType # min :: SDL_PathType -> SDL_PathType -> SDL_PathType # | |||||
| Prim SDL_PathType Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods sizeOfType# :: Proxy SDL_PathType -> Int# # sizeOf# :: SDL_PathType -> Int# # alignmentOfType# :: Proxy SDL_PathType -> Int# # alignment# :: SDL_PathType -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_PathType # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_PathType #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_PathType -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_PathType -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_PathType # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_PathType #) # writeOffAddr# :: Addr# -> Int# -> SDL_PathType -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_PathType -> State# s -> State# s # | |||||
| CEnum SDL_PathType Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Associated Types
Methods toCEnum :: CEnumZ SDL_PathType -> SDL_PathType # fromCEnum :: SDL_PathType -> CEnumZ SDL_PathType # declaredValues :: proxy SDL_PathType -> DeclaredValues SDL_PathType # showsUndeclared :: proxy SDL_PathType -> Int -> CEnumZ SDL_PathType -> ShowS # readPrecUndeclared :: ReadPrec SDL_PathType # isDeclared :: SDL_PathType -> Bool # | |||||
| SequentialCEnum SDL_PathType Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem | |||||
| HasFFIType SDL_PathType Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Associated Types
Methods | |||||
| ReadRaw SDL_PathType Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods readRaw :: Ptr SDL_PathType -> IO SDL_PathType # | |||||
| StaticSize SDL_PathType Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem | |||||
| WriteRaw SDL_PathType Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods writeRaw :: Ptr SDL_PathType -> SDL_PathType -> IO () # | |||||
| HasCField SDL_PathType "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_PathType ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods hasField :: SDL_PathType -> (ty -> SDL_PathType, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_PathType) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods getField :: Ptr SDL_PathType -> Ptr ty # | |||||
| type Rep SDL_PathType Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem type Rep SDL_PathType = D1 ('MetaData "SDL_PathType" "SDL3.Sys.Bindgen.Filesystem" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_PathType" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_PathType Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem | |||||
| type FFIType SDL_PathType Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem | |||||
| type CFieldType SDL_PathType "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem | |||||
pattern SDL_PATHTYPE_NONE :: SDL_PathType Source #
path does not exist
- C declaration
SDL_PATHTYPE_NONE, defined atSDL3/SDL_filesystem.h 253:5
pattern SDL_PATHTYPE_FILE :: SDL_PathType Source #
a normal file
- C declaration
SDL_PATHTYPE_FILE, defined atSDL3/SDL_filesystem.h 254:5
pattern SDL_PATHTYPE_DIRECTORY :: SDL_PathType Source #
a directory
- C declaration
SDL_PATHTYPE_DIRECTORY, defined atSDL3/SDL_filesystem.h 255:5
pattern SDL_PATHTYPE_OTHER :: SDL_PathType Source #
something completely different like a device node (not a symlink, those are always followed)
- C declaration
SDL_PATHTYPE_OTHER, defined atSDL3/SDL_filesystem.h 256:5
data SDL_PathInfo Source #
Information about a path on the filesystem.
- See also
sDL_GetPathInfo, SDL_GetStoragePathInfo- C declaration
struct SDL_PathInfo, defined atSDL3/SDL_filesystem.h 267:16
Since: 3.2.0
Constructors
| SDL_PathInfo | |
Fields
| |
Instances
| Storable SDL_PathInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods sizeOf :: SDL_PathInfo -> Int # alignment :: SDL_PathInfo -> Int # peekElemOff :: Ptr SDL_PathInfo -> Int -> IO SDL_PathInfo # pokeElemOff :: Ptr SDL_PathInfo -> Int -> SDL_PathInfo -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_PathInfo # pokeByteOff :: Ptr b -> Int -> SDL_PathInfo -> IO () # peek :: Ptr SDL_PathInfo -> IO SDL_PathInfo # poke :: Ptr SDL_PathInfo -> SDL_PathInfo -> IO () # | |||||
| Generic SDL_PathInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Associated Types
| |||||
| Show SDL_PathInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods showsPrec :: Int -> SDL_PathInfo -> ShowS # show :: SDL_PathInfo -> String # showList :: [SDL_PathInfo] -> ShowS # | |||||
| Eq SDL_PathInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem | |||||
| ReadRaw SDL_PathInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods readRaw :: Ptr SDL_PathInfo -> IO SDL_PathInfo # | |||||
| StaticSize SDL_PathInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem | |||||
| WriteRaw SDL_PathInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods writeRaw :: Ptr SDL_PathInfo -> SDL_PathInfo -> IO () # | |||||
| IsStruct SDL_PathInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods zero :: SDL_PathInfo # | |||||
| HasCField SDL_PathInfo "access_time" Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Associated Types
| |||||
| HasCField SDL_PathInfo "create_time" Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Associated Types
| |||||
| HasCField SDL_PathInfo "modify_time" Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Associated Types
| |||||
| HasCField SDL_PathInfo "size" Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Associated Types
| |||||
| HasCField SDL_PathInfo "type'" Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Associated Types
| |||||
| ty ~ SDL_Time => HasField "access_time" SDL_PathInfo ty Source # | the last time the path was read
| ||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods hasField :: SDL_PathInfo -> (ty -> SDL_PathInfo, ty) # | |||||
| ty ~ SDL_Time => HasField "create_time" SDL_PathInfo ty Source # | the time when the path was created
| ||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods hasField :: SDL_PathInfo -> (ty -> SDL_PathInfo, ty) # | |||||
| ty ~ SDL_Time => HasField "modify_time" SDL_PathInfo ty Source # | the last time the path was modified
| ||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods hasField :: SDL_PathInfo -> (ty -> SDL_PathInfo, ty) # | |||||
| ty ~ Uint64 => HasField "size" SDL_PathInfo ty Source # | the file size in bytes
| ||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods hasField :: SDL_PathInfo -> (ty -> SDL_PathInfo, ty) # | |||||
| ty ~ SDL_PathType => HasField "type'" SDL_PathInfo ty Source # | the path type
| ||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods hasField :: SDL_PathInfo -> (ty -> SDL_PathInfo, ty) # | |||||
| ty ~ SDL_Time => HasField "access_time" (Ptr SDL_PathInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods getField :: Ptr SDL_PathInfo -> Ptr ty # | |||||
| ty ~ SDL_Time => HasField "create_time" (Ptr SDL_PathInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods getField :: Ptr SDL_PathInfo -> Ptr ty # | |||||
| ty ~ SDL_Time => HasField "modify_time" (Ptr SDL_PathInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods getField :: Ptr SDL_PathInfo -> Ptr ty # | |||||
| ty ~ Uint64 => HasField "size" (Ptr SDL_PathInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods getField :: Ptr SDL_PathInfo -> Ptr ty # | |||||
| ty ~ SDL_PathType => HasField "type'" (Ptr SDL_PathInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods getField :: Ptr SDL_PathInfo -> Ptr ty # | |||||
| type Rep SDL_PathInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem type Rep SDL_PathInfo = D1 ('MetaData "SDL_PathInfo" "SDL3.Sys.Bindgen.Filesystem" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_PathInfo" 'PrefixI 'True) ((S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_PathType) :*: S1 ('MetaSel ('Just "size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint64)) :*: (S1 ('MetaSel ('Just "create_time") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_Time) :*: (S1 ('MetaSel ('Just "modify_time") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_Time) :*: S1 ('MetaSel ('Just "access_time") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_Time))))) | |||||
| type CFieldType SDL_PathInfo "access_time" Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem | |||||
| type CFieldType SDL_PathInfo "create_time" Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem | |||||
| type CFieldType SDL_PathInfo "modify_time" Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem | |||||
| type CFieldType SDL_PathInfo "size" Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem | |||||
| type CFieldType SDL_PathInfo "type'" Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem | |||||
newtype SDL_GlobFlags Source #
Flags for path matching.
- See also
sDL_GlobDirectory, SDL_GlobStorageDirectory- C declaration
SDL_GlobFlags, defined atSDL3/SDL_filesystem.h 284:16
Since: 3.2.0
Constructors
| SDL_GlobFlags | |
Instances
| Bits SDL_GlobFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods (.&.) :: SDL_GlobFlags -> SDL_GlobFlags -> SDL_GlobFlags # (.|.) :: SDL_GlobFlags -> SDL_GlobFlags -> SDL_GlobFlags # xor :: SDL_GlobFlags -> SDL_GlobFlags -> SDL_GlobFlags # complement :: SDL_GlobFlags -> SDL_GlobFlags # shift :: SDL_GlobFlags -> Int -> SDL_GlobFlags # rotate :: SDL_GlobFlags -> Int -> SDL_GlobFlags # bit :: Int -> SDL_GlobFlags # setBit :: SDL_GlobFlags -> Int -> SDL_GlobFlags # clearBit :: SDL_GlobFlags -> Int -> SDL_GlobFlags # complementBit :: SDL_GlobFlags -> Int -> SDL_GlobFlags # testBit :: SDL_GlobFlags -> Int -> Bool # bitSizeMaybe :: SDL_GlobFlags -> Maybe Int # bitSize :: SDL_GlobFlags -> Int # isSigned :: SDL_GlobFlags -> Bool # shiftL :: SDL_GlobFlags -> Int -> SDL_GlobFlags # unsafeShiftL :: SDL_GlobFlags -> Int -> SDL_GlobFlags # shiftR :: SDL_GlobFlags -> Int -> SDL_GlobFlags # unsafeShiftR :: SDL_GlobFlags -> Int -> SDL_GlobFlags # rotateL :: SDL_GlobFlags -> Int -> SDL_GlobFlags # rotateR :: SDL_GlobFlags -> Int -> SDL_GlobFlags # popCount :: SDL_GlobFlags -> Int # | |||||
| FiniteBits SDL_GlobFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods finiteBitSize :: SDL_GlobFlags -> Int # countLeadingZeros :: SDL_GlobFlags -> Int # countTrailingZeros :: SDL_GlobFlags -> Int # | |||||
| Bounded SDL_GlobFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem | |||||
| Enum SDL_GlobFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods succ :: SDL_GlobFlags -> SDL_GlobFlags # pred :: SDL_GlobFlags -> SDL_GlobFlags # toEnum :: Int -> SDL_GlobFlags # fromEnum :: SDL_GlobFlags -> Int # enumFrom :: SDL_GlobFlags -> [SDL_GlobFlags] # enumFromThen :: SDL_GlobFlags -> SDL_GlobFlags -> [SDL_GlobFlags] # enumFromTo :: SDL_GlobFlags -> SDL_GlobFlags -> [SDL_GlobFlags] # enumFromThenTo :: SDL_GlobFlags -> SDL_GlobFlags -> SDL_GlobFlags -> [SDL_GlobFlags] # | |||||
| Storable SDL_GlobFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods sizeOf :: SDL_GlobFlags -> Int # alignment :: SDL_GlobFlags -> Int # peekElemOff :: Ptr SDL_GlobFlags -> Int -> IO SDL_GlobFlags # pokeElemOff :: Ptr SDL_GlobFlags -> Int -> SDL_GlobFlags -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GlobFlags # pokeByteOff :: Ptr b -> Int -> SDL_GlobFlags -> IO () # peek :: Ptr SDL_GlobFlags -> IO SDL_GlobFlags # poke :: Ptr SDL_GlobFlags -> SDL_GlobFlags -> IO () # | |||||
| Generic SDL_GlobFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Associated Types
| |||||
| Ix SDL_GlobFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods range :: (SDL_GlobFlags, SDL_GlobFlags) -> [SDL_GlobFlags] # index :: (SDL_GlobFlags, SDL_GlobFlags) -> SDL_GlobFlags -> Int # unsafeIndex :: (SDL_GlobFlags, SDL_GlobFlags) -> SDL_GlobFlags -> Int # inRange :: (SDL_GlobFlags, SDL_GlobFlags) -> SDL_GlobFlags -> Bool # rangeSize :: (SDL_GlobFlags, SDL_GlobFlags) -> Int # unsafeRangeSize :: (SDL_GlobFlags, SDL_GlobFlags) -> Int # | |||||
| Num SDL_GlobFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods (+) :: SDL_GlobFlags -> SDL_GlobFlags -> SDL_GlobFlags # (-) :: SDL_GlobFlags -> SDL_GlobFlags -> SDL_GlobFlags # (*) :: SDL_GlobFlags -> SDL_GlobFlags -> SDL_GlobFlags # negate :: SDL_GlobFlags -> SDL_GlobFlags # abs :: SDL_GlobFlags -> SDL_GlobFlags # signum :: SDL_GlobFlags -> SDL_GlobFlags # fromInteger :: Integer -> SDL_GlobFlags # | |||||
| Read SDL_GlobFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods readsPrec :: Int -> ReadS SDL_GlobFlags # readList :: ReadS [SDL_GlobFlags] # | |||||
| Integral SDL_GlobFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods quot :: SDL_GlobFlags -> SDL_GlobFlags -> SDL_GlobFlags # rem :: SDL_GlobFlags -> SDL_GlobFlags -> SDL_GlobFlags # div :: SDL_GlobFlags -> SDL_GlobFlags -> SDL_GlobFlags # mod :: SDL_GlobFlags -> SDL_GlobFlags -> SDL_GlobFlags # quotRem :: SDL_GlobFlags -> SDL_GlobFlags -> (SDL_GlobFlags, SDL_GlobFlags) # divMod :: SDL_GlobFlags -> SDL_GlobFlags -> (SDL_GlobFlags, SDL_GlobFlags) # toInteger :: SDL_GlobFlags -> Integer # | |||||
| Real SDL_GlobFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods toRational :: SDL_GlobFlags -> Rational # | |||||
| Show SDL_GlobFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods showsPrec :: Int -> SDL_GlobFlags -> ShowS # show :: SDL_GlobFlags -> String # showList :: [SDL_GlobFlags] -> ShowS # | |||||
| Eq SDL_GlobFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods (==) :: SDL_GlobFlags -> SDL_GlobFlags -> Bool # (/=) :: SDL_GlobFlags -> SDL_GlobFlags -> Bool # | |||||
| Ord SDL_GlobFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods compare :: SDL_GlobFlags -> SDL_GlobFlags -> Ordering # (<) :: SDL_GlobFlags -> SDL_GlobFlags -> Bool # (<=) :: SDL_GlobFlags -> SDL_GlobFlags -> Bool # (>) :: SDL_GlobFlags -> SDL_GlobFlags -> Bool # (>=) :: SDL_GlobFlags -> SDL_GlobFlags -> Bool # max :: SDL_GlobFlags -> SDL_GlobFlags -> SDL_GlobFlags # min :: SDL_GlobFlags -> SDL_GlobFlags -> SDL_GlobFlags # | |||||
| Prim SDL_GlobFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods sizeOfType# :: Proxy SDL_GlobFlags -> Int# # sizeOf# :: SDL_GlobFlags -> Int# # alignmentOfType# :: Proxy SDL_GlobFlags -> Int# # alignment# :: SDL_GlobFlags -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GlobFlags # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GlobFlags #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GlobFlags -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GlobFlags -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GlobFlags # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GlobFlags #) # writeOffAddr# :: Addr# -> Int# -> SDL_GlobFlags -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GlobFlags -> State# s -> State# s # | |||||
| HasFFIType SDL_GlobFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Associated Types
Methods | |||||
| ReadRaw SDL_GlobFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods readRaw :: Ptr SDL_GlobFlags -> IO SDL_GlobFlags # | |||||
| StaticSize SDL_GlobFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem | |||||
| WriteRaw SDL_GlobFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods writeRaw :: Ptr SDL_GlobFlags -> SDL_GlobFlags -> IO () # | |||||
| Bitfield SDL_GlobFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem | |||||
| HasCField SDL_GlobFlags "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Associated Types
| |||||
| ty ~ Uint32 => HasField "unwrap" SDL_GlobFlags ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods hasField :: SDL_GlobFlags -> (ty -> SDL_GlobFlags, ty) # | |||||
| ty ~ Uint32 => HasField "unwrap" (Ptr SDL_GlobFlags) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods getField :: Ptr SDL_GlobFlags -> Ptr ty # | |||||
| type Rep SDL_GlobFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem type Rep SDL_GlobFlags = D1 ('MetaData "SDL_GlobFlags" "SDL3.Sys.Bindgen.Filesystem" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GlobFlags" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Uint32))) | |||||
| type FFIType SDL_GlobFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem | |||||
| type CFieldType SDL_GlobFlags "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem | |||||
sDL_GLOB_CASEINSENSITIVE :: CUInt Source #
- C declaration
macro SDL_GLOB_CASEINSENSITIVE, defined atSDL3/SDL_filesystem.h 286:9
newtype SDL_EnumerationResult Source #
Possible results from an enumeration callback.
- See also
SDL_EnumerateDirectoryCallback- C declaration
enum SDL_EnumerationResult, defined atSDL3/SDL_filesystem.h 313:14
Since: 3.2.0
Constructors
| SDL_EnumerationResult | |
Instances
| Storable SDL_EnumerationResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods sizeOf :: SDL_EnumerationResult -> Int # alignment :: SDL_EnumerationResult -> Int # peekElemOff :: Ptr SDL_EnumerationResult -> Int -> IO SDL_EnumerationResult # pokeElemOff :: Ptr SDL_EnumerationResult -> Int -> SDL_EnumerationResult -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_EnumerationResult # pokeByteOff :: Ptr b -> Int -> SDL_EnumerationResult -> IO () # peek :: Ptr SDL_EnumerationResult -> IO SDL_EnumerationResult # poke :: Ptr SDL_EnumerationResult -> SDL_EnumerationResult -> IO () # | |||||
| Generic SDL_EnumerationResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Associated Types
Methods from :: SDL_EnumerationResult -> Rep SDL_EnumerationResult x # to :: Rep SDL_EnumerationResult x -> SDL_EnumerationResult # | |||||
| Read SDL_EnumerationResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods readsPrec :: Int -> ReadS SDL_EnumerationResult # readList :: ReadS [SDL_EnumerationResult] # | |||||
| Show SDL_EnumerationResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods showsPrec :: Int -> SDL_EnumerationResult -> ShowS # show :: SDL_EnumerationResult -> String # showList :: [SDL_EnumerationResult] -> ShowS # | |||||
| Eq SDL_EnumerationResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods (==) :: SDL_EnumerationResult -> SDL_EnumerationResult -> Bool # (/=) :: SDL_EnumerationResult -> SDL_EnumerationResult -> Bool # | |||||
| Ord SDL_EnumerationResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods compare :: SDL_EnumerationResult -> SDL_EnumerationResult -> Ordering # (<) :: SDL_EnumerationResult -> SDL_EnumerationResult -> Bool # (<=) :: SDL_EnumerationResult -> SDL_EnumerationResult -> Bool # (>) :: SDL_EnumerationResult -> SDL_EnumerationResult -> Bool # (>=) :: SDL_EnumerationResult -> SDL_EnumerationResult -> Bool # max :: SDL_EnumerationResult -> SDL_EnumerationResult -> SDL_EnumerationResult # min :: SDL_EnumerationResult -> SDL_EnumerationResult -> SDL_EnumerationResult # | |||||
| Prim SDL_EnumerationResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods sizeOfType# :: Proxy SDL_EnumerationResult -> Int# # sizeOf# :: SDL_EnumerationResult -> Int# # alignmentOfType# :: Proxy SDL_EnumerationResult -> Int# # alignment# :: SDL_EnumerationResult -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_EnumerationResult # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_EnumerationResult #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_EnumerationResult -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_EnumerationResult -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_EnumerationResult # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_EnumerationResult #) # writeOffAddr# :: Addr# -> Int# -> SDL_EnumerationResult -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_EnumerationResult -> State# s -> State# s # | |||||
| CEnum SDL_EnumerationResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Associated Types
Methods toCEnum :: CEnumZ SDL_EnumerationResult -> SDL_EnumerationResult # fromCEnum :: SDL_EnumerationResult -> CEnumZ SDL_EnumerationResult # declaredValues :: proxy SDL_EnumerationResult -> DeclaredValues SDL_EnumerationResult # showsUndeclared :: proxy SDL_EnumerationResult -> Int -> CEnumZ SDL_EnumerationResult -> ShowS # readPrecUndeclared :: ReadPrec SDL_EnumerationResult # isDeclared :: SDL_EnumerationResult -> Bool # mkDeclared :: CEnumZ SDL_EnumerationResult -> Maybe SDL_EnumerationResult # | |||||
| SequentialCEnum SDL_EnumerationResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem | |||||
| HasFFIType SDL_EnumerationResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Associated Types
| |||||
| ReadRaw SDL_EnumerationResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods readRaw :: Ptr SDL_EnumerationResult -> IO SDL_EnumerationResult # | |||||
| StaticSize SDL_EnumerationResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods | |||||
| WriteRaw SDL_EnumerationResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods writeRaw :: Ptr SDL_EnumerationResult -> SDL_EnumerationResult -> IO () # | |||||
| HasCField SDL_EnumerationResult "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_EnumerationResult ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods hasField :: SDL_EnumerationResult -> (ty -> SDL_EnumerationResult, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_EnumerationResult) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods getField :: Ptr SDL_EnumerationResult -> Ptr ty # | |||||
| type Rep SDL_EnumerationResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem type Rep SDL_EnumerationResult = D1 ('MetaData "SDL_EnumerationResult" "SDL3.Sys.Bindgen.Filesystem" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_EnumerationResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_EnumerationResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem | |||||
| type FFIType SDL_EnumerationResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem | |||||
| type CFieldType SDL_EnumerationResult "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem | |||||
pattern SDL_ENUM_CONTINUE :: SDL_EnumerationResult Source #
Value that requests that enumeration continue.
- C declaration
SDL_ENUM_CONTINUE, defined atSDL3/SDL_filesystem.h 315:5
pattern SDL_ENUM_SUCCESS :: SDL_EnumerationResult Source #
Value that requests that enumeration stop, successfully.
- C declaration
SDL_ENUM_SUCCESS, defined atSDL3/SDL_filesystem.h 316:5
pattern SDL_ENUM_FAILURE :: SDL_EnumerationResult Source #
Value that requests that enumeration stop, as a failure.
- C declaration
SDL_ENUM_FAILURE, defined atSDL3/SDL_filesystem.h 317:5
newtype SDL_EnumerateDirectoryCallback_Aux Source #
Auxiliary type used by SDL_EnumerateDirectoryCallback
- C declaration
SDL_EnumerateDirectoryCallback, defined atSDL3/SDL_filesystem.h 344:41
Constructors
| SDL_EnumerateDirectoryCallback_Aux | |
Instances
| Generic SDL_EnumerateDirectoryCallback_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Associated Types
| |||||
| FromFunPtr SDL_EnumerateDirectoryCallback_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem | |||||
| ToFunPtr SDL_EnumerateDirectoryCallback_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem | |||||
| HasCField SDL_EnumerateDirectoryCallback_Aux "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Associated Types
| |||||
| ty ~ (Ptr Void -> PtrConst CChar -> PtrConst CChar -> IO SDL_EnumerationResult) => HasField "unwrap" SDL_EnumerateDirectoryCallback_Aux ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods hasField :: SDL_EnumerateDirectoryCallback_Aux -> (ty -> SDL_EnumerateDirectoryCallback_Aux, ty) # | |||||
| ty ~ (Ptr Void -> PtrConst CChar -> PtrConst CChar -> IO SDL_EnumerationResult) => HasField "unwrap" (Ptr SDL_EnumerateDirectoryCallback_Aux) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods getField :: Ptr SDL_EnumerateDirectoryCallback_Aux -> Ptr ty # | |||||
| type Rep SDL_EnumerateDirectoryCallback_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem type Rep SDL_EnumerateDirectoryCallback_Aux = D1 ('MetaData "SDL_EnumerateDirectoryCallback_Aux" "SDL3.Sys.Bindgen.Filesystem" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_EnumerateDirectoryCallback_Aux" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Ptr Void -> PtrConst CChar -> PtrConst CChar -> IO SDL_EnumerationResult)))) | |||||
| type CFieldType SDL_EnumerateDirectoryCallback_Aux "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem type CFieldType SDL_EnumerateDirectoryCallback_Aux "unwrap" = Ptr Void -> PtrConst CChar -> PtrConst CChar -> IO SDL_EnumerationResult | |||||
newtype SDL_EnumerateDirectoryCallback Source #
Callback for directory enumeration.
Enumeration of directory entries will continue until either all entries have been provided to the callback, or the callback has requested a stop through its return value.
Returning SDL_ENUM_CONTINUE will let enumeration proceed, calling the callback with further entries. SDL_ENUM_SUCCESS and SDL_ENUM_FAILURE will terminate the enumeration early, and dictate the return value of the enumeration function itself.
dirname is guaranteed to end with a path separator ('\' on Windows, '/' on most other platforms).
userdata- an app-controlled pointer that is passed to the callback.
dirname- the directory that is being enumerated.
fname- the next entry in the enumeration.
- Returns
- how the enumeration should proceed.
- See also
sDL_EnumerateDirectory- C declaration
SDL_EnumerateDirectoryCallback, defined atSDL3/SDL_filesystem.h 344:41
Since: 3.2.0
Constructors
| SDL_EnumerateDirectoryCallback | |
Instances
| Storable SDL_EnumerateDirectoryCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods sizeOf :: SDL_EnumerateDirectoryCallback -> Int # alignment :: SDL_EnumerateDirectoryCallback -> Int # peekElemOff :: Ptr SDL_EnumerateDirectoryCallback -> Int -> IO SDL_EnumerateDirectoryCallback # pokeElemOff :: Ptr SDL_EnumerateDirectoryCallback -> Int -> SDL_EnumerateDirectoryCallback -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_EnumerateDirectoryCallback # pokeByteOff :: Ptr b -> Int -> SDL_EnumerateDirectoryCallback -> IO () # peek :: Ptr SDL_EnumerateDirectoryCallback -> IO SDL_EnumerateDirectoryCallback # poke :: Ptr SDL_EnumerateDirectoryCallback -> SDL_EnumerateDirectoryCallback -> IO () # | |||||
| Generic SDL_EnumerateDirectoryCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Associated Types
| |||||
| Show SDL_EnumerateDirectoryCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods showsPrec :: Int -> SDL_EnumerateDirectoryCallback -> ShowS # show :: SDL_EnumerateDirectoryCallback -> String # showList :: [SDL_EnumerateDirectoryCallback] -> ShowS # | |||||
| Eq SDL_EnumerateDirectoryCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem | |||||
| Ord SDL_EnumerateDirectoryCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods compare :: SDL_EnumerateDirectoryCallback -> SDL_EnumerateDirectoryCallback -> Ordering # (<) :: SDL_EnumerateDirectoryCallback -> SDL_EnumerateDirectoryCallback -> Bool # (<=) :: SDL_EnumerateDirectoryCallback -> SDL_EnumerateDirectoryCallback -> Bool # (>) :: SDL_EnumerateDirectoryCallback -> SDL_EnumerateDirectoryCallback -> Bool # (>=) :: SDL_EnumerateDirectoryCallback -> SDL_EnumerateDirectoryCallback -> Bool # max :: SDL_EnumerateDirectoryCallback -> SDL_EnumerateDirectoryCallback -> SDL_EnumerateDirectoryCallback # min :: SDL_EnumerateDirectoryCallback -> SDL_EnumerateDirectoryCallback -> SDL_EnumerateDirectoryCallback # | |||||
| HasFFIType SDL_EnumerateDirectoryCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Associated Types
| |||||
| ReadRaw SDL_EnumerateDirectoryCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem | |||||
| StaticSize SDL_EnumerateDirectoryCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods staticSizeOf :: Proxy SDL_EnumerateDirectoryCallback -> Int # staticAlignment :: Proxy SDL_EnumerateDirectoryCallback -> Int # | |||||
| WriteRaw SDL_EnumerateDirectoryCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods writeRaw :: Ptr SDL_EnumerateDirectoryCallback -> SDL_EnumerateDirectoryCallback -> IO () # | |||||
| HasCField SDL_EnumerateDirectoryCallback "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Associated Types
| |||||
| ty ~ FunPtr SDL_EnumerateDirectoryCallback_Aux => HasField "unwrap" SDL_EnumerateDirectoryCallback ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods hasField :: SDL_EnumerateDirectoryCallback -> (ty -> SDL_EnumerateDirectoryCallback, ty) # | |||||
| ty ~ FunPtr SDL_EnumerateDirectoryCallback_Aux => HasField "unwrap" (Ptr SDL_EnumerateDirectoryCallback) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem Methods getField :: Ptr SDL_EnumerateDirectoryCallback -> Ptr ty # | |||||
| type Rep SDL_EnumerateDirectoryCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem type Rep SDL_EnumerateDirectoryCallback = D1 ('MetaData "SDL_EnumerateDirectoryCallback" "SDL3.Sys.Bindgen.Filesystem" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_EnumerateDirectoryCallback" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (FunPtr SDL_EnumerateDirectoryCallback_Aux)))) | |||||
| type FFIType SDL_EnumerateDirectoryCallback Source # | |||||
| type CFieldType SDL_EnumerateDirectoryCallback "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Filesystem | |||||