{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Properties.Safe (
SDL3.Sys.Bindgen.Properties.Safe.sDL_GetGlobalProperties,
SDL3.Sys.Bindgen.Properties.Safe.sDL_CreateProperties,
SDL3.Sys.Bindgen.Properties.Safe.sDL_CopyProperties,
SDL3.Sys.Bindgen.Properties.Safe.sDL_LockProperties,
SDL3.Sys.Bindgen.Properties.Safe.sDL_UnlockProperties,
SDL3.Sys.Bindgen.Properties.Safe.sDL_SetPointerPropertyWithCleanup,
SDL3.Sys.Bindgen.Properties.Safe.sDL_SetPointerProperty,
SDL3.Sys.Bindgen.Properties.Safe.sDL_SetStringProperty,
SDL3.Sys.Bindgen.Properties.Safe.sDL_SetNumberProperty,
SDL3.Sys.Bindgen.Properties.Safe.sDL_SetFloatProperty,
SDL3.Sys.Bindgen.Properties.Safe.sDL_SetBooleanProperty,
SDL3.Sys.Bindgen.Properties.Safe.sDL_HasProperty,
SDL3.Sys.Bindgen.Properties.Safe.sDL_GetPropertyType,
SDL3.Sys.Bindgen.Properties.Safe.sDL_GetPointerProperty,
SDL3.Sys.Bindgen.Properties.Safe.sDL_GetStringProperty,
SDL3.Sys.Bindgen.Properties.Safe.sDL_GetNumberProperty,
SDL3.Sys.Bindgen.Properties.Safe.sDL_GetFloatProperty,
SDL3.Sys.Bindgen.Properties.Safe.sDL_GetBooleanProperty,
SDL3.Sys.Bindgen.Properties.Safe.sDL_ClearProperty,
SDL3.Sys.Bindgen.Properties.Safe.sDL_EnumerateProperties,
SDL3.Sys.Bindgen.Properties.Safe.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_8fc668a59a40a958 (void)"
, "{"
, " return (SDL_GetGlobalProperties)();"
, "}"
, "SDL_PropertiesID hs_bindgen_3ef762138ffcfdfb (void)"
, "{"
, " return (SDL_CreateProperties)();"
, "}"
, "_Bool hs_bindgen_084a47db7cd509f5 ("
, " SDL_PropertiesID arg1,"
, " SDL_PropertiesID arg2"
, ")"
, "{"
, " return (SDL_CopyProperties)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_f9f9de53028c2227 ("
, " SDL_PropertiesID arg1"
, ")"
, "{"
, " return (SDL_LockProperties)(arg1);"
, "}"
, "void hs_bindgen_97fc1b206325cb6d ("
, " SDL_PropertiesID arg1"
, ")"
, "{"
, " (SDL_UnlockProperties)(arg1);"
, "}"
, "_Bool hs_bindgen_5b5795d237d14c15 ("
, " SDL_PropertiesID arg1,"
, " char const *arg2,"
, " void *arg3,"
, " SDL_CleanupPropertyCallback arg4,"
, " void *arg5"
, ")"
, "{"
, " return (SDL_SetPointerPropertyWithCleanup)(arg1, arg2, arg3, arg4, arg5);"
, "}"
, "_Bool hs_bindgen_b380a660dcae4e4a ("
, " SDL_PropertiesID arg1,"
, " char const *arg2,"
, " void *arg3"
, ")"
, "{"
, " return (SDL_SetPointerProperty)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_817765f9d735ba5b ("
, " SDL_PropertiesID arg1,"
, " char const *arg2,"
, " char const *arg3"
, ")"
, "{"
, " return (SDL_SetStringProperty)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_d9526335adcfe092 ("
, " SDL_PropertiesID arg1,"
, " char const *arg2,"
, " Sint64 arg3"
, ")"
, "{"
, " return (SDL_SetNumberProperty)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_1d60c12e8fc10844 ("
, " SDL_PropertiesID arg1,"
, " char const *arg2,"
, " float arg3"
, ")"
, "{"
, " return (SDL_SetFloatProperty)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_7fa7d5edc08019af ("
, " SDL_PropertiesID arg1,"
, " char const *arg2,"
, " _Bool arg3"
, ")"
, "{"
, " return (SDL_SetBooleanProperty)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_066c9eebf0adf032 ("
, " SDL_PropertiesID arg1,"
, " char const *arg2"
, ")"
, "{"
, " return (SDL_HasProperty)(arg1, arg2);"
, "}"
, "SDL_PropertyType hs_bindgen_2d83b2660daf1e6b ("
, " SDL_PropertiesID arg1,"
, " char const *arg2"
, ")"
, "{"
, " return (SDL_GetPropertyType)(arg1, arg2);"
, "}"
, "void *hs_bindgen_65efe810372a76d0 ("
, " SDL_PropertiesID arg1,"
, " char const *arg2,"
, " void *arg3"
, ")"
, "{"
, " return (SDL_GetPointerProperty)(arg1, arg2, arg3);"
, "}"
, "char const *hs_bindgen_4d53ef22e0b50452 ("
, " SDL_PropertiesID arg1,"
, " char const *arg2,"
, " char const *arg3"
, ")"
, "{"
, " return (SDL_GetStringProperty)(arg1, arg2, arg3);"
, "}"
, "Sint64 hs_bindgen_d53619e1d560068d ("
, " SDL_PropertiesID arg1,"
, " char const *arg2,"
, " Sint64 arg3"
, ")"
, "{"
, " return (SDL_GetNumberProperty)(arg1, arg2, arg3);"
, "}"
, "float hs_bindgen_6e11191bf6b2bbe6 ("
, " SDL_PropertiesID arg1,"
, " char const *arg2,"
, " float arg3"
, ")"
, "{"
, " return (SDL_GetFloatProperty)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_1ad958c6807eba6d ("
, " SDL_PropertiesID arg1,"
, " char const *arg2,"
, " _Bool arg3"
, ")"
, "{"
, " return (SDL_GetBooleanProperty)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_5c29c62c039edbb3 ("
, " SDL_PropertiesID arg1,"
, " char const *arg2"
, ")"
, "{"
, " return (SDL_ClearProperty)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_395a072881de9c1b ("
, " SDL_PropertiesID arg1,"
, " SDL_EnumeratePropertiesCallback arg2,"
, " void *arg3"
, ")"
, "{"
, " return (SDL_EnumerateProperties)(arg1, arg2, arg3);"
, "}"
, "void hs_bindgen_fea2c8b90ca0d148 ("
, " SDL_PropertiesID arg1"
, ")"
, "{"
, " (SDL_DestroyProperties)(arg1);"
, "}"
]
)
)
foreign import ccall safe "hs_bindgen_8fc668a59a40a958"
hs_bindgen_8fc668a59a40a958_base
:: IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_8fc668a59a40a958 :: IO SDL_PropertiesID
hs_bindgen_8fc668a59a40a958 :: IO SDL_PropertiesID
hs_bindgen_8fc668a59a40a958 =
(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_8fc668a59a40a958_base
sDL_GetGlobalProperties :: IO SDL_PropertiesID
sDL_GetGlobalProperties :: IO SDL_PropertiesID
sDL_GetGlobalProperties = IO SDL_PropertiesID
hs_bindgen_8fc668a59a40a958
foreign import ccall safe "hs_bindgen_3ef762138ffcfdfb"
hs_bindgen_3ef762138ffcfdfb_base
:: IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_3ef762138ffcfdfb :: IO SDL_PropertiesID
hs_bindgen_3ef762138ffcfdfb :: IO SDL_PropertiesID
hs_bindgen_3ef762138ffcfdfb =
(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_3ef762138ffcfdfb_base
sDL_CreateProperties :: IO SDL_PropertiesID
sDL_CreateProperties :: IO SDL_PropertiesID
sDL_CreateProperties = IO SDL_PropertiesID
hs_bindgen_3ef762138ffcfdfb
foreign import ccall safe "hs_bindgen_084a47db7cd509f5"
hs_bindgen_084a47db7cd509f5_base
:: HsBindgen.Runtime.LibC.Word32
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_084a47db7cd509f5
:: SDL_PropertiesID
-> SDL_PropertiesID
-> IO BG.CBool
hs_bindgen_084a47db7cd509f5 :: SDL_PropertiesID -> SDL_PropertiesID -> IO CBool
hs_bindgen_084a47db7cd509f5 =
\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_084a47db7cd509f5_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_084a47db7cd509f5
foreign import ccall safe "hs_bindgen_f9f9de53028c2227"
hs_bindgen_f9f9de53028c2227_base
:: HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_f9f9de53028c2227
:: SDL_PropertiesID
-> IO BG.CBool
hs_bindgen_f9f9de53028c2227 :: SDL_PropertiesID -> IO CBool
hs_bindgen_f9f9de53028c2227 =
\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_f9f9de53028c2227_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_f9f9de53028c2227
foreign import ccall safe "hs_bindgen_97fc1b206325cb6d"
hs_bindgen_97fc1b206325cb6d_base
:: HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_97fc1b206325cb6d
:: SDL_PropertiesID
-> IO ()
hs_bindgen_97fc1b206325cb6d :: SDL_PropertiesID -> IO ()
hs_bindgen_97fc1b206325cb6d =
\SDL_PropertiesID
x0 ->
Word32 -> IO ()
hs_bindgen_97fc1b206325cb6d_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_97fc1b206325cb6d
foreign import ccall safe "hs_bindgen_5b5795d237d14c15"
hs_bindgen_5b5795d237d14c15_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_5b5795d237d14c15
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> BG.Ptr BG.Void
-> SDL_CleanupPropertyCallback
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_5b5795d237d14c15 :: SDL_PropertiesID
-> PtrConst CChar
-> Ptr Void
-> SDL_CleanupPropertyCallback
-> Ptr Void
-> IO CBool
hs_bindgen_5b5795d237d14c15 =
\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_5b5795d237d14c15_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_5b5795d237d14c15
foreign import ccall safe "hs_bindgen_b380a660dcae4e4a"
hs_bindgen_b380a660dcae4e4a_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_b380a660dcae4e4a
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_b380a660dcae4e4a :: SDL_PropertiesID -> PtrConst CChar -> Ptr Void -> IO CBool
hs_bindgen_b380a660dcae4e4a =
\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_b380a660dcae4e4a_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_b380a660dcae4e4a
foreign import ccall safe "hs_bindgen_817765f9d735ba5b"
hs_bindgen_817765f9d735ba5b_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_817765f9d735ba5b
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> PtrConst.PtrConst BG.CChar
-> IO BG.CBool
hs_bindgen_817765f9d735ba5b :: SDL_PropertiesID -> PtrConst CChar -> PtrConst CChar -> IO CBool
hs_bindgen_817765f9d735ba5b =
\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_817765f9d735ba5b_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_817765f9d735ba5b
foreign import ccall safe "hs_bindgen_d9526335adcfe092"
hs_bindgen_d9526335adcfe092_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Int64
-> IO BG.CBool
hs_bindgen_d9526335adcfe092
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> SDL3.Sys.Bindgen.Stdinc.Sint64
-> IO BG.CBool
hs_bindgen_d9526335adcfe092 :: SDL_PropertiesID -> PtrConst CChar -> Sint64 -> IO CBool
hs_bindgen_d9526335adcfe092 =
\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_d9526335adcfe092_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_d9526335adcfe092
foreign import ccall safe "hs_bindgen_1d60c12e8fc10844"
hs_bindgen_1d60c12e8fc10844_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_1d60c12e8fc10844
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_1d60c12e8fc10844 :: SDL_PropertiesID -> PtrConst CChar -> CFloat -> IO CBool
hs_bindgen_1d60c12e8fc10844 =
\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_1d60c12e8fc10844_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_1d60c12e8fc10844
foreign import ccall safe "hs_bindgen_7fa7d5edc08019af"
hs_bindgen_7fa7d5edc08019af_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> BG.CBool
-> IO BG.CBool
hs_bindgen_7fa7d5edc08019af
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> BG.CBool
-> IO BG.CBool
hs_bindgen_7fa7d5edc08019af :: SDL_PropertiesID -> PtrConst CChar -> CBool -> IO CBool
hs_bindgen_7fa7d5edc08019af =
\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_7fa7d5edc08019af_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_7fa7d5edc08019af
foreign import ccall safe "hs_bindgen_066c9eebf0adf032"
hs_bindgen_066c9eebf0adf032_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_066c9eebf0adf032
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> IO BG.CBool
hs_bindgen_066c9eebf0adf032 :: SDL_PropertiesID -> PtrConst CChar -> IO CBool
hs_bindgen_066c9eebf0adf032 =
\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_066c9eebf0adf032_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_066c9eebf0adf032
foreign import ccall safe "hs_bindgen_2d83b2660daf1e6b"
hs_bindgen_2d83b2660daf1e6b_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> IO BG.CUInt
hs_bindgen_2d83b2660daf1e6b
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> IO SDL_PropertyType
hs_bindgen_2d83b2660daf1e6b :: SDL_PropertiesID -> PtrConst CChar -> IO SDL_PropertyType
hs_bindgen_2d83b2660daf1e6b =
\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_2d83b2660daf1e6b_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_2d83b2660daf1e6b
foreign import ccall safe "hs_bindgen_65efe810372a76d0"
hs_bindgen_65efe810372a76d0_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_65efe810372a76d0
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_65efe810372a76d0 :: SDL_PropertiesID -> PtrConst CChar -> Ptr Void -> IO (Ptr Void)
hs_bindgen_65efe810372a76d0 =
\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_65efe810372a76d0_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_65efe810372a76d0
foreign import ccall safe "hs_bindgen_4d53ef22e0b50452"
hs_bindgen_4d53ef22e0b50452_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_4d53ef22e0b50452
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> PtrConst.PtrConst BG.CChar
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_4d53ef22e0b50452 :: SDL_PropertiesID
-> PtrConst CChar -> PtrConst CChar -> IO (PtrConst CChar)
hs_bindgen_4d53ef22e0b50452 =
\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_4d53ef22e0b50452_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_4d53ef22e0b50452
foreign import ccall safe "hs_bindgen_d53619e1d560068d"
hs_bindgen_d53619e1d560068d_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Int64
-> IO HsBindgen.Runtime.LibC.Int64
hs_bindgen_d53619e1d560068d
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> SDL3.Sys.Bindgen.Stdinc.Sint64
-> IO SDL3.Sys.Bindgen.Stdinc.Sint64
hs_bindgen_d53619e1d560068d :: SDL_PropertiesID -> PtrConst CChar -> Sint64 -> IO Sint64
hs_bindgen_d53619e1d560068d =
\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_d53619e1d560068d_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_d53619e1d560068d
foreign import ccall safe "hs_bindgen_6e11191bf6b2bbe6"
hs_bindgen_6e11191bf6b2bbe6_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> BG.CFloat
-> IO BG.CFloat
hs_bindgen_6e11191bf6b2bbe6
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> BG.CFloat
-> IO BG.CFloat
hs_bindgen_6e11191bf6b2bbe6 :: SDL_PropertiesID -> PtrConst CChar -> CFloat -> IO CFloat
hs_bindgen_6e11191bf6b2bbe6 =
\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_6e11191bf6b2bbe6_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_6e11191bf6b2bbe6
foreign import ccall safe "hs_bindgen_1ad958c6807eba6d"
hs_bindgen_1ad958c6807eba6d_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> BG.CBool
-> IO BG.CBool
hs_bindgen_1ad958c6807eba6d
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> BG.CBool
-> IO BG.CBool
hs_bindgen_1ad958c6807eba6d :: SDL_PropertiesID -> PtrConst CChar -> CBool -> IO CBool
hs_bindgen_1ad958c6807eba6d =
\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_1ad958c6807eba6d_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_1ad958c6807eba6d
foreign import ccall safe "hs_bindgen_5c29c62c039edbb3"
hs_bindgen_5c29c62c039edbb3_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_5c29c62c039edbb3
:: SDL_PropertiesID
-> PtrConst.PtrConst BG.CChar
-> IO BG.CBool
hs_bindgen_5c29c62c039edbb3 :: SDL_PropertiesID -> PtrConst CChar -> IO CBool
hs_bindgen_5c29c62c039edbb3 =
\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_5c29c62c039edbb3_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_5c29c62c039edbb3
foreign import ccall safe "hs_bindgen_395a072881de9c1b"
hs_bindgen_395a072881de9c1b_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.FunPtr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_395a072881de9c1b
:: SDL_PropertiesID
-> SDL_EnumeratePropertiesCallback
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_395a072881de9c1b :: SDL_PropertiesID
-> SDL_EnumeratePropertiesCallback -> Ptr Void -> IO CBool
hs_bindgen_395a072881de9c1b =
\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_395a072881de9c1b_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_395a072881de9c1b
foreign import ccall safe "hs_bindgen_fea2c8b90ca0d148"
hs_bindgen_fea2c8b90ca0d148_base
:: HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_fea2c8b90ca0d148
:: SDL_PropertiesID
-> IO ()
hs_bindgen_fea2c8b90ca0d148 :: SDL_PropertiesID -> IO ()
hs_bindgen_fea2c8b90ca0d148 =
\SDL_PropertiesID
x0 ->
Word32 -> IO ()
hs_bindgen_fea2c8b90ca0d148_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_fea2c8b90ca0d148