{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.System.FunPtr (
SDL3.Sys.Bindgen.System.FunPtr.sDL_SetX11EventHook,
SDL3.Sys.Bindgen.System.FunPtr.sDL_SetLinuxThreadPriority,
SDL3.Sys.Bindgen.System.FunPtr.sDL_SetLinuxThreadPriorityAndPolicy,
SDL3.Sys.Bindgen.System.FunPtr.sDL_IsTablet,
SDL3.Sys.Bindgen.System.FunPtr.sDL_IsTV,
SDL3.Sys.Bindgen.System.FunPtr.sDL_GetSandbox,
SDL3.Sys.Bindgen.System.FunPtr.sDL_OnApplicationWillTerminate,
SDL3.Sys.Bindgen.System.FunPtr.sDL_OnApplicationDidReceiveMemoryWarning,
SDL3.Sys.Bindgen.System.FunPtr.sDL_OnApplicationWillEnterBackground,
SDL3.Sys.Bindgen.System.FunPtr.sDL_OnApplicationDidEnterBackground,
SDL3.Sys.Bindgen.System.FunPtr.sDL_OnApplicationWillEnterForeground,
SDL3.Sys.Bindgen.System.FunPtr.sDL_OnApplicationDidEnterForeground,
)
where
import Prelude (IO, fmap)
import HsBindgen.Runtime.Support qualified as BG
import HsBindgen.Runtime.Support.CAPI qualified
import SDL3.Sys.Bindgen.Stdinc qualified
import SDL3.Sys.Bindgen.System
$( 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_system.h>"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.System_get_SDL_SetX11EventHook */"
, "__attribute__ ((const))"
, "void (*hs_bindgen_c8461cbd9f660faf (void)) ("
, " SDL_X11EventHook arg1,"
, " void *arg2"
, ")"
, "{"
, " return &SDL_SetX11EventHook;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.System_get_SDL_SetLinuxThreadPriority */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_1f8bde1858fb4a87 (void)) ("
, " Sint64 arg1,"
, " signed int arg2"
, ")"
, "{"
, "#ifdef SDL_PLATFORM_LINUX"
, " return &SDL_SetLinuxThreadPriority;"
, "#else"
, " SDL_SetError(\"SDL_SetLinuxThreadPriority is only available on Linux\"); return 0;"
, "#endif"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.System_get_SDL_SetLinuxThreadPriorityAndPolicy */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_cfce4d2d582fd59d (void)) ("
, " Sint64 arg1,"
, " signed int arg2,"
, " signed int arg3"
, ")"
, "{"
, "#ifdef SDL_PLATFORM_LINUX"
, " return &SDL_SetLinuxThreadPriorityAndPolicy;"
, "#else"
, " SDL_SetError(\"SDL_SetLinuxThreadPriorityAndPolicy is only available on Linux\"); return 0;"
, "#endif"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.System_get_SDL_IsTablet */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_9f492756c66f0817 (void)) (void)"
, "{"
, " return &SDL_IsTablet;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.System_get_SDL_IsTV */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_cf95d51f81b9ae05 (void)) (void)"
, "{"
, " return &SDL_IsTV;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.System_get_SDL_GetSandbox */"
, "__attribute__ ((const))"
, "SDL_Sandbox (*hs_bindgen_ec479faeb61e5dcc (void)) (void)"
, "{"
, " return &SDL_GetSandbox;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.System_get_SDL_OnApplicationWillTerminate */"
, "__attribute__ ((const))"
, "void (*hs_bindgen_d4425ea7b77d90a5 (void)) (void)"
, "{"
, " return &SDL_OnApplicationWillTerminate;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.System_get_SDL_OnApplicationDidReceiveMemoryWarning */"
, "__attribute__ ((const))"
, "void (*hs_bindgen_48da35892737056a (void)) (void)"
, "{"
, " return &SDL_OnApplicationDidReceiveMemoryWarning;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.System_get_SDL_OnApplicationWillEnterBackground */"
, "__attribute__ ((const))"
, "void (*hs_bindgen_b39763efba45615f (void)) (void)"
, "{"
, " return &SDL_OnApplicationWillEnterBackground;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.System_get_SDL_OnApplicationDidEnterBackground */"
, "__attribute__ ((const))"
, "void (*hs_bindgen_4930cfe88ee2ea33 (void)) (void)"
, "{"
, " return &SDL_OnApplicationDidEnterBackground;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.System_get_SDL_OnApplicationWillEnterForeground */"
, "__attribute__ ((const))"
, "void (*hs_bindgen_e6a127de1e095a24 (void)) (void)"
, "{"
, " return &SDL_OnApplicationWillEnterForeground;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.System_get_SDL_OnApplicationDidEnterForeground */"
, "__attribute__ ((const))"
, "void (*hs_bindgen_6ee69ef9852cabc3 (void)) (void)"
, "{"
, " return &SDL_OnApplicationDidEnterForeground;"
, "}"
]
)
)
foreign import ccall unsafe "hs_bindgen_c8461cbd9f660faf"
hs_bindgen_c8461cbd9f660faf_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_c8461cbd9f660faf :: IO (BG.FunPtr (SDL_X11EventHook -> BG.Ptr BG.Void -> IO ()))
hs_bindgen_c8461cbd9f660faf :: IO (FunPtr (SDL_X11EventHook -> Ptr Void -> IO ()))
hs_bindgen_c8461cbd9f660faf =
(FunPtr Void -> FunPtr (SDL_X11EventHook -> Ptr Void -> IO ()))
-> IO (FunPtr Void)
-> IO (FunPtr (SDL_X11EventHook -> Ptr Void -> IO ()))
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_X11EventHook -> Ptr Void -> IO ())
FFIType (FunPtr (SDL_X11EventHook -> Ptr Void -> IO ()))
-> FunPtr (SDL_X11EventHook -> Ptr Void -> IO ())
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_c8461cbd9f660faf_base
{-# NOINLINE sDL_SetX11EventHook #-}
sDL_SetX11EventHook :: BG.FunPtr (SDL_X11EventHook -> BG.Ptr BG.Void -> IO ())
sDL_SetX11EventHook :: FunPtr (SDL_X11EventHook -> Ptr Void -> IO ())
sDL_SetX11EventHook =
IO (FunPtr (SDL_X11EventHook -> Ptr Void -> IO ()))
-> FunPtr (SDL_X11EventHook -> Ptr Void -> IO ())
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_X11EventHook -> Ptr Void -> IO ()))
hs_bindgen_c8461cbd9f660faf
foreign import ccall unsafe "hs_bindgen_1f8bde1858fb4a87"
hs_bindgen_1f8bde1858fb4a87_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_1f8bde1858fb4a87
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Stdinc.Sint64 -> BG.CInt -> IO BG.CBool))
hs_bindgen_1f8bde1858fb4a87 :: IO (FunPtr (Sint64 -> CInt -> IO CBool))
hs_bindgen_1f8bde1858fb4a87 =
(FunPtr Void -> FunPtr (Sint64 -> CInt -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (Sint64 -> CInt -> 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 (Sint64 -> CInt -> IO CBool)
FFIType (FunPtr (Sint64 -> CInt -> IO CBool))
-> FunPtr (Sint64 -> CInt -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_1f8bde1858fb4a87_base
{-# NOINLINE sDL_SetLinuxThreadPriority #-}
sDL_SetLinuxThreadPriority :: BG.FunPtr (SDL3.Sys.Bindgen.Stdinc.Sint64 -> BG.CInt -> IO BG.CBool)
sDL_SetLinuxThreadPriority :: FunPtr (Sint64 -> CInt -> IO CBool)
sDL_SetLinuxThreadPriority =
IO (FunPtr (Sint64 -> CInt -> IO CBool))
-> FunPtr (Sint64 -> CInt -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Sint64 -> CInt -> IO CBool))
hs_bindgen_1f8bde1858fb4a87
foreign import ccall unsafe "hs_bindgen_cfce4d2d582fd59d"
hs_bindgen_cfce4d2d582fd59d_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_cfce4d2d582fd59d
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Stdinc.Sint64 -> BG.CInt -> BG.CInt -> IO BG.CBool))
hs_bindgen_cfce4d2d582fd59d :: IO (FunPtr (Sint64 -> CInt -> CInt -> IO CBool))
hs_bindgen_cfce4d2d582fd59d =
(FunPtr Void -> FunPtr (Sint64 -> CInt -> CInt -> IO CBool))
-> IO (FunPtr Void)
-> IO (FunPtr (Sint64 -> CInt -> CInt -> 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 (Sint64 -> CInt -> CInt -> IO CBool)
FFIType (FunPtr (Sint64 -> CInt -> CInt -> IO CBool))
-> FunPtr (Sint64 -> CInt -> CInt -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_cfce4d2d582fd59d_base
{-# NOINLINE sDL_SetLinuxThreadPriorityAndPolicy #-}
sDL_SetLinuxThreadPriorityAndPolicy
:: BG.FunPtr (SDL3.Sys.Bindgen.Stdinc.Sint64 -> BG.CInt -> BG.CInt -> IO BG.CBool)
sDL_SetLinuxThreadPriorityAndPolicy :: FunPtr (Sint64 -> CInt -> CInt -> IO CBool)
sDL_SetLinuxThreadPriorityAndPolicy =
IO (FunPtr (Sint64 -> CInt -> CInt -> IO CBool))
-> FunPtr (Sint64 -> CInt -> CInt -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Sint64 -> CInt -> CInt -> IO CBool))
hs_bindgen_cfce4d2d582fd59d
foreign import ccall unsafe "hs_bindgen_9f492756c66f0817"
hs_bindgen_9f492756c66f0817_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_9f492756c66f0817 :: IO (BG.FunPtr (IO BG.CBool))
hs_bindgen_9f492756c66f0817 :: IO (FunPtr (IO CBool))
hs_bindgen_9f492756c66f0817 =
(FunPtr Void -> FunPtr (IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (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 (IO CBool)
FFIType (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_9f492756c66f0817_base
{-# NOINLINE sDL_IsTablet #-}
sDL_IsTablet :: BG.FunPtr (IO BG.CBool)
sDL_IsTablet :: FunPtr (IO CBool)
sDL_IsTablet =
IO (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CBool))
hs_bindgen_9f492756c66f0817
foreign import ccall unsafe "hs_bindgen_cf95d51f81b9ae05"
hs_bindgen_cf95d51f81b9ae05_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_cf95d51f81b9ae05 :: IO (BG.FunPtr (IO BG.CBool))
hs_bindgen_cf95d51f81b9ae05 :: IO (FunPtr (IO CBool))
hs_bindgen_cf95d51f81b9ae05 =
(FunPtr Void -> FunPtr (IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (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 (IO CBool)
FFIType (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_cf95d51f81b9ae05_base
{-# NOINLINE sDL_IsTV #-}
sDL_IsTV :: BG.FunPtr (IO BG.CBool)
sDL_IsTV :: FunPtr (IO CBool)
sDL_IsTV =
IO (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CBool))
hs_bindgen_cf95d51f81b9ae05
foreign import ccall unsafe "hs_bindgen_ec479faeb61e5dcc"
hs_bindgen_ec479faeb61e5dcc_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_ec479faeb61e5dcc :: IO (BG.FunPtr (IO SDL_Sandbox))
hs_bindgen_ec479faeb61e5dcc :: IO (FunPtr (IO SDL_Sandbox))
hs_bindgen_ec479faeb61e5dcc =
(FunPtr Void -> FunPtr (IO SDL_Sandbox))
-> IO (FunPtr Void) -> IO (FunPtr (IO SDL_Sandbox))
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 SDL_Sandbox)
FFIType (FunPtr (IO SDL_Sandbox)) -> FunPtr (IO SDL_Sandbox)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_ec479faeb61e5dcc_base
{-# NOINLINE sDL_GetSandbox #-}
sDL_GetSandbox :: BG.FunPtr (IO SDL_Sandbox)
sDL_GetSandbox :: FunPtr (IO SDL_Sandbox)
sDL_GetSandbox =
IO (FunPtr (IO SDL_Sandbox)) -> FunPtr (IO SDL_Sandbox)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO SDL_Sandbox))
hs_bindgen_ec479faeb61e5dcc
foreign import ccall unsafe "hs_bindgen_d4425ea7b77d90a5"
hs_bindgen_d4425ea7b77d90a5_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_d4425ea7b77d90a5 :: IO (BG.FunPtr (IO ()))
hs_bindgen_d4425ea7b77d90a5 :: IO (FunPtr (IO ()))
hs_bindgen_d4425ea7b77d90a5 =
(FunPtr Void -> FunPtr (IO ()))
-> IO (FunPtr Void) -> IO (FunPtr (IO ()))
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 ())
FFIType (FunPtr (IO ())) -> FunPtr (IO ())
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_d4425ea7b77d90a5_base
{-# NOINLINE sDL_OnApplicationWillTerminate #-}
sDL_OnApplicationWillTerminate :: BG.FunPtr (IO ())
sDL_OnApplicationWillTerminate :: FunPtr (IO ())
sDL_OnApplicationWillTerminate =
IO (FunPtr (IO ())) -> FunPtr (IO ())
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO ()))
hs_bindgen_d4425ea7b77d90a5
foreign import ccall unsafe "hs_bindgen_48da35892737056a"
hs_bindgen_48da35892737056a_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_48da35892737056a :: IO (BG.FunPtr (IO ()))
hs_bindgen_48da35892737056a :: IO (FunPtr (IO ()))
hs_bindgen_48da35892737056a =
(FunPtr Void -> FunPtr (IO ()))
-> IO (FunPtr Void) -> IO (FunPtr (IO ()))
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 ())
FFIType (FunPtr (IO ())) -> FunPtr (IO ())
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_48da35892737056a_base
{-# NOINLINE sDL_OnApplicationDidReceiveMemoryWarning #-}
sDL_OnApplicationDidReceiveMemoryWarning :: BG.FunPtr (IO ())
sDL_OnApplicationDidReceiveMemoryWarning :: FunPtr (IO ())
sDL_OnApplicationDidReceiveMemoryWarning =
IO (FunPtr (IO ())) -> FunPtr (IO ())
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO ()))
hs_bindgen_48da35892737056a
foreign import ccall unsafe "hs_bindgen_b39763efba45615f"
hs_bindgen_b39763efba45615f_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_b39763efba45615f :: IO (BG.FunPtr (IO ()))
hs_bindgen_b39763efba45615f :: IO (FunPtr (IO ()))
hs_bindgen_b39763efba45615f =
(FunPtr Void -> FunPtr (IO ()))
-> IO (FunPtr Void) -> IO (FunPtr (IO ()))
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 ())
FFIType (FunPtr (IO ())) -> FunPtr (IO ())
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_b39763efba45615f_base
{-# NOINLINE sDL_OnApplicationWillEnterBackground #-}
sDL_OnApplicationWillEnterBackground :: BG.FunPtr (IO ())
sDL_OnApplicationWillEnterBackground :: FunPtr (IO ())
sDL_OnApplicationWillEnterBackground =
IO (FunPtr (IO ())) -> FunPtr (IO ())
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO ()))
hs_bindgen_b39763efba45615f
foreign import ccall unsafe "hs_bindgen_4930cfe88ee2ea33"
hs_bindgen_4930cfe88ee2ea33_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_4930cfe88ee2ea33 :: IO (BG.FunPtr (IO ()))
hs_bindgen_4930cfe88ee2ea33 :: IO (FunPtr (IO ()))
hs_bindgen_4930cfe88ee2ea33 =
(FunPtr Void -> FunPtr (IO ()))
-> IO (FunPtr Void) -> IO (FunPtr (IO ()))
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 ())
FFIType (FunPtr (IO ())) -> FunPtr (IO ())
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_4930cfe88ee2ea33_base
{-# NOINLINE sDL_OnApplicationDidEnterBackground #-}
sDL_OnApplicationDidEnterBackground :: BG.FunPtr (IO ())
sDL_OnApplicationDidEnterBackground :: FunPtr (IO ())
sDL_OnApplicationDidEnterBackground =
IO (FunPtr (IO ())) -> FunPtr (IO ())
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO ()))
hs_bindgen_4930cfe88ee2ea33
foreign import ccall unsafe "hs_bindgen_e6a127de1e095a24"
hs_bindgen_e6a127de1e095a24_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_e6a127de1e095a24 :: IO (BG.FunPtr (IO ()))
hs_bindgen_e6a127de1e095a24 :: IO (FunPtr (IO ()))
hs_bindgen_e6a127de1e095a24 =
(FunPtr Void -> FunPtr (IO ()))
-> IO (FunPtr Void) -> IO (FunPtr (IO ()))
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 ())
FFIType (FunPtr (IO ())) -> FunPtr (IO ())
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_e6a127de1e095a24_base
{-# NOINLINE sDL_OnApplicationWillEnterForeground #-}
sDL_OnApplicationWillEnterForeground :: BG.FunPtr (IO ())
sDL_OnApplicationWillEnterForeground :: FunPtr (IO ())
sDL_OnApplicationWillEnterForeground =
IO (FunPtr (IO ())) -> FunPtr (IO ())
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO ()))
hs_bindgen_e6a127de1e095a24
foreign import ccall unsafe "hs_bindgen_6ee69ef9852cabc3"
hs_bindgen_6ee69ef9852cabc3_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_6ee69ef9852cabc3 :: IO (BG.FunPtr (IO ()))
hs_bindgen_6ee69ef9852cabc3 :: IO (FunPtr (IO ()))
hs_bindgen_6ee69ef9852cabc3 =
(FunPtr Void -> FunPtr (IO ()))
-> IO (FunPtr Void) -> IO (FunPtr (IO ()))
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 ())
FFIType (FunPtr (IO ())) -> FunPtr (IO ())
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_6ee69ef9852cabc3_base
{-# NOINLINE sDL_OnApplicationDidEnterForeground #-}
sDL_OnApplicationDidEnterForeground :: BG.FunPtr (IO ())
sDL_OnApplicationDidEnterForeground :: FunPtr (IO ())
sDL_OnApplicationDidEnterForeground =
IO (FunPtr (IO ())) -> FunPtr (IO ())
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO ()))
hs_bindgen_6ee69ef9852cabc3