{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Filesystem.FunPtr (
SDL3.Sys.Bindgen.Filesystem.FunPtr.sDL_GetBasePath,
SDL3.Sys.Bindgen.Filesystem.FunPtr.sDL_GetPrefPath,
SDL3.Sys.Bindgen.Filesystem.FunPtr.sDL_GetUserFolder,
SDL3.Sys.Bindgen.Filesystem.FunPtr.sDL_CreateDirectory,
SDL3.Sys.Bindgen.Filesystem.FunPtr.sDL_EnumerateDirectory,
SDL3.Sys.Bindgen.Filesystem.FunPtr.sDL_RemovePath,
SDL3.Sys.Bindgen.Filesystem.FunPtr.sDL_RenamePath,
SDL3.Sys.Bindgen.Filesystem.FunPtr.sDL_CopyFile,
SDL3.Sys.Bindgen.Filesystem.FunPtr.sDL_GetPathInfo,
SDL3.Sys.Bindgen.Filesystem.FunPtr.sDL_GlobDirectory,
SDL3.Sys.Bindgen.Filesystem.FunPtr.sDL_GetCurrentDirectory,
)
where
import Prelude (IO, fmap)
import HsBindgen.Runtime.PtrConst qualified as PtrConst
import HsBindgen.Runtime.Support qualified as BG
import HsBindgen.Runtime.Support.CAPI qualified
import SDL3.Sys.Bindgen.Filesystem
$( HsBindgen.Runtime.Support.CAPI.addCSource
( HsBindgen.Runtime.Support.CAPI.unlines
[ "#define SDL_MAIN_HANDLED"
, "#define SDL_SLOW_MEMCPY"
, "#define SDL_SLOW_MEMMOVE"
, "#define SDL_SLOW_MEMSET"
, "#include <SDL3/SDL_filesystem.h>"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Filesystem_get_SDL_GetBasePath */"
, "__attribute__ ((const))"
, "char const *(*hs_bindgen_2ed5dba72836bf2d (void)) (void)"
, "{"
, " return &SDL_GetBasePath;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Filesystem_get_SDL_GetPrefPath */"
, "__attribute__ ((const))"
, "char *(*hs_bindgen_693f7d2fd575601d (void)) ("
, " char const *arg1,"
, " char const *arg2"
, ")"
, "{"
, " return &SDL_GetPrefPath;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Filesystem_get_SDL_GetUserFolder */"
, "__attribute__ ((const))"
, "char const *(*hs_bindgen_53fe991909d2361a (void)) ("
, " SDL_Folder arg1"
, ")"
, "{"
, " return &SDL_GetUserFolder;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Filesystem_get_SDL_CreateDirectory */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_2a04cc89206a07e4 (void)) ("
, " char const *arg1"
, ")"
, "{"
, " return &SDL_CreateDirectory;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Filesystem_get_SDL_EnumerateDirectory */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_f96b84c7478907dc (void)) ("
, " char const *arg1,"
, " SDL_EnumerateDirectoryCallback arg2,"
, " void *arg3"
, ")"
, "{"
, " return &SDL_EnumerateDirectory;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Filesystem_get_SDL_RemovePath */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_4ae39f185b082764 (void)) ("
, " char const *arg1"
, ")"
, "{"
, " return &SDL_RemovePath;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Filesystem_get_SDL_RenamePath */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_adef5cb596ea35b1 (void)) ("
, " char const *arg1,"
, " char const *arg2"
, ")"
, "{"
, " return &SDL_RenamePath;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Filesystem_get_SDL_CopyFile */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_0ba2df1188540129 (void)) ("
, " char const *arg1,"
, " char const *arg2"
, ")"
, "{"
, " return &SDL_CopyFile;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Filesystem_get_SDL_GetPathInfo */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_e161df4dd9e79e80 (void)) ("
, " char const *arg1,"
, " SDL_PathInfo *arg2"
, ")"
, "{"
, " return &SDL_GetPathInfo;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Filesystem_get_SDL_GlobDirectory */"
, "__attribute__ ((const))"
, "char **(*hs_bindgen_ddd930892e7124f6 (void)) ("
, " char const *arg1,"
, " char const *arg2,"
, " SDL_GlobFlags arg3,"
, " signed int *arg4"
, ")"
, "{"
, " return &SDL_GlobDirectory;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Filesystem_get_SDL_GetCurrentDirectory */"
, "__attribute__ ((const))"
, "char *(*hs_bindgen_8a07612d881643ee (void)) (void)"
, "{"
, " return &SDL_GetCurrentDirectory;"
, "}"
]
)
)
foreign import ccall unsafe "hs_bindgen_2ed5dba72836bf2d"
hs_bindgen_2ed5dba72836bf2d_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_2ed5dba72836bf2d :: IO (BG.FunPtr (IO (PtrConst.PtrConst BG.CChar)))
hs_bindgen_2ed5dba72836bf2d :: IO (FunPtr (IO (PtrConst CChar)))
hs_bindgen_2ed5dba72836bf2d =
(FunPtr Void -> FunPtr (IO (PtrConst CChar)))
-> IO (FunPtr Void) -> IO (FunPtr (IO (PtrConst CChar)))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (IO (PtrConst CChar))
FFIType (FunPtr (IO (PtrConst CChar)))
-> FunPtr (IO (PtrConst CChar))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_2ed5dba72836bf2d_base
{-# NOINLINE sDL_GetBasePath #-}
sDL_GetBasePath :: BG.FunPtr (IO (PtrConst.PtrConst BG.CChar))
sDL_GetBasePath :: FunPtr (IO (PtrConst CChar))
sDL_GetBasePath =
IO (FunPtr (IO (PtrConst CChar))) -> FunPtr (IO (PtrConst CChar))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO (PtrConst CChar)))
hs_bindgen_2ed5dba72836bf2d
foreign import ccall unsafe "hs_bindgen_693f7d2fd575601d"
hs_bindgen_693f7d2fd575601d_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_693f7d2fd575601d
:: IO (BG.FunPtr (PtrConst.PtrConst BG.CChar -> PtrConst.PtrConst BG.CChar -> IO (BG.Ptr BG.CChar)))
hs_bindgen_693f7d2fd575601d :: IO (FunPtr (PtrConst CChar -> PtrConst CChar -> IO (Ptr CChar)))
hs_bindgen_693f7d2fd575601d =
(FunPtr Void
-> FunPtr (PtrConst CChar -> PtrConst CChar -> IO (Ptr CChar)))
-> IO (FunPtr Void)
-> IO (FunPtr (PtrConst CChar -> PtrConst CChar -> IO (Ptr CChar)))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr (PtrConst CChar -> PtrConst CChar -> IO (Ptr CChar))
FFIType
(FunPtr (PtrConst CChar -> PtrConst CChar -> IO (Ptr CChar)))
-> FunPtr (PtrConst CChar -> PtrConst CChar -> IO (Ptr CChar))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_693f7d2fd575601d_base
{-# NOINLINE sDL_GetPrefPath #-}
sDL_GetPrefPath
:: BG.FunPtr (PtrConst.PtrConst BG.CChar -> PtrConst.PtrConst BG.CChar -> IO (BG.Ptr BG.CChar))
sDL_GetPrefPath :: FunPtr (PtrConst CChar -> PtrConst CChar -> IO (Ptr CChar))
sDL_GetPrefPath =
IO (FunPtr (PtrConst CChar -> PtrConst CChar -> IO (Ptr CChar)))
-> FunPtr (PtrConst CChar -> PtrConst CChar -> IO (Ptr CChar))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (PtrConst CChar -> PtrConst CChar -> IO (Ptr CChar)))
hs_bindgen_693f7d2fd575601d
foreign import ccall unsafe "hs_bindgen_53fe991909d2361a"
hs_bindgen_53fe991909d2361a_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_53fe991909d2361a :: IO (BG.FunPtr (SDL_Folder -> IO (PtrConst.PtrConst BG.CChar)))
hs_bindgen_53fe991909d2361a :: IO (FunPtr (SDL_Folder -> IO (PtrConst CChar)))
hs_bindgen_53fe991909d2361a =
(FunPtr Void -> FunPtr (SDL_Folder -> IO (PtrConst CChar)))
-> IO (FunPtr Void)
-> IO (FunPtr (SDL_Folder -> IO (PtrConst CChar)))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (SDL_Folder -> IO (PtrConst CChar))
FFIType (FunPtr (SDL_Folder -> IO (PtrConst CChar)))
-> FunPtr (SDL_Folder -> IO (PtrConst CChar))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_53fe991909d2361a_base
{-# NOINLINE sDL_GetUserFolder #-}
sDL_GetUserFolder :: BG.FunPtr (SDL_Folder -> IO (PtrConst.PtrConst BG.CChar))
sDL_GetUserFolder :: FunPtr (SDL_Folder -> IO (PtrConst CChar))
sDL_GetUserFolder =
IO (FunPtr (SDL_Folder -> IO (PtrConst CChar)))
-> FunPtr (SDL_Folder -> IO (PtrConst CChar))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_Folder -> IO (PtrConst CChar)))
hs_bindgen_53fe991909d2361a
foreign import ccall unsafe "hs_bindgen_2a04cc89206a07e4"
hs_bindgen_2a04cc89206a07e4_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_2a04cc89206a07e4 :: IO (BG.FunPtr (PtrConst.PtrConst BG.CChar -> IO BG.CBool))
hs_bindgen_2a04cc89206a07e4 :: IO (FunPtr (PtrConst CChar -> IO CBool))
hs_bindgen_2a04cc89206a07e4 =
(FunPtr Void -> FunPtr (PtrConst CChar -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (PtrConst CChar -> IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (PtrConst CChar -> IO CBool)
FFIType (FunPtr (PtrConst CChar -> IO CBool))
-> FunPtr (PtrConst CChar -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_2a04cc89206a07e4_base
{-# NOINLINE sDL_CreateDirectory #-}
sDL_CreateDirectory :: BG.FunPtr (PtrConst.PtrConst BG.CChar -> IO BG.CBool)
sDL_CreateDirectory :: FunPtr (PtrConst CChar -> IO CBool)
sDL_CreateDirectory =
IO (FunPtr (PtrConst CChar -> IO CBool))
-> FunPtr (PtrConst CChar -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (PtrConst CChar -> IO CBool))
hs_bindgen_2a04cc89206a07e4
foreign import ccall unsafe "hs_bindgen_f96b84c7478907dc"
hs_bindgen_f96b84c7478907dc_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_f96b84c7478907dc
:: IO
( BG.FunPtr
(PtrConst.PtrConst BG.CChar -> SDL_EnumerateDirectoryCallback -> BG.Ptr BG.Void -> IO BG.CBool)
)
hs_bindgen_f96b84c7478907dc :: IO
(FunPtr
(PtrConst CChar
-> SDL_EnumerateDirectoryCallback -> Ptr Void -> IO CBool))
hs_bindgen_f96b84c7478907dc =
(FunPtr Void
-> FunPtr
(PtrConst CChar
-> SDL_EnumerateDirectoryCallback -> Ptr Void -> IO CBool))
-> IO (FunPtr Void)
-> IO
(FunPtr
(PtrConst CChar
-> SDL_EnumerateDirectoryCallback -> Ptr Void -> IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr
(PtrConst CChar
-> SDL_EnumerateDirectoryCallback -> Ptr Void -> IO CBool)
FFIType
(FunPtr
(PtrConst CChar
-> SDL_EnumerateDirectoryCallback -> Ptr Void -> IO CBool))
-> FunPtr
(PtrConst CChar
-> SDL_EnumerateDirectoryCallback -> Ptr Void -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_f96b84c7478907dc_base
{-# NOINLINE sDL_EnumerateDirectory #-}
sDL_EnumerateDirectory
:: BG.FunPtr
(PtrConst.PtrConst BG.CChar -> SDL_EnumerateDirectoryCallback -> BG.Ptr BG.Void -> IO BG.CBool)
sDL_EnumerateDirectory :: FunPtr
(PtrConst CChar
-> SDL_EnumerateDirectoryCallback -> Ptr Void -> IO CBool)
sDL_EnumerateDirectory =
IO
(FunPtr
(PtrConst CChar
-> SDL_EnumerateDirectoryCallback -> Ptr Void -> IO CBool))
-> FunPtr
(PtrConst CChar
-> SDL_EnumerateDirectoryCallback -> Ptr Void -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO
(FunPtr
(PtrConst CChar
-> SDL_EnumerateDirectoryCallback -> Ptr Void -> IO CBool))
hs_bindgen_f96b84c7478907dc
foreign import ccall unsafe "hs_bindgen_4ae39f185b082764"
hs_bindgen_4ae39f185b082764_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_4ae39f185b082764 :: IO (BG.FunPtr (PtrConst.PtrConst BG.CChar -> IO BG.CBool))
hs_bindgen_4ae39f185b082764 :: IO (FunPtr (PtrConst CChar -> IO CBool))
hs_bindgen_4ae39f185b082764 =
(FunPtr Void -> FunPtr (PtrConst CChar -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (PtrConst CChar -> IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (PtrConst CChar -> IO CBool)
FFIType (FunPtr (PtrConst CChar -> IO CBool))
-> FunPtr (PtrConst CChar -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_4ae39f185b082764_base
{-# NOINLINE sDL_RemovePath #-}
sDL_RemovePath :: BG.FunPtr (PtrConst.PtrConst BG.CChar -> IO BG.CBool)
sDL_RemovePath :: FunPtr (PtrConst CChar -> IO CBool)
sDL_RemovePath =
IO (FunPtr (PtrConst CChar -> IO CBool))
-> FunPtr (PtrConst CChar -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (PtrConst CChar -> IO CBool))
hs_bindgen_4ae39f185b082764
foreign import ccall unsafe "hs_bindgen_adef5cb596ea35b1"
hs_bindgen_adef5cb596ea35b1_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_adef5cb596ea35b1
:: IO (BG.FunPtr (PtrConst.PtrConst BG.CChar -> PtrConst.PtrConst BG.CChar -> IO BG.CBool))
hs_bindgen_adef5cb596ea35b1 :: IO (FunPtr (PtrConst CChar -> PtrConst CChar -> IO CBool))
hs_bindgen_adef5cb596ea35b1 =
(FunPtr Void
-> FunPtr (PtrConst CChar -> PtrConst CChar -> IO CBool))
-> IO (FunPtr Void)
-> IO (FunPtr (PtrConst CChar -> PtrConst CChar -> IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr (PtrConst CChar -> PtrConst CChar -> IO CBool)
FFIType (FunPtr (PtrConst CChar -> PtrConst CChar -> IO CBool))
-> FunPtr (PtrConst CChar -> PtrConst CChar -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_adef5cb596ea35b1_base
{-# NOINLINE sDL_RenamePath #-}
sDL_RenamePath
:: BG.FunPtr (PtrConst.PtrConst BG.CChar -> PtrConst.PtrConst BG.CChar -> IO BG.CBool)
sDL_RenamePath :: FunPtr (PtrConst CChar -> PtrConst CChar -> IO CBool)
sDL_RenamePath =
IO (FunPtr (PtrConst CChar -> PtrConst CChar -> IO CBool))
-> FunPtr (PtrConst CChar -> PtrConst CChar -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (PtrConst CChar -> PtrConst CChar -> IO CBool))
hs_bindgen_adef5cb596ea35b1
foreign import ccall unsafe "hs_bindgen_0ba2df1188540129"
hs_bindgen_0ba2df1188540129_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_0ba2df1188540129
:: IO (BG.FunPtr (PtrConst.PtrConst BG.CChar -> PtrConst.PtrConst BG.CChar -> IO BG.CBool))
hs_bindgen_0ba2df1188540129 :: IO (FunPtr (PtrConst CChar -> PtrConst CChar -> IO CBool))
hs_bindgen_0ba2df1188540129 =
(FunPtr Void
-> FunPtr (PtrConst CChar -> PtrConst CChar -> IO CBool))
-> IO (FunPtr Void)
-> IO (FunPtr (PtrConst CChar -> PtrConst CChar -> IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr (PtrConst CChar -> PtrConst CChar -> IO CBool)
FFIType (FunPtr (PtrConst CChar -> PtrConst CChar -> IO CBool))
-> FunPtr (PtrConst CChar -> PtrConst CChar -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_0ba2df1188540129_base
{-# NOINLINE sDL_CopyFile #-}
sDL_CopyFile :: BG.FunPtr (PtrConst.PtrConst BG.CChar -> PtrConst.PtrConst BG.CChar -> IO BG.CBool)
sDL_CopyFile :: FunPtr (PtrConst CChar -> PtrConst CChar -> IO CBool)
sDL_CopyFile =
IO (FunPtr (PtrConst CChar -> PtrConst CChar -> IO CBool))
-> FunPtr (PtrConst CChar -> PtrConst CChar -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (PtrConst CChar -> PtrConst CChar -> IO CBool))
hs_bindgen_0ba2df1188540129
foreign import ccall unsafe "hs_bindgen_e161df4dd9e79e80"
hs_bindgen_e161df4dd9e79e80_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_e161df4dd9e79e80
:: IO (BG.FunPtr (PtrConst.PtrConst BG.CChar -> BG.Ptr SDL_PathInfo -> IO BG.CBool))
hs_bindgen_e161df4dd9e79e80 :: IO (FunPtr (PtrConst CChar -> Ptr SDL_PathInfo -> IO CBool))
hs_bindgen_e161df4dd9e79e80 =
(FunPtr Void
-> FunPtr (PtrConst CChar -> Ptr SDL_PathInfo -> IO CBool))
-> IO (FunPtr Void)
-> IO (FunPtr (PtrConst CChar -> Ptr SDL_PathInfo -> IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr (PtrConst CChar -> Ptr SDL_PathInfo -> IO CBool)
FFIType (FunPtr (PtrConst CChar -> Ptr SDL_PathInfo -> IO CBool))
-> FunPtr (PtrConst CChar -> Ptr SDL_PathInfo -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_e161df4dd9e79e80_base
{-# NOINLINE sDL_GetPathInfo #-}
sDL_GetPathInfo :: BG.FunPtr (PtrConst.PtrConst BG.CChar -> BG.Ptr SDL_PathInfo -> IO BG.CBool)
sDL_GetPathInfo :: FunPtr (PtrConst CChar -> Ptr SDL_PathInfo -> IO CBool)
sDL_GetPathInfo =
IO (FunPtr (PtrConst CChar -> Ptr SDL_PathInfo -> IO CBool))
-> FunPtr (PtrConst CChar -> Ptr SDL_PathInfo -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (PtrConst CChar -> Ptr SDL_PathInfo -> IO CBool))
hs_bindgen_e161df4dd9e79e80
foreign import ccall unsafe "hs_bindgen_ddd930892e7124f6"
hs_bindgen_ddd930892e7124f6_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_ddd930892e7124f6
:: IO
( BG.FunPtr
( PtrConst.PtrConst BG.CChar
-> PtrConst.PtrConst BG.CChar
-> SDL_GlobFlags
-> BG.Ptr BG.CInt
-> IO (BG.Ptr (BG.Ptr BG.CChar))
)
)
hs_bindgen_ddd930892e7124f6 :: IO
(FunPtr
(PtrConst CChar
-> PtrConst CChar
-> SDL_GlobFlags
-> Ptr CInt
-> IO (Ptr (Ptr CChar))))
hs_bindgen_ddd930892e7124f6 =
(FunPtr Void
-> FunPtr
(PtrConst CChar
-> PtrConst CChar
-> SDL_GlobFlags
-> Ptr CInt
-> IO (Ptr (Ptr CChar))))
-> IO (FunPtr Void)
-> IO
(FunPtr
(PtrConst CChar
-> PtrConst CChar
-> SDL_GlobFlags
-> Ptr CInt
-> IO (Ptr (Ptr CChar))))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr
(PtrConst CChar
-> PtrConst CChar
-> SDL_GlobFlags
-> Ptr CInt
-> IO (Ptr (Ptr CChar)))
FFIType
(FunPtr
(PtrConst CChar
-> PtrConst CChar
-> SDL_GlobFlags
-> Ptr CInt
-> IO (Ptr (Ptr CChar))))
-> FunPtr
(PtrConst CChar
-> PtrConst CChar
-> SDL_GlobFlags
-> Ptr CInt
-> IO (Ptr (Ptr CChar)))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_ddd930892e7124f6_base
{-# NOINLINE sDL_GlobDirectory #-}
sDL_GlobDirectory
:: BG.FunPtr
( PtrConst.PtrConst BG.CChar
-> PtrConst.PtrConst BG.CChar
-> SDL_GlobFlags
-> BG.Ptr BG.CInt
-> IO (BG.Ptr (BG.Ptr BG.CChar))
)
sDL_GlobDirectory :: FunPtr
(PtrConst CChar
-> PtrConst CChar
-> SDL_GlobFlags
-> Ptr CInt
-> IO (Ptr (Ptr CChar)))
sDL_GlobDirectory =
IO
(FunPtr
(PtrConst CChar
-> PtrConst CChar
-> SDL_GlobFlags
-> Ptr CInt
-> IO (Ptr (Ptr CChar))))
-> FunPtr
(PtrConst CChar
-> PtrConst CChar
-> SDL_GlobFlags
-> Ptr CInt
-> IO (Ptr (Ptr CChar)))
forall a. IO a -> a
BG.unsafePerformIO IO
(FunPtr
(PtrConst CChar
-> PtrConst CChar
-> SDL_GlobFlags
-> Ptr CInt
-> IO (Ptr (Ptr CChar))))
hs_bindgen_ddd930892e7124f6
foreign import ccall unsafe "hs_bindgen_8a07612d881643ee"
hs_bindgen_8a07612d881643ee_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_8a07612d881643ee :: IO (BG.FunPtr (IO (BG.Ptr BG.CChar)))
hs_bindgen_8a07612d881643ee :: IO (FunPtr (IO (Ptr CChar)))
hs_bindgen_8a07612d881643ee =
(FunPtr Void -> FunPtr (IO (Ptr CChar)))
-> IO (FunPtr Void) -> IO (FunPtr (IO (Ptr CChar)))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (IO (Ptr CChar))
FFIType (FunPtr (IO (Ptr CChar))) -> FunPtr (IO (Ptr CChar))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_8a07612d881643ee_base
{-# NOINLINE sDL_GetCurrentDirectory #-}
sDL_GetCurrentDirectory :: BG.FunPtr (IO (BG.Ptr BG.CChar))
sDL_GetCurrentDirectory :: FunPtr (IO (Ptr CChar))
sDL_GetCurrentDirectory =
IO (FunPtr (IO (Ptr CChar))) -> FunPtr (IO (Ptr CChar))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO (Ptr CChar)))
hs_bindgen_8a07612d881643ee