{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Properties.Unsafe (
SDL3.Sys.Bindgen.Properties.Unsafe.sDL_GetGlobalProperties,
SDL3.Sys.Bindgen.Properties.Unsafe.sDL_CreateProperties,
SDL3.Sys.Bindgen.Properties.Unsafe.sDL_CopyProperties,
SDL3.Sys.Bindgen.Properties.Unsafe.sDL_LockProperties,
SDL3.Sys.Bindgen.Properties.Unsafe.sDL_UnlockProperties,
SDL3.Sys.Bindgen.Properties.Unsafe.sDL_SetPointerPropertyWithCleanup,
SDL3.Sys.Bindgen.Properties.Unsafe.sDL_SetPointerProperty,
SDL3.Sys.Bindgen.Properties.Unsafe.sDL_SetStringProperty,
SDL3.Sys.Bindgen.Properties.Unsafe.sDL_SetNumberProperty,
SDL3.Sys.Bindgen.Properties.Unsafe.sDL_SetFloatProperty,
SDL3.Sys.Bindgen.Properties.Unsafe.sDL_SetBooleanProperty,
SDL3.Sys.Bindgen.Properties.Unsafe.sDL_HasProperty,
SDL3.Sys.Bindgen.Properties.Unsafe.sDL_GetPropertyType,
SDL3.Sys.Bindgen.Properties.Unsafe.sDL_GetPointerProperty,
SDL3.Sys.Bindgen.Properties.Unsafe.sDL_GetStringProperty,
SDL3.Sys.Bindgen.Properties.Unsafe.sDL_GetNumberProperty,
SDL3.Sys.Bindgen.Properties.Unsafe.sDL_GetFloatProperty,
SDL3.Sys.Bindgen.Properties.Unsafe.sDL_GetBooleanProperty,
SDL3.Sys.Bindgen.Properties.Unsafe.sDL_ClearProperty,
SDL3.Sys.Bindgen.Properties.Unsafe.sDL_EnumerateProperties,
SDL3.Sys.Bindgen.Properties.Unsafe.sDL_DestroyProperties,
)
where
import Prelude (IO, fmap)
import HsBindgen.Runtime.LibC qualified
import HsBindgen.Runtime.PtrConst qualified as PtrConst
import HsBindgen.Runtime.Support qualified as BG
import HsBindgen.Runtime.Support.CAPI qualified
import SDL3.Sys.Bindgen.Properties
import SDL3.Sys.Bindgen.Stdinc 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_properties.h>"
, "SDL_PropertiesID hs_bindgen_c42d6db8a32f055e (void)"
, "{"
, " return (SDL_GetGlobalProperties)();"
, "}"
, "SDL_PropertiesID hs_bindgen_3df6eaf391028f3a (void)"
, "{"
, " return (SDL_CreateProperties)();"
, "}"
, "_Bool hs_bindgen_ec7346bf04c8fb1f ("
, " SDL_PropertiesID arg1,"
, " SDL_PropertiesID arg2"
, ")"
, "{"
, " return (SDL_CopyProperties)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_9d2b19ecdcff5a9a ("
, " SDL_PropertiesID arg1"
, ")"
, "{"
, " return (SDL_LockProperties)(arg1);"
, "}"
, "void hs_bindgen_36fc1538f3f888d4 ("
, " SDL_PropertiesID arg1"
, ")"
, "{"
, " (SDL_UnlockProperties)(arg1);"
, "}"
, "_Bool hs_bindgen_ac9cc1ad6b8fd333 ("
, " SDL_PropertiesID arg1,"
, " char const *arg2,"
, " void *arg3,"
, " SDL_CleanupPropertyCallback arg4,"
, " void *arg5"
, ")"
, "{"
, " return (SDL_SetPointerPropertyWithCleanup)(arg1, arg2, arg3, arg4, arg5);"
, "}"
, "_Bool hs_bindgen_7470d8d3e33299dd ("
, " SDL_PropertiesID arg1,"
, " char const *arg2,"
, " void *arg3"
, ")"
, "{"
, " return (SDL_SetPointerProperty)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_8c4e2fe0b0c344fa ("
, " SDL_PropertiesID arg1,"
, " char const *arg2,"
, " char const *arg3"
, ")"
, "{"
, " return (SDL_SetStringProperty)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_adbe15832a85614f ("
, " SDL_PropertiesID arg1,"
, " char const *arg2,"
, " Sint64 arg3"
, ")"
, "{"
, " return (SDL_SetNumberProperty)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_cd3f1858894a3c1a ("
, " SDL_PropertiesID arg1,"
, " char const *arg2,"
, " float arg3"
, ")"
, "{"
, " return (SDL_SetFloatProperty)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_54a909439447714a ("
, " SDL_PropertiesID arg1,"
, " char const *arg2,"
, " _Bool arg3"
, ")"
, "{"
, " return (SDL_SetBooleanProperty)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_668d738b4f14a372 ("
, " SDL_PropertiesID arg1,"
, " char const *arg2"
, ")"
, "{"
, " return (SDL_HasProperty)(arg1, arg2);"
, "}"
, "SDL_PropertyType hs_bindgen_0dc114a9b956e6b4 ("
, " SDL_PropertiesID arg1,"
, " char const *arg2"
, ")"
, "{"
, " return (SDL_GetPropertyType)(arg1, arg2);"
, "}"
, "void *hs_bindgen_137a3bf658fca01b ("
, " SDL_PropertiesID arg1,"
, " char const *arg2,"
, " void *arg3"
, ")"
, "{"
, " return (SDL_GetPointerProperty)(arg1, arg2, arg3);"
, "}"
, "char const *hs_bindgen_13dfafaed8ef603e ("
, " SDL_PropertiesID arg1,"
, " char const *arg2,"
, " char const *arg3"
, ")"
, "{"
, " return (SDL_GetStringProperty)(arg1, arg2, arg3);"
, "}"
, "Sint64 hs_bindgen_047e09cd4176f3ce ("
, " SDL_PropertiesID arg1,"
, " char const *arg2,"
, " Sint64 arg3"
, ")"
, "{"
, " return (SDL_GetNumberProperty)(arg1, arg2, arg3);"
, "}"
, "float hs_bindgen_54dfc33f97564e4d ("
, " SDL_PropertiesID arg1,"
, " char const *arg2,"
, " float arg3"
, ")"
, "{"
, " return (SDL_GetFloatProperty)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_ff205e1f9b9cb233 ("
, " SDL_PropertiesID arg1,"
, " char const *arg2,"
, " _Bool arg3"
, ")"
, "{"
, " return (SDL_GetBooleanProperty)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_2b64b35dcac92b2c ("
, " SDL_PropertiesID arg1,"
, " char const *arg2"
, ")"
, "{"
, " return (SDL_ClearProperty)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_568e06654af8bf56 ("
, " SDL_PropertiesID arg1,"
, " SDL_EnumeratePropertiesCallback arg2,"
, " void *arg3"
, ")"
, "{"
, " return (SDL_EnumerateProperties)(arg1, arg2, arg3);"
, "}"
, "void hs_bindgen_eeb9d2ee08b0f608 ("
, " SDL_PropertiesID arg1"
, ")"
, "{"
, " (SDL_DestroyProperties)(arg1);"
, "}"
]
)
)
foreign import ccall unsafe "hs_bindgen_c42d6db8a32f055e"
hs_bindgen_c42d6db8a32f055e_base
:: IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_c42d6db8a32f055e :: IO SDL_PropertiesID
hs_bindgen_c42d6db8a32f055e :: IO SDL_PropertiesID
hs_bindgen_c42d6db8a32f055e =
(Word32 -> SDL_PropertiesID) -> IO Word32 -> IO SDL_PropertiesID
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Word32 -> SDL_PropertiesID
FFIType SDL_PropertiesID -> SDL_PropertiesID
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO Word32
hs_bindgen_c42d6db8a32f055e_base
sDL_GetGlobalProperties :: IO SDL_PropertiesID
sDL_GetGlobalProperties :: IO SDL_PropertiesID
sDL_GetGlobalProperties = IO SDL_PropertiesID
hs_bindgen_c42d6db8a32f055e
foreign import ccall unsafe "hs_bindgen_3df6eaf391028f3a"
hs_bindgen_3df6eaf391028f3a_base
:: IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_3df6eaf391028f3a :: IO SDL_PropertiesID
hs_bindgen_3df6eaf391028f3a :: IO SDL_PropertiesID
hs_bindgen_3df6eaf391028f3a =
(Word32 -> SDL_PropertiesID) -> IO Word32 -> IO SDL_PropertiesID
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Word32 -> SDL_PropertiesID
FFIType SDL_PropertiesID -> SDL_PropertiesID
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO Word32
hs_bindgen_3df6eaf391028f3a_base
sDL_CreateProperties :: IO SDL_PropertiesID
sDL_CreateProperties :: IO SDL_PropertiesID
sDL_CreateProperties = IO SDL_PropertiesID
hs_bindgen_3df6eaf391028f3a
foreign import ccall unsafe "hs_bindgen_ec7346bf04c8fb1f"
hs_bindgen_ec7346bf04c8fb1f_base
:: HsBindgen.Runtime.LibC.Word32
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_ec7346bf04c8fb1f
:: SDL_PropertiesID
-> SDL_PropertiesID
-> IO BG.CBool
hs_bindgen_ec7346bf04c8fb1f :: SDL_PropertiesID -> SDL_PropertiesID -> IO CBool
hs_bindgen_ec7346bf04c8fb1f =
\SDL_PropertiesID
x0 ->
\SDL_PropertiesID
x1 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> Word32 -> IO CBool
hs_bindgen_ec7346bf04c8fb1f_base (SDL_PropertiesID -> FFIType SDL_PropertiesID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PropertiesID
x0) (SDL_PropertiesID -> FFIType SDL_PropertiesID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PropertiesID
x1))
sDL_CopyProperties
:: SDL_PropertiesID
-> SDL_PropertiesID
-> IO BG.CBool
sDL_CopyProperties :: SDL_PropertiesID -> SDL_PropertiesID -> IO CBool
sDL_CopyProperties = SDL_PropertiesID -> SDL_PropertiesID -> IO CBool
hs_bindgen_ec7346bf04c8fb1f
foreign import ccall unsafe "hs_bindgen_9d2b19ecdcff5a9a"
hs_bindgen_9d2b19ecdcff5a9a_base
:: HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_9d2b19ecdcff5a9a
:: SDL_PropertiesID
-> IO BG.CBool
hs_bindgen_9d2b19ecdcff5a9a :: SDL_PropertiesID -> IO CBool
hs_bindgen_9d2b19ecdcff5a9a =
\SDL_PropertiesID
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> IO CBool
hs_bindgen_9d2b19ecdcff5a9a_base (SDL_PropertiesID -> FFIType SDL_PropertiesID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PropertiesID
x0))
sDL_LockProperties
:: SDL_PropertiesID
-> IO BG.CBool
sDL_LockProperties :: SDL_PropertiesID -> IO CBool
sDL_LockProperties = SDL_PropertiesID -> IO CBool
hs_bindgen_9d2b19ecdcff5a9a
foreign import ccall unsafe "hs_bindgen_36fc1538f3f888d4"
hs_bindgen_36fc1538f3f888d4_base
:: HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_36fc1538f3f888d4
:: SDL_PropertiesID
-> IO ()
hs_bindgen_36fc1538f3f888d4 :: SDL_PropertiesID -> IO ()
hs_bindgen_36fc1538f3f888d4 =
\SDL_PropertiesID
x0 ->
Word32 -> IO ()
hs_bindgen_36fc1538f3f888d4_base (SDL_PropertiesID -> FFIType SDL_PropertiesID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PropertiesID
x0)
sDL_UnlockProperties
:: SDL_PropertiesID
-> IO ()
sDL_UnlockProperties :: SDL_PropertiesID -> IO ()
sDL_UnlockProperties = SDL_PropertiesID -> IO ()
hs_bindgen_36fc1538f3f888d4
foreign import ccall unsafe "hs_bindgen_ac9cc1ad6b8fd333"
hs_bindgen_ac9cc1ad6b8fd333_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.FunPtr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_ac9cc1ad6b8fd333
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> BG.Ptr BG.Void
-> SDL_CleanupPropertyCallback
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_ac9cc1ad6b8fd333 :: SDL_PropertiesID
-> PtrConst CChar
-> Ptr Void
-> SDL_CleanupPropertyCallback
-> Ptr Void
-> IO CBool
hs_bindgen_ac9cc1ad6b8fd333 =
\SDL_PropertiesID
x0 ->
\PtrConst CChar
x1 ->
\Ptr Void
x2 ->
\SDL_CleanupPropertyCallback
x3 ->
\Ptr Void
x4 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Word32
-> Ptr Void -> Ptr Void -> FunPtr Void -> Ptr Void -> IO CBool
hs_bindgen_ac9cc1ad6b8fd333_base
(SDL_PropertiesID -> FFIType SDL_PropertiesID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PropertiesID
x0)
(PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x1)
(Ptr Void -> FFIType (Ptr Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Void
x2)
(SDL_CleanupPropertyCallback -> FFIType SDL_CleanupPropertyCallback
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_CleanupPropertyCallback
x3)
(Ptr Void -> FFIType (Ptr Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Void
x4)
)
sDL_SetPointerPropertyWithCleanup
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> BG.Ptr BG.Void
-> SDL_CleanupPropertyCallback
-> BG.Ptr BG.Void
-> IO BG.CBool
sDL_SetPointerPropertyWithCleanup :: SDL_PropertiesID
-> PtrConst CChar
-> Ptr Void
-> SDL_CleanupPropertyCallback
-> Ptr Void
-> IO CBool
sDL_SetPointerPropertyWithCleanup =
SDL_PropertiesID
-> PtrConst CChar
-> Ptr Void
-> SDL_CleanupPropertyCallback
-> Ptr Void
-> IO CBool
hs_bindgen_ac9cc1ad6b8fd333
foreign import ccall unsafe "hs_bindgen_7470d8d3e33299dd"
hs_bindgen_7470d8d3e33299dd_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_7470d8d3e33299dd
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_7470d8d3e33299dd :: SDL_PropertiesID -> PtrConst CChar -> Ptr Void -> IO CBool
hs_bindgen_7470d8d3e33299dd =
\SDL_PropertiesID
x0 ->
\PtrConst CChar
x1 ->
\Ptr Void
x2 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Word32 -> Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_7470d8d3e33299dd_base (SDL_PropertiesID -> FFIType SDL_PropertiesID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PropertiesID
x0) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x1) (Ptr Void -> FFIType (Ptr Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Void
x2))
sDL_SetPointerProperty
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> BG.Ptr BG.Void
-> IO BG.CBool
sDL_SetPointerProperty :: SDL_PropertiesID -> PtrConst CChar -> Ptr Void -> IO CBool
sDL_SetPointerProperty = SDL_PropertiesID -> PtrConst CChar -> Ptr Void -> IO CBool
hs_bindgen_7470d8d3e33299dd
foreign import ccall unsafe "hs_bindgen_8c4e2fe0b0c344fa"
hs_bindgen_8c4e2fe0b0c344fa_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_8c4e2fe0b0c344fa
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> PtrConst.PtrConst BG.CChar
-> IO BG.CBool
hs_bindgen_8c4e2fe0b0c344fa :: SDL_PropertiesID -> PtrConst CChar -> PtrConst CChar -> IO CBool
hs_bindgen_8c4e2fe0b0c344fa =
\SDL_PropertiesID
x0 ->
\PtrConst CChar
x1 ->
\PtrConst CChar
x2 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Word32 -> Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_8c4e2fe0b0c344fa_base (SDL_PropertiesID -> FFIType SDL_PropertiesID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PropertiesID
x0) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x1) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x2))
sDL_SetStringProperty
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> PtrConst.PtrConst BG.CChar
-> IO BG.CBool
sDL_SetStringProperty :: SDL_PropertiesID -> PtrConst CChar -> PtrConst CChar -> IO CBool
sDL_SetStringProperty = SDL_PropertiesID -> PtrConst CChar -> PtrConst CChar -> IO CBool
hs_bindgen_8c4e2fe0b0c344fa
foreign import ccall unsafe "hs_bindgen_adbe15832a85614f"
hs_bindgen_adbe15832a85614f_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Int64
-> IO BG.CBool
hs_bindgen_adbe15832a85614f
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> SDL3.Sys.Bindgen.Stdinc.Sint64
-> IO BG.CBool
hs_bindgen_adbe15832a85614f :: SDL_PropertiesID -> PtrConst CChar -> Sint64 -> IO CBool
hs_bindgen_adbe15832a85614f =
\SDL_PropertiesID
x0 ->
\PtrConst CChar
x1 ->
\Sint64
x2 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Word32 -> Ptr Void -> Int64 -> IO CBool
hs_bindgen_adbe15832a85614f_base (SDL_PropertiesID -> FFIType SDL_PropertiesID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PropertiesID
x0) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x1) (Sint64 -> FFIType Sint64
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Sint64
x2))
sDL_SetNumberProperty
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> SDL3.Sys.Bindgen.Stdinc.Sint64
-> IO BG.CBool
sDL_SetNumberProperty :: SDL_PropertiesID -> PtrConst CChar -> Sint64 -> IO CBool
sDL_SetNumberProperty = SDL_PropertiesID -> PtrConst CChar -> Sint64 -> IO CBool
hs_bindgen_adbe15832a85614f
foreign import ccall unsafe "hs_bindgen_cd3f1858894a3c1a"
hs_bindgen_cd3f1858894a3c1a_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_cd3f1858894a3c1a
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_cd3f1858894a3c1a :: SDL_PropertiesID -> PtrConst CChar -> CFloat -> IO CBool
hs_bindgen_cd3f1858894a3c1a =
\SDL_PropertiesID
x0 ->
\PtrConst CChar
x1 ->
\CFloat
x2 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Word32 -> Ptr Void -> CFloat -> IO CBool
hs_bindgen_cd3f1858894a3c1a_base (SDL_PropertiesID -> FFIType SDL_PropertiesID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PropertiesID
x0) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x1) (CFloat -> FFIType CFloat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CFloat
x2))
sDL_SetFloatProperty
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> BG.CFloat
-> IO BG.CBool
sDL_SetFloatProperty :: SDL_PropertiesID -> PtrConst CChar -> CFloat -> IO CBool
sDL_SetFloatProperty = SDL_PropertiesID -> PtrConst CChar -> CFloat -> IO CBool
hs_bindgen_cd3f1858894a3c1a
foreign import ccall unsafe "hs_bindgen_54a909439447714a"
hs_bindgen_54a909439447714a_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> BG.CBool
-> IO BG.CBool
hs_bindgen_54a909439447714a
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> BG.CBool
-> IO BG.CBool
hs_bindgen_54a909439447714a :: SDL_PropertiesID -> PtrConst CChar -> CBool -> IO CBool
hs_bindgen_54a909439447714a =
\SDL_PropertiesID
x0 ->
\PtrConst CChar
x1 ->
\CBool
x2 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Word32 -> Ptr Void -> CBool -> IO CBool
hs_bindgen_54a909439447714a_base (SDL_PropertiesID -> FFIType SDL_PropertiesID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PropertiesID
x0) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x1) (CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x2))
sDL_SetBooleanProperty
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> BG.CBool
-> IO BG.CBool
sDL_SetBooleanProperty :: SDL_PropertiesID -> PtrConst CChar -> CBool -> IO CBool
sDL_SetBooleanProperty = SDL_PropertiesID -> PtrConst CChar -> CBool -> IO CBool
hs_bindgen_54a909439447714a
foreign import ccall unsafe "hs_bindgen_668d738b4f14a372"
hs_bindgen_668d738b4f14a372_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_668d738b4f14a372
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> IO BG.CBool
hs_bindgen_668d738b4f14a372 :: SDL_PropertiesID -> PtrConst CChar -> IO CBool
hs_bindgen_668d738b4f14a372 =
\SDL_PropertiesID
x0 ->
\PtrConst CChar
x1 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> Ptr Void -> IO CBool
hs_bindgen_668d738b4f14a372_base (SDL_PropertiesID -> FFIType SDL_PropertiesID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PropertiesID
x0) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x1))
sDL_HasProperty
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> IO BG.CBool
sDL_HasProperty :: SDL_PropertiesID -> PtrConst CChar -> IO CBool
sDL_HasProperty = SDL_PropertiesID -> PtrConst CChar -> IO CBool
hs_bindgen_668d738b4f14a372
foreign import ccall unsafe "hs_bindgen_0dc114a9b956e6b4"
hs_bindgen_0dc114a9b956e6b4_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> IO BG.CUInt
hs_bindgen_0dc114a9b956e6b4
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> IO SDL_PropertyType
hs_bindgen_0dc114a9b956e6b4 :: SDL_PropertiesID -> PtrConst CChar -> IO SDL_PropertyType
hs_bindgen_0dc114a9b956e6b4 =
\SDL_PropertiesID
x0 ->
\PtrConst CChar
x1 ->
(CUInt -> SDL_PropertyType) -> IO CUInt -> IO SDL_PropertyType
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CUInt -> SDL_PropertyType
FFIType SDL_PropertyType -> SDL_PropertyType
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> Ptr Void -> IO CUInt
hs_bindgen_0dc114a9b956e6b4_base (SDL_PropertiesID -> FFIType SDL_PropertiesID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PropertiesID
x0) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x1))
sDL_GetPropertyType
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> IO SDL_PropertyType
sDL_GetPropertyType :: SDL_PropertiesID -> PtrConst CChar -> IO SDL_PropertyType
sDL_GetPropertyType = SDL_PropertiesID -> PtrConst CChar -> IO SDL_PropertyType
hs_bindgen_0dc114a9b956e6b4
foreign import ccall unsafe "hs_bindgen_137a3bf658fca01b"
hs_bindgen_137a3bf658fca01b_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_137a3bf658fca01b
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_137a3bf658fca01b :: SDL_PropertiesID -> PtrConst CChar -> Ptr Void -> IO (Ptr Void)
hs_bindgen_137a3bf658fca01b =
\SDL_PropertiesID
x0 ->
\PtrConst CChar
x1 ->
\Ptr Void
x2 ->
(Ptr Void -> Ptr Void) -> IO (Ptr Void) -> IO (Ptr Void)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
Ptr Void -> Ptr Void
FFIType (Ptr Void) -> Ptr Void
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Word32 -> Ptr Void -> Ptr Void -> IO (Ptr Void)
hs_bindgen_137a3bf658fca01b_base (SDL_PropertiesID -> FFIType SDL_PropertiesID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PropertiesID
x0) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x1) (Ptr Void -> FFIType (Ptr Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Void
x2))
sDL_GetPointerProperty
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
sDL_GetPointerProperty :: SDL_PropertiesID -> PtrConst CChar -> Ptr Void -> IO (Ptr Void)
sDL_GetPointerProperty = SDL_PropertiesID -> PtrConst CChar -> Ptr Void -> IO (Ptr Void)
hs_bindgen_137a3bf658fca01b
foreign import ccall unsafe "hs_bindgen_13dfafaed8ef603e"
hs_bindgen_13dfafaed8ef603e_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_13dfafaed8ef603e
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> PtrConst.PtrConst BG.CChar
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_13dfafaed8ef603e :: SDL_PropertiesID
-> PtrConst CChar -> PtrConst CChar -> IO (PtrConst CChar)
hs_bindgen_13dfafaed8ef603e =
\SDL_PropertiesID
x0 ->
\PtrConst CChar
x1 ->
\PtrConst CChar
x2 ->
(Ptr Void -> PtrConst CChar)
-> IO (Ptr Void) -> 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
Ptr Void -> PtrConst CChar
FFIType (PtrConst CChar) -> PtrConst CChar
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Word32 -> Ptr Void -> Ptr Void -> IO (Ptr Void)
hs_bindgen_13dfafaed8ef603e_base (SDL_PropertiesID -> FFIType SDL_PropertiesID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PropertiesID
x0) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x1) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x2))
sDL_GetStringProperty
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> PtrConst.PtrConst BG.CChar
-> IO (PtrConst.PtrConst BG.CChar)
sDL_GetStringProperty :: SDL_PropertiesID
-> PtrConst CChar -> PtrConst CChar -> IO (PtrConst CChar)
sDL_GetStringProperty = SDL_PropertiesID
-> PtrConst CChar -> PtrConst CChar -> IO (PtrConst CChar)
hs_bindgen_13dfafaed8ef603e
foreign import ccall unsafe "hs_bindgen_047e09cd4176f3ce"
hs_bindgen_047e09cd4176f3ce_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Int64
-> IO HsBindgen.Runtime.LibC.Int64
hs_bindgen_047e09cd4176f3ce
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> SDL3.Sys.Bindgen.Stdinc.Sint64
-> IO SDL3.Sys.Bindgen.Stdinc.Sint64
hs_bindgen_047e09cd4176f3ce :: SDL_PropertiesID -> PtrConst CChar -> Sint64 -> IO Sint64
hs_bindgen_047e09cd4176f3ce =
\SDL_PropertiesID
x0 ->
\PtrConst CChar
x1 ->
\Sint64
x2 ->
(Int64 -> Sint64) -> IO Int64 -> IO Sint64
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
Int64 -> Sint64
FFIType Sint64 -> Sint64
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Word32 -> Ptr Void -> Int64 -> IO Int64
hs_bindgen_047e09cd4176f3ce_base (SDL_PropertiesID -> FFIType SDL_PropertiesID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PropertiesID
x0) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x1) (Sint64 -> FFIType Sint64
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Sint64
x2))
sDL_GetNumberProperty
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> SDL3.Sys.Bindgen.Stdinc.Sint64
-> IO SDL3.Sys.Bindgen.Stdinc.Sint64
sDL_GetNumberProperty :: SDL_PropertiesID -> PtrConst CChar -> Sint64 -> IO Sint64
sDL_GetNumberProperty = SDL_PropertiesID -> PtrConst CChar -> Sint64 -> IO Sint64
hs_bindgen_047e09cd4176f3ce
foreign import ccall unsafe "hs_bindgen_54dfc33f97564e4d"
hs_bindgen_54dfc33f97564e4d_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> BG.CFloat
-> IO BG.CFloat
hs_bindgen_54dfc33f97564e4d
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> BG.CFloat
-> IO BG.CFloat
hs_bindgen_54dfc33f97564e4d :: SDL_PropertiesID -> PtrConst CChar -> CFloat -> IO CFloat
hs_bindgen_54dfc33f97564e4d =
\SDL_PropertiesID
x0 ->
\PtrConst CChar
x1 ->
\CFloat
x2 ->
(CFloat -> CFloat) -> IO CFloat -> IO CFloat
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CFloat -> CFloat
FFIType CFloat -> CFloat
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Word32 -> Ptr Void -> CFloat -> IO CFloat
hs_bindgen_54dfc33f97564e4d_base (SDL_PropertiesID -> FFIType SDL_PropertiesID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PropertiesID
x0) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x1) (CFloat -> FFIType CFloat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CFloat
x2))
sDL_GetFloatProperty
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> BG.CFloat
-> IO BG.CFloat
sDL_GetFloatProperty :: SDL_PropertiesID -> PtrConst CChar -> CFloat -> IO CFloat
sDL_GetFloatProperty = SDL_PropertiesID -> PtrConst CChar -> CFloat -> IO CFloat
hs_bindgen_54dfc33f97564e4d
foreign import ccall unsafe "hs_bindgen_ff205e1f9b9cb233"
hs_bindgen_ff205e1f9b9cb233_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> BG.CBool
-> IO BG.CBool
hs_bindgen_ff205e1f9b9cb233
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> BG.CBool
-> IO BG.CBool
hs_bindgen_ff205e1f9b9cb233 :: SDL_PropertiesID -> PtrConst CChar -> CBool -> IO CBool
hs_bindgen_ff205e1f9b9cb233 =
\SDL_PropertiesID
x0 ->
\PtrConst CChar
x1 ->
\CBool
x2 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Word32 -> Ptr Void -> CBool -> IO CBool
hs_bindgen_ff205e1f9b9cb233_base (SDL_PropertiesID -> FFIType SDL_PropertiesID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PropertiesID
x0) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x1) (CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x2))
sDL_GetBooleanProperty
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> BG.CBool
-> IO BG.CBool
sDL_GetBooleanProperty :: SDL_PropertiesID -> PtrConst CChar -> CBool -> IO CBool
sDL_GetBooleanProperty = SDL_PropertiesID -> PtrConst CChar -> CBool -> IO CBool
hs_bindgen_ff205e1f9b9cb233
foreign import ccall unsafe "hs_bindgen_2b64b35dcac92b2c"
hs_bindgen_2b64b35dcac92b2c_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_2b64b35dcac92b2c
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> IO BG.CBool
hs_bindgen_2b64b35dcac92b2c :: SDL_PropertiesID -> PtrConst CChar -> IO CBool
hs_bindgen_2b64b35dcac92b2c =
\SDL_PropertiesID
x0 ->
\PtrConst CChar
x1 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> Ptr Void -> IO CBool
hs_bindgen_2b64b35dcac92b2c_base (SDL_PropertiesID -> FFIType SDL_PropertiesID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PropertiesID
x0) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x1))
sDL_ClearProperty
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> IO BG.CBool
sDL_ClearProperty :: SDL_PropertiesID -> PtrConst CChar -> IO CBool
sDL_ClearProperty = SDL_PropertiesID -> PtrConst CChar -> IO CBool
hs_bindgen_2b64b35dcac92b2c
foreign import ccall unsafe "hs_bindgen_568e06654af8bf56"
hs_bindgen_568e06654af8bf56_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.FunPtr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_568e06654af8bf56
:: SDL_PropertiesID
-> SDL_EnumeratePropertiesCallback
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_568e06654af8bf56 :: SDL_PropertiesID
-> SDL_EnumeratePropertiesCallback -> Ptr Void -> IO CBool
hs_bindgen_568e06654af8bf56 =
\SDL_PropertiesID
x0 ->
\SDL_EnumeratePropertiesCallback
x1 ->
\Ptr Void
x2 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Word32 -> FunPtr Void -> Ptr Void -> IO CBool
hs_bindgen_568e06654af8bf56_base (SDL_PropertiesID -> FFIType SDL_PropertiesID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PropertiesID
x0) (SDL_EnumeratePropertiesCallback
-> FFIType SDL_EnumeratePropertiesCallback
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_EnumeratePropertiesCallback
x1) (Ptr Void -> FFIType (Ptr Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Void
x2))
sDL_EnumerateProperties
:: SDL_PropertiesID
-> SDL_EnumeratePropertiesCallback
-> BG.Ptr BG.Void
-> IO BG.CBool
sDL_EnumerateProperties :: SDL_PropertiesID
-> SDL_EnumeratePropertiesCallback -> Ptr Void -> IO CBool
sDL_EnumerateProperties = SDL_PropertiesID
-> SDL_EnumeratePropertiesCallback -> Ptr Void -> IO CBool
hs_bindgen_568e06654af8bf56
foreign import ccall unsafe "hs_bindgen_eeb9d2ee08b0f608"
hs_bindgen_eeb9d2ee08b0f608_base
:: HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_eeb9d2ee08b0f608
:: SDL_PropertiesID
-> IO ()
hs_bindgen_eeb9d2ee08b0f608 :: SDL_PropertiesID -> IO ()
hs_bindgen_eeb9d2ee08b0f608 =
\SDL_PropertiesID
x0 ->
Word32 -> IO ()
hs_bindgen_eeb9d2ee08b0f608_base (SDL_PropertiesID -> FFIType SDL_PropertiesID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PropertiesID
x0)
sDL_DestroyProperties
:: SDL_PropertiesID
-> IO ()
sDL_DestroyProperties :: SDL_PropertiesID -> IO ()
sDL_DestroyProperties = SDL_PropertiesID -> IO ()
hs_bindgen_eeb9d2ee08b0f608