{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Cpuinfo.FunPtr (
SDL3.Sys.Bindgen.Cpuinfo.FunPtr.sDL_GetNumLogicalCPUCores,
SDL3.Sys.Bindgen.Cpuinfo.FunPtr.sDL_GetCPUCacheLineSize,
SDL3.Sys.Bindgen.Cpuinfo.FunPtr.sDL_HasAltiVec,
SDL3.Sys.Bindgen.Cpuinfo.FunPtr.sDL_HasMMX,
SDL3.Sys.Bindgen.Cpuinfo.FunPtr.sDL_HasSSE,
SDL3.Sys.Bindgen.Cpuinfo.FunPtr.sDL_HasSSE2,
SDL3.Sys.Bindgen.Cpuinfo.FunPtr.sDL_HasSSE3,
SDL3.Sys.Bindgen.Cpuinfo.FunPtr.sDL_HasSSE41,
SDL3.Sys.Bindgen.Cpuinfo.FunPtr.sDL_HasSSE42,
SDL3.Sys.Bindgen.Cpuinfo.FunPtr.sDL_HasAVX,
SDL3.Sys.Bindgen.Cpuinfo.FunPtr.sDL_HasAVX2,
SDL3.Sys.Bindgen.Cpuinfo.FunPtr.sDL_HasAVX512F,
SDL3.Sys.Bindgen.Cpuinfo.FunPtr.sDL_HasARMSIMD,
SDL3.Sys.Bindgen.Cpuinfo.FunPtr.sDL_HasNEON,
SDL3.Sys.Bindgen.Cpuinfo.FunPtr.sDL_HasLSX,
SDL3.Sys.Bindgen.Cpuinfo.FunPtr.sDL_HasLASX,
SDL3.Sys.Bindgen.Cpuinfo.FunPtr.sDL_GetSystemRAM,
SDL3.Sys.Bindgen.Cpuinfo.FunPtr.sDL_GetSIMDAlignment,
SDL3.Sys.Bindgen.Cpuinfo.FunPtr.sDL_GetSystemPageSize,
)
where
import Prelude (IO, fmap)
import HsBindgen.Runtime.LibC qualified
import HsBindgen.Runtime.Support qualified as BG
import HsBindgen.Runtime.Support.CAPI qualified
$( 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_cpuinfo.h>"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Cpuinfo_get_SDL_GetNumLogicalCPUCores */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_c4c2c993acb58488 (void)) (void)"
, "{"
, " return &SDL_GetNumLogicalCPUCores;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Cpuinfo_get_SDL_GetCPUCacheLineSize */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_2391090357def4cf (void)) (void)"
, "{"
, " return &SDL_GetCPUCacheLineSize;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Cpuinfo_get_SDL_HasAltiVec */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_9f39d5a7368376a4 (void)) (void)"
, "{"
, " return &SDL_HasAltiVec;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Cpuinfo_get_SDL_HasMMX */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_fa412e7652139df5 (void)) (void)"
, "{"
, " return &SDL_HasMMX;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Cpuinfo_get_SDL_HasSSE */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_05d08b5690b4e001 (void)) (void)"
, "{"
, " return &SDL_HasSSE;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Cpuinfo_get_SDL_HasSSE2 */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_ad213f4961990d26 (void)) (void)"
, "{"
, " return &SDL_HasSSE2;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Cpuinfo_get_SDL_HasSSE3 */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_a58ea737867abc40 (void)) (void)"
, "{"
, " return &SDL_HasSSE3;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Cpuinfo_get_SDL_HasSSE41 */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_29ae5cbdbd616ec9 (void)) (void)"
, "{"
, " return &SDL_HasSSE41;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Cpuinfo_get_SDL_HasSSE42 */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_a3625752abd98954 (void)) (void)"
, "{"
, " return &SDL_HasSSE42;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Cpuinfo_get_SDL_HasAVX */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_b930b79d23d9a864 (void)) (void)"
, "{"
, " return &SDL_HasAVX;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Cpuinfo_get_SDL_HasAVX2 */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_7d7f442924af51db (void)) (void)"
, "{"
, " return &SDL_HasAVX2;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Cpuinfo_get_SDL_HasAVX512F */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_95bef25f1d596e41 (void)) (void)"
, "{"
, " return &SDL_HasAVX512F;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Cpuinfo_get_SDL_HasARMSIMD */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_37e83b09e5180d73 (void)) (void)"
, "{"
, " return &SDL_HasARMSIMD;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Cpuinfo_get_SDL_HasNEON */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_f1637d681990a151 (void)) (void)"
, "{"
, " return &SDL_HasNEON;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Cpuinfo_get_SDL_HasLSX */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_aeeccb148a52761c (void)) (void)"
, "{"
, " return &SDL_HasLSX;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Cpuinfo_get_SDL_HasLASX */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_d5a4bc1d40b5d505 (void)) (void)"
, "{"
, " return &SDL_HasLASX;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Cpuinfo_get_SDL_GetSystemRAM */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_393a56703dc32628 (void)) (void)"
, "{"
, " return &SDL_GetSystemRAM;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Cpuinfo_get_SDL_GetSIMDAlignment */"
, "__attribute__ ((const))"
, "size_t (*hs_bindgen_893e4a7de858042c (void)) (void)"
, "{"
, " return &SDL_GetSIMDAlignment;"
, "}"
, "#include <SDL3/SDL_version.h>"
, "#include <SDL3/SDL_error.h>"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Cpuinfo_get_SDL_GetSystemPageSize */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_0f2dc2f831cb5d73 (void)) (void)"
, "{"
, "#if SDL_VERSION_ATLEAST(3, 4, 0)"
, " return &SDL_GetSystemPageSize;"
, "#else"
, " SDL_SetError(\"SDL_GetSystemPageSize requires SDL >= 3.4.0\"); return 0;"
, "#endif"
, "}"
]
)
)
foreign import ccall unsafe "hs_bindgen_c4c2c993acb58488"
hs_bindgen_c4c2c993acb58488_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_c4c2c993acb58488 :: IO (BG.FunPtr (IO BG.CInt))
hs_bindgen_c4c2c993acb58488 :: IO (FunPtr (IO CInt))
hs_bindgen_c4c2c993acb58488 =
(FunPtr Void -> FunPtr (IO CInt))
-> IO (FunPtr Void) -> IO (FunPtr (IO CInt))
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 CInt)
FFIType (FunPtr (IO CInt)) -> FunPtr (IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_c4c2c993acb58488_base
{-# NOINLINE sDL_GetNumLogicalCPUCores #-}
sDL_GetNumLogicalCPUCores :: BG.FunPtr (IO BG.CInt)
sDL_GetNumLogicalCPUCores :: FunPtr (IO CInt)
sDL_GetNumLogicalCPUCores =
IO (FunPtr (IO CInt)) -> FunPtr (IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CInt))
hs_bindgen_c4c2c993acb58488
foreign import ccall unsafe "hs_bindgen_2391090357def4cf"
hs_bindgen_2391090357def4cf_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_2391090357def4cf :: IO (BG.FunPtr (IO BG.CInt))
hs_bindgen_2391090357def4cf :: IO (FunPtr (IO CInt))
hs_bindgen_2391090357def4cf =
(FunPtr Void -> FunPtr (IO CInt))
-> IO (FunPtr Void) -> IO (FunPtr (IO CInt))
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 CInt)
FFIType (FunPtr (IO CInt)) -> FunPtr (IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_2391090357def4cf_base
{-# NOINLINE sDL_GetCPUCacheLineSize #-}
sDL_GetCPUCacheLineSize :: BG.FunPtr (IO BG.CInt)
sDL_GetCPUCacheLineSize :: FunPtr (IO CInt)
sDL_GetCPUCacheLineSize =
IO (FunPtr (IO CInt)) -> FunPtr (IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CInt))
hs_bindgen_2391090357def4cf
foreign import ccall unsafe "hs_bindgen_9f39d5a7368376a4"
hs_bindgen_9f39d5a7368376a4_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_9f39d5a7368376a4 :: IO (BG.FunPtr (IO BG.CBool))
hs_bindgen_9f39d5a7368376a4 :: IO (FunPtr (IO CBool))
hs_bindgen_9f39d5a7368376a4 =
(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_9f39d5a7368376a4_base
{-# NOINLINE sDL_HasAltiVec #-}
sDL_HasAltiVec :: BG.FunPtr (IO BG.CBool)
sDL_HasAltiVec :: FunPtr (IO CBool)
sDL_HasAltiVec =
IO (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CBool))
hs_bindgen_9f39d5a7368376a4
foreign import ccall unsafe "hs_bindgen_fa412e7652139df5"
hs_bindgen_fa412e7652139df5_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_fa412e7652139df5 :: IO (BG.FunPtr (IO BG.CBool))
hs_bindgen_fa412e7652139df5 :: IO (FunPtr (IO CBool))
hs_bindgen_fa412e7652139df5 =
(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_fa412e7652139df5_base
{-# NOINLINE sDL_HasMMX #-}
sDL_HasMMX :: BG.FunPtr (IO BG.CBool)
sDL_HasMMX :: FunPtr (IO CBool)
sDL_HasMMX =
IO (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CBool))
hs_bindgen_fa412e7652139df5
foreign import ccall unsafe "hs_bindgen_05d08b5690b4e001"
hs_bindgen_05d08b5690b4e001_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_05d08b5690b4e001 :: IO (BG.FunPtr (IO BG.CBool))
hs_bindgen_05d08b5690b4e001 :: IO (FunPtr (IO CBool))
hs_bindgen_05d08b5690b4e001 =
(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_05d08b5690b4e001_base
{-# NOINLINE sDL_HasSSE #-}
sDL_HasSSE :: BG.FunPtr (IO BG.CBool)
sDL_HasSSE :: FunPtr (IO CBool)
sDL_HasSSE =
IO (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CBool))
hs_bindgen_05d08b5690b4e001
foreign import ccall unsafe "hs_bindgen_ad213f4961990d26"
hs_bindgen_ad213f4961990d26_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_ad213f4961990d26 :: IO (BG.FunPtr (IO BG.CBool))
hs_bindgen_ad213f4961990d26 :: IO (FunPtr (IO CBool))
hs_bindgen_ad213f4961990d26 =
(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_ad213f4961990d26_base
{-# NOINLINE sDL_HasSSE2 #-}
sDL_HasSSE2 :: BG.FunPtr (IO BG.CBool)
sDL_HasSSE2 :: FunPtr (IO CBool)
sDL_HasSSE2 =
IO (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CBool))
hs_bindgen_ad213f4961990d26
foreign import ccall unsafe "hs_bindgen_a58ea737867abc40"
hs_bindgen_a58ea737867abc40_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_a58ea737867abc40 :: IO (BG.FunPtr (IO BG.CBool))
hs_bindgen_a58ea737867abc40 :: IO (FunPtr (IO CBool))
hs_bindgen_a58ea737867abc40 =
(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_a58ea737867abc40_base
{-# NOINLINE sDL_HasSSE3 #-}
sDL_HasSSE3 :: BG.FunPtr (IO BG.CBool)
sDL_HasSSE3 :: FunPtr (IO CBool)
sDL_HasSSE3 =
IO (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CBool))
hs_bindgen_a58ea737867abc40
foreign import ccall unsafe "hs_bindgen_29ae5cbdbd616ec9"
hs_bindgen_29ae5cbdbd616ec9_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_29ae5cbdbd616ec9 :: IO (BG.FunPtr (IO BG.CBool))
hs_bindgen_29ae5cbdbd616ec9 :: IO (FunPtr (IO CBool))
hs_bindgen_29ae5cbdbd616ec9 =
(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_29ae5cbdbd616ec9_base
{-# NOINLINE sDL_HasSSE41 #-}
sDL_HasSSE41 :: BG.FunPtr (IO BG.CBool)
sDL_HasSSE41 :: FunPtr (IO CBool)
sDL_HasSSE41 =
IO (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CBool))
hs_bindgen_29ae5cbdbd616ec9
foreign import ccall unsafe "hs_bindgen_a3625752abd98954"
hs_bindgen_a3625752abd98954_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_a3625752abd98954 :: IO (BG.FunPtr (IO BG.CBool))
hs_bindgen_a3625752abd98954 :: IO (FunPtr (IO CBool))
hs_bindgen_a3625752abd98954 =
(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_a3625752abd98954_base
{-# NOINLINE sDL_HasSSE42 #-}
sDL_HasSSE42 :: BG.FunPtr (IO BG.CBool)
sDL_HasSSE42 :: FunPtr (IO CBool)
sDL_HasSSE42 =
IO (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CBool))
hs_bindgen_a3625752abd98954
foreign import ccall unsafe "hs_bindgen_b930b79d23d9a864"
hs_bindgen_b930b79d23d9a864_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_b930b79d23d9a864 :: IO (BG.FunPtr (IO BG.CBool))
hs_bindgen_b930b79d23d9a864 :: IO (FunPtr (IO CBool))
hs_bindgen_b930b79d23d9a864 =
(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_b930b79d23d9a864_base
{-# NOINLINE sDL_HasAVX #-}
sDL_HasAVX :: BG.FunPtr (IO BG.CBool)
sDL_HasAVX :: FunPtr (IO CBool)
sDL_HasAVX =
IO (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CBool))
hs_bindgen_b930b79d23d9a864
foreign import ccall unsafe "hs_bindgen_7d7f442924af51db"
hs_bindgen_7d7f442924af51db_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_7d7f442924af51db :: IO (BG.FunPtr (IO BG.CBool))
hs_bindgen_7d7f442924af51db :: IO (FunPtr (IO CBool))
hs_bindgen_7d7f442924af51db =
(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_7d7f442924af51db_base
{-# NOINLINE sDL_HasAVX2 #-}
sDL_HasAVX2 :: BG.FunPtr (IO BG.CBool)
sDL_HasAVX2 :: FunPtr (IO CBool)
sDL_HasAVX2 =
IO (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CBool))
hs_bindgen_7d7f442924af51db
foreign import ccall unsafe "hs_bindgen_95bef25f1d596e41"
hs_bindgen_95bef25f1d596e41_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_95bef25f1d596e41 :: IO (BG.FunPtr (IO BG.CBool))
hs_bindgen_95bef25f1d596e41 :: IO (FunPtr (IO CBool))
hs_bindgen_95bef25f1d596e41 =
(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_95bef25f1d596e41_base
{-# NOINLINE sDL_HasAVX512F #-}
sDL_HasAVX512F :: BG.FunPtr (IO BG.CBool)
sDL_HasAVX512F :: FunPtr (IO CBool)
sDL_HasAVX512F =
IO (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CBool))
hs_bindgen_95bef25f1d596e41
foreign import ccall unsafe "hs_bindgen_37e83b09e5180d73"
hs_bindgen_37e83b09e5180d73_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_37e83b09e5180d73 :: IO (BG.FunPtr (IO BG.CBool))
hs_bindgen_37e83b09e5180d73 :: IO (FunPtr (IO CBool))
hs_bindgen_37e83b09e5180d73 =
(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_37e83b09e5180d73_base
{-# NOINLINE sDL_HasARMSIMD #-}
sDL_HasARMSIMD :: BG.FunPtr (IO BG.CBool)
sDL_HasARMSIMD :: FunPtr (IO CBool)
sDL_HasARMSIMD =
IO (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CBool))
hs_bindgen_37e83b09e5180d73
foreign import ccall unsafe "hs_bindgen_f1637d681990a151"
hs_bindgen_f1637d681990a151_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_f1637d681990a151 :: IO (BG.FunPtr (IO BG.CBool))
hs_bindgen_f1637d681990a151 :: IO (FunPtr (IO CBool))
hs_bindgen_f1637d681990a151 =
(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_f1637d681990a151_base
{-# NOINLINE sDL_HasNEON #-}
sDL_HasNEON :: BG.FunPtr (IO BG.CBool)
sDL_HasNEON :: FunPtr (IO CBool)
sDL_HasNEON =
IO (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CBool))
hs_bindgen_f1637d681990a151
foreign import ccall unsafe "hs_bindgen_aeeccb148a52761c"
hs_bindgen_aeeccb148a52761c_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_aeeccb148a52761c :: IO (BG.FunPtr (IO BG.CBool))
hs_bindgen_aeeccb148a52761c :: IO (FunPtr (IO CBool))
hs_bindgen_aeeccb148a52761c =
(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_aeeccb148a52761c_base
{-# NOINLINE sDL_HasLSX #-}
sDL_HasLSX :: BG.FunPtr (IO BG.CBool)
sDL_HasLSX :: FunPtr (IO CBool)
sDL_HasLSX =
IO (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CBool))
hs_bindgen_aeeccb148a52761c
foreign import ccall unsafe "hs_bindgen_d5a4bc1d40b5d505"
hs_bindgen_d5a4bc1d40b5d505_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_d5a4bc1d40b5d505 :: IO (BG.FunPtr (IO BG.CBool))
hs_bindgen_d5a4bc1d40b5d505 :: IO (FunPtr (IO CBool))
hs_bindgen_d5a4bc1d40b5d505 =
(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_d5a4bc1d40b5d505_base
{-# NOINLINE sDL_HasLASX #-}
sDL_HasLASX :: BG.FunPtr (IO BG.CBool)
sDL_HasLASX :: FunPtr (IO CBool)
sDL_HasLASX =
IO (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CBool))
hs_bindgen_d5a4bc1d40b5d505
foreign import ccall unsafe "hs_bindgen_393a56703dc32628"
hs_bindgen_393a56703dc32628_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_393a56703dc32628 :: IO (BG.FunPtr (IO BG.CInt))
hs_bindgen_393a56703dc32628 :: IO (FunPtr (IO CInt))
hs_bindgen_393a56703dc32628 =
(FunPtr Void -> FunPtr (IO CInt))
-> IO (FunPtr Void) -> IO (FunPtr (IO CInt))
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 CInt)
FFIType (FunPtr (IO CInt)) -> FunPtr (IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_393a56703dc32628_base
{-# NOINLINE sDL_GetSystemRAM #-}
sDL_GetSystemRAM :: BG.FunPtr (IO BG.CInt)
sDL_GetSystemRAM :: FunPtr (IO CInt)
sDL_GetSystemRAM =
IO (FunPtr (IO CInt)) -> FunPtr (IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CInt))
hs_bindgen_393a56703dc32628
foreign import ccall unsafe "hs_bindgen_893e4a7de858042c"
hs_bindgen_893e4a7de858042c_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_893e4a7de858042c :: IO (BG.FunPtr (IO HsBindgen.Runtime.LibC.CSize))
hs_bindgen_893e4a7de858042c :: IO (FunPtr (IO CSize))
hs_bindgen_893e4a7de858042c =
(FunPtr Void -> FunPtr (IO CSize))
-> IO (FunPtr Void) -> IO (FunPtr (IO CSize))
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 CSize)
FFIType (FunPtr (IO CSize)) -> FunPtr (IO CSize)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_893e4a7de858042c_base
{-# NOINLINE sDL_GetSIMDAlignment #-}
sDL_GetSIMDAlignment :: BG.FunPtr (IO HsBindgen.Runtime.LibC.CSize)
sDL_GetSIMDAlignment :: FunPtr (IO CSize)
sDL_GetSIMDAlignment =
IO (FunPtr (IO CSize)) -> FunPtr (IO CSize)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CSize))
hs_bindgen_893e4a7de858042c
foreign import ccall unsafe "hs_bindgen_0f2dc2f831cb5d73"
hs_bindgen_0f2dc2f831cb5d73_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_0f2dc2f831cb5d73 :: IO (BG.FunPtr (IO BG.CInt))
hs_bindgen_0f2dc2f831cb5d73 :: IO (FunPtr (IO CInt))
hs_bindgen_0f2dc2f831cb5d73 =
(FunPtr Void -> FunPtr (IO CInt))
-> IO (FunPtr Void) -> IO (FunPtr (IO CInt))
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 CInt)
FFIType (FunPtr (IO CInt)) -> FunPtr (IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_0f2dc2f831cb5d73_base
{-# NOINLINE sDL_GetSystemPageSize #-}
sDL_GetSystemPageSize :: BG.FunPtr (IO BG.CInt)
sDL_GetSystemPageSize :: FunPtr (IO CInt)
sDL_GetSystemPageSize =
IO (FunPtr (IO CInt)) -> FunPtr (IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CInt))
hs_bindgen_0f2dc2f831cb5d73