{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Hidapi.Safe (
SDL3.Sys.Bindgen.Hidapi.Safe.sDL_hid_init,
SDL3.Sys.Bindgen.Hidapi.Safe.sDL_hid_exit,
SDL3.Sys.Bindgen.Hidapi.Safe.sDL_hid_device_change_count,
SDL3.Sys.Bindgen.Hidapi.Safe.sDL_hid_enumerate,
SDL3.Sys.Bindgen.Hidapi.Safe.sDL_hid_free_enumeration,
SDL3.Sys.Bindgen.Hidapi.Safe.sDL_hid_open,
SDL3.Sys.Bindgen.Hidapi.Safe.sDL_hid_open_path,
SDL3.Sys.Bindgen.Hidapi.Safe.sDL_hid_get_properties,
SDL3.Sys.Bindgen.Hidapi.Safe.sDL_hid_write,
SDL3.Sys.Bindgen.Hidapi.Safe.sDL_hid_read_timeout,
SDL3.Sys.Bindgen.Hidapi.Safe.sDL_hid_read,
SDL3.Sys.Bindgen.Hidapi.Safe.sDL_hid_set_nonblocking,
SDL3.Sys.Bindgen.Hidapi.Safe.sDL_hid_send_feature_report,
SDL3.Sys.Bindgen.Hidapi.Safe.sDL_hid_get_feature_report,
SDL3.Sys.Bindgen.Hidapi.Safe.sDL_hid_get_input_report,
SDL3.Sys.Bindgen.Hidapi.Safe.sDL_hid_close,
SDL3.Sys.Bindgen.Hidapi.Safe.sDL_hid_get_manufacturer_string,
SDL3.Sys.Bindgen.Hidapi.Safe.sDL_hid_get_product_string,
SDL3.Sys.Bindgen.Hidapi.Safe.sDL_hid_get_serial_number_string,
SDL3.Sys.Bindgen.Hidapi.Safe.sDL_hid_get_indexed_string,
SDL3.Sys.Bindgen.Hidapi.Safe.sDL_hid_get_device_info,
SDL3.Sys.Bindgen.Hidapi.Safe.sDL_hid_get_report_descriptor,
SDL3.Sys.Bindgen.Hidapi.Safe.sDL_hid_ble_scan,
)
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.Hidapi
import SDL3.Sys.Bindgen.Properties qualified
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_hidapi.h>"
, "signed int hs_bindgen_e23ad4638e4651c5 (void)"
, "{"
, " return (SDL_hid_init)();"
, "}"
, "signed int hs_bindgen_7eaeed138e676c34 (void)"
, "{"
, " return (SDL_hid_exit)();"
, "}"
, "Uint32 hs_bindgen_68b6879ddc50fc82 (void)"
, "{"
, " return (SDL_hid_device_change_count)();"
, "}"
, "SDL_hid_device_info *hs_bindgen_eb498439d31d5942 ("
, " unsigned short arg1,"
, " unsigned short arg2"
, ")"
, "{"
, " return (SDL_hid_enumerate)(arg1, arg2);"
, "}"
, "void hs_bindgen_1de5e5c103bbeb76 ("
, " SDL_hid_device_info *arg1"
, ")"
, "{"
, " (SDL_hid_free_enumeration)(arg1);"
, "}"
, "SDL_hid_device *hs_bindgen_4dc258d14565e3b1 ("
, " unsigned short arg1,"
, " unsigned short arg2,"
, " wchar_t const *arg3"
, ")"
, "{"
, " return (SDL_hid_open)(arg1, arg2, arg3);"
, "}"
, "SDL_hid_device *hs_bindgen_c079ea49eff1706e ("
, " char const *arg1"
, ")"
, "{"
, " return (SDL_hid_open_path)(arg1);"
, "}"
, "#include <SDL3/SDL_version.h>"
, "#include <SDL3/SDL_error.h>"
, "#include <SDL3/SDL_version.h>"
, "#if !SDL_VERSION_ATLEAST(3, 4, 0)"
, "typedef Uint32 SDL_PropertiesID;"
, "#endif"
, "SDL_PropertiesID hs_bindgen_18716020d09fa299 ("
, " SDL_hid_device *arg1"
, ")"
, "{"
, "#if SDL_VERSION_ATLEAST(3, 4, 0)"
, " return (SDL_hid_get_properties)(arg1);"
, "#else"
, " (void)arg1; SDL_SetError(\"SDL_hid_get_properties requires SDL >= 3.4.0\"); return 0;"
, "#endif"
, "}"
, "signed int hs_bindgen_7ffa302bd453f29d ("
, " SDL_hid_device *arg1,"
, " unsigned char const *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return (SDL_hid_write)(arg1, arg2, arg3);"
, "}"
, "signed int hs_bindgen_a9bb09f6978bf010 ("
, " SDL_hid_device *arg1,"
, " unsigned char *arg2,"
, " size_t arg3,"
, " signed int arg4"
, ")"
, "{"
, " return (SDL_hid_read_timeout)(arg1, arg2, arg3, arg4);"
, "}"
, "signed int hs_bindgen_71bc97f6f0149b6b ("
, " SDL_hid_device *arg1,"
, " unsigned char *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return (SDL_hid_read)(arg1, arg2, arg3);"
, "}"
, "signed int hs_bindgen_a4718c506d2c7f0f ("
, " SDL_hid_device *arg1,"
, " signed int arg2"
, ")"
, "{"
, " return (SDL_hid_set_nonblocking)(arg1, arg2);"
, "}"
, "signed int hs_bindgen_3f1829d40ff45783 ("
, " SDL_hid_device *arg1,"
, " unsigned char const *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return (SDL_hid_send_feature_report)(arg1, arg2, arg3);"
, "}"
, "signed int hs_bindgen_9bc7b92776c7a78c ("
, " SDL_hid_device *arg1,"
, " unsigned char *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return (SDL_hid_get_feature_report)(arg1, arg2, arg3);"
, "}"
, "signed int hs_bindgen_71a9fd2459b81356 ("
, " SDL_hid_device *arg1,"
, " unsigned char *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return (SDL_hid_get_input_report)(arg1, arg2, arg3);"
, "}"
, "signed int hs_bindgen_ac431d883efee041 ("
, " SDL_hid_device *arg1"
, ")"
, "{"
, " return (SDL_hid_close)(arg1);"
, "}"
, "signed int hs_bindgen_d928c5175963fa2b ("
, " SDL_hid_device *arg1,"
, " wchar_t *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return (SDL_hid_get_manufacturer_string)(arg1, arg2, arg3);"
, "}"
, "signed int hs_bindgen_6efd06cbd0be2ac4 ("
, " SDL_hid_device *arg1,"
, " wchar_t *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return (SDL_hid_get_product_string)(arg1, arg2, arg3);"
, "}"
, "signed int hs_bindgen_d39732d6a3cf4069 ("
, " SDL_hid_device *arg1,"
, " wchar_t *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return (SDL_hid_get_serial_number_string)(arg1, arg2, arg3);"
, "}"
, "signed int hs_bindgen_b1f4db11ff770839 ("
, " SDL_hid_device *arg1,"
, " signed int arg2,"
, " wchar_t *arg3,"
, " size_t arg4"
, ")"
, "{"
, " return (SDL_hid_get_indexed_string)(arg1, arg2, arg3, arg4);"
, "}"
, "SDL_hid_device_info *hs_bindgen_16acf6e683b8f908 ("
, " SDL_hid_device *arg1"
, ")"
, "{"
, " return (SDL_hid_get_device_info)(arg1);"
, "}"
, "signed int hs_bindgen_a73f2ef51699b1a7 ("
, " SDL_hid_device *arg1,"
, " unsigned char *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return (SDL_hid_get_report_descriptor)(arg1, arg2, arg3);"
, "}"
, "void hs_bindgen_5f872b3d74ffb765 ("
, " _Bool arg1"
, ")"
, "{"
, " (SDL_hid_ble_scan)(arg1);"
, "}"
]
)
)
foreign import ccall safe "hs_bindgen_e23ad4638e4651c5"
hs_bindgen_e23ad4638e4651c5_base
:: IO BG.CInt
hs_bindgen_e23ad4638e4651c5 :: IO BG.CInt
hs_bindgen_e23ad4638e4651c5 :: IO CInt
hs_bindgen_e23ad4638e4651c5 =
(CInt -> CInt) -> IO CInt -> IO CInt
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CInt -> CInt
FFIType CInt -> CInt
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO CInt
hs_bindgen_e23ad4638e4651c5_base
sDL_hid_init :: IO BG.CInt
sDL_hid_init :: IO CInt
sDL_hid_init = IO CInt
hs_bindgen_e23ad4638e4651c5
foreign import ccall safe "hs_bindgen_7eaeed138e676c34"
hs_bindgen_7eaeed138e676c34_base
:: IO BG.CInt
hs_bindgen_7eaeed138e676c34 :: IO BG.CInt
hs_bindgen_7eaeed138e676c34 :: IO CInt
hs_bindgen_7eaeed138e676c34 =
(CInt -> CInt) -> IO CInt -> IO CInt
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CInt -> CInt
FFIType CInt -> CInt
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO CInt
hs_bindgen_7eaeed138e676c34_base
sDL_hid_exit :: IO BG.CInt
sDL_hid_exit :: IO CInt
sDL_hid_exit = IO CInt
hs_bindgen_7eaeed138e676c34
foreign import ccall safe "hs_bindgen_68b6879ddc50fc82"
hs_bindgen_68b6879ddc50fc82_base
:: IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_68b6879ddc50fc82 :: IO SDL3.Sys.Bindgen.Stdinc.Uint32
hs_bindgen_68b6879ddc50fc82 :: IO Uint32
hs_bindgen_68b6879ddc50fc82 =
(Word32 -> Uint32) -> IO Word32 -> IO Uint32
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Word32 -> Uint32
FFIType Uint32 -> Uint32
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO Word32
hs_bindgen_68b6879ddc50fc82_base
sDL_hid_device_change_count :: IO SDL3.Sys.Bindgen.Stdinc.Uint32
sDL_hid_device_change_count :: IO Uint32
sDL_hid_device_change_count =
IO Uint32
hs_bindgen_68b6879ddc50fc82
foreign import ccall safe "hs_bindgen_eb498439d31d5942"
hs_bindgen_eb498439d31d5942_base
:: BG.CUShort
-> BG.CUShort
-> IO (BG.Ptr BG.Void)
hs_bindgen_eb498439d31d5942
:: BG.CUShort
-> BG.CUShort
-> IO (BG.Ptr SDL_hid_device_info)
hs_bindgen_eb498439d31d5942 :: CUShort -> CUShort -> IO (Ptr SDL_hid_device_info)
hs_bindgen_eb498439d31d5942 =
\CUShort
x0 ->
\CUShort
x1 ->
(Ptr Void -> Ptr SDL_hid_device_info)
-> IO (Ptr Void) -> IO (Ptr SDL_hid_device_info)
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 SDL_hid_device_info
FFIType (Ptr SDL_hid_device_info) -> Ptr SDL_hid_device_info
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (CUShort -> CUShort -> IO (Ptr Void)
hs_bindgen_eb498439d31d5942_base (CUShort -> FFIType CUShort
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CUShort
x0) (CUShort -> FFIType CUShort
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CUShort
x1))
sDL_hid_enumerate
:: BG.CUShort
-> BG.CUShort
-> IO (BG.Ptr SDL_hid_device_info)
sDL_hid_enumerate :: CUShort -> CUShort -> IO (Ptr SDL_hid_device_info)
sDL_hid_enumerate = CUShort -> CUShort -> IO (Ptr SDL_hid_device_info)
hs_bindgen_eb498439d31d5942
foreign import ccall safe "hs_bindgen_1de5e5c103bbeb76"
hs_bindgen_1de5e5c103bbeb76_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_1de5e5c103bbeb76
:: BG.Ptr SDL_hid_device_info
-> IO ()
hs_bindgen_1de5e5c103bbeb76 :: Ptr SDL_hid_device_info -> IO ()
hs_bindgen_1de5e5c103bbeb76 =
\Ptr SDL_hid_device_info
x0 ->
Ptr Void -> IO ()
hs_bindgen_1de5e5c103bbeb76_base (Ptr SDL_hid_device_info -> FFIType (Ptr SDL_hid_device_info)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_hid_device_info
x0)
sDL_hid_free_enumeration
:: BG.Ptr SDL_hid_device_info
-> IO ()
sDL_hid_free_enumeration :: Ptr SDL_hid_device_info -> IO ()
sDL_hid_free_enumeration =
Ptr SDL_hid_device_info -> IO ()
hs_bindgen_1de5e5c103bbeb76
foreign import ccall safe "hs_bindgen_4dc258d14565e3b1"
hs_bindgen_4dc258d14565e3b1_base
:: BG.CUShort
-> BG.CUShort
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_4dc258d14565e3b1
:: BG.CUShort
-> BG.CUShort
-> PtrConst.PtrConst HsBindgen.Runtime.LibC.CWchar
-> IO (BG.Ptr SDL_hid_device)
hs_bindgen_4dc258d14565e3b1 :: CUShort -> CUShort -> PtrConst CWchar -> IO (Ptr SDL_hid_device)
hs_bindgen_4dc258d14565e3b1 =
\CUShort
x0 ->
\CUShort
x1 ->
\PtrConst CWchar
x2 ->
(Ptr Void -> Ptr SDL_hid_device)
-> IO (Ptr Void) -> IO (Ptr SDL_hid_device)
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 SDL_hid_device
FFIType (Ptr SDL_hid_device) -> Ptr SDL_hid_device
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(CUShort -> CUShort -> Ptr Void -> IO (Ptr Void)
hs_bindgen_4dc258d14565e3b1_base (CUShort -> FFIType CUShort
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CUShort
x0) (CUShort -> FFIType CUShort
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CUShort
x1) (PtrConst CWchar -> FFIType (PtrConst CWchar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CWchar
x2))
sDL_hid_open
:: BG.CUShort
-> BG.CUShort
-> PtrConst.PtrConst HsBindgen.Runtime.LibC.CWchar
-> IO (BG.Ptr SDL_hid_device)
sDL_hid_open :: CUShort -> CUShort -> PtrConst CWchar -> IO (Ptr SDL_hid_device)
sDL_hid_open = CUShort -> CUShort -> PtrConst CWchar -> IO (Ptr SDL_hid_device)
hs_bindgen_4dc258d14565e3b1
foreign import ccall safe "hs_bindgen_c079ea49eff1706e"
hs_bindgen_c079ea49eff1706e_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_c079ea49eff1706e
:: PtrConst.PtrConst BG.CChar
-> IO (BG.Ptr SDL_hid_device)
hs_bindgen_c079ea49eff1706e :: PtrConst CChar -> IO (Ptr SDL_hid_device)
hs_bindgen_c079ea49eff1706e =
\PtrConst CChar
x0 ->
(Ptr Void -> Ptr SDL_hid_device)
-> IO (Ptr Void) -> IO (Ptr SDL_hid_device)
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 SDL_hid_device
FFIType (Ptr SDL_hid_device) -> Ptr SDL_hid_device
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_c079ea49eff1706e_base (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x0))
sDL_hid_open_path
:: PtrConst.PtrConst BG.CChar
-> IO (BG.Ptr SDL_hid_device)
sDL_hid_open_path :: PtrConst CChar -> IO (Ptr SDL_hid_device)
sDL_hid_open_path = PtrConst CChar -> IO (Ptr SDL_hid_device)
hs_bindgen_c079ea49eff1706e
foreign import ccall safe "hs_bindgen_18716020d09fa299"
hs_bindgen_18716020d09fa299_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_18716020d09fa299
:: BG.Ptr SDL_hid_device
-> IO SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
hs_bindgen_18716020d09fa299 :: Ptr SDL_hid_device -> IO SDL_PropertiesID
hs_bindgen_18716020d09fa299 =
\Ptr SDL_hid_device
x0 ->
(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 (Ptr Void -> IO Word32
hs_bindgen_18716020d09fa299_base (Ptr SDL_hid_device -> FFIType (Ptr SDL_hid_device)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_hid_device
x0))
sDL_hid_get_properties
:: BG.Ptr SDL_hid_device
-> IO SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
sDL_hid_get_properties :: Ptr SDL_hid_device -> IO SDL_PropertiesID
sDL_hid_get_properties = Ptr SDL_hid_device -> IO SDL_PropertiesID
hs_bindgen_18716020d09fa299
foreign import ccall safe "hs_bindgen_7ffa302bd453f29d"
hs_bindgen_7ffa302bd453f29d_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_7ffa302bd453f29d
:: BG.Ptr SDL_hid_device
-> PtrConst.PtrConst BG.CUChar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_7ffa302bd453f29d :: Ptr SDL_hid_device -> PtrConst CUChar -> CSize -> IO CInt
hs_bindgen_7ffa302bd453f29d =
\Ptr SDL_hid_device
x0 ->
\PtrConst CUChar
x1 ->
\CSize
x2 ->
(CInt -> CInt) -> IO CInt -> IO CInt
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CInt -> CInt
FFIType CInt -> CInt
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> CSize -> IO CInt
hs_bindgen_7ffa302bd453f29d_base (Ptr SDL_hid_device -> FFIType (Ptr SDL_hid_device)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_hid_device
x0) (PtrConst CUChar -> FFIType (PtrConst CUChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CUChar
x1) (CSize -> FFIType CSize
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CSize
x2))
sDL_hid_write
:: BG.Ptr SDL_hid_device
-> PtrConst.PtrConst BG.CUChar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
sDL_hid_write :: Ptr SDL_hid_device -> PtrConst CUChar -> CSize -> IO CInt
sDL_hid_write = Ptr SDL_hid_device -> PtrConst CUChar -> CSize -> IO CInt
hs_bindgen_7ffa302bd453f29d
foreign import ccall safe "hs_bindgen_a9bb09f6978bf010"
hs_bindgen_a9bb09f6978bf010_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> BG.CInt
-> IO BG.CInt
hs_bindgen_a9bb09f6978bf010
:: BG.Ptr SDL_hid_device
-> BG.Ptr BG.CUChar
-> HsBindgen.Runtime.LibC.CSize
-> BG.CInt
-> IO BG.CInt
hs_bindgen_a9bb09f6978bf010 :: Ptr SDL_hid_device -> Ptr CUChar -> CSize -> CInt -> IO CInt
hs_bindgen_a9bb09f6978bf010 =
\Ptr SDL_hid_device
x0 ->
\Ptr CUChar
x1 ->
\CSize
x2 ->
\CInt
x3 ->
(CInt -> CInt) -> IO CInt -> IO CInt
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CInt -> CInt
FFIType CInt -> CInt
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void -> Ptr Void -> CSize -> CInt -> IO CInt
hs_bindgen_a9bb09f6978bf010_base
(Ptr SDL_hid_device -> FFIType (Ptr SDL_hid_device)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_hid_device
x0)
(Ptr CUChar -> FFIType (Ptr CUChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CUChar
x1)
(CSize -> FFIType CSize
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CSize
x2)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x3)
)
sDL_hid_read_timeout
:: BG.Ptr SDL_hid_device
-> BG.Ptr BG.CUChar
-> HsBindgen.Runtime.LibC.CSize
-> BG.CInt
-> IO BG.CInt
sDL_hid_read_timeout :: Ptr SDL_hid_device -> Ptr CUChar -> CSize -> CInt -> IO CInt
sDL_hid_read_timeout = Ptr SDL_hid_device -> Ptr CUChar -> CSize -> CInt -> IO CInt
hs_bindgen_a9bb09f6978bf010
foreign import ccall safe "hs_bindgen_71bc97f6f0149b6b"
hs_bindgen_71bc97f6f0149b6b_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_71bc97f6f0149b6b
:: BG.Ptr SDL_hid_device
-> BG.Ptr BG.CUChar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_71bc97f6f0149b6b :: Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt
hs_bindgen_71bc97f6f0149b6b =
\Ptr SDL_hid_device
x0 ->
\Ptr CUChar
x1 ->
\CSize
x2 ->
(CInt -> CInt) -> IO CInt -> IO CInt
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CInt -> CInt
FFIType CInt -> CInt
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> CSize -> IO CInt
hs_bindgen_71bc97f6f0149b6b_base (Ptr SDL_hid_device -> FFIType (Ptr SDL_hid_device)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_hid_device
x0) (Ptr CUChar -> FFIType (Ptr CUChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CUChar
x1) (CSize -> FFIType CSize
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CSize
x2))
sDL_hid_read
:: BG.Ptr SDL_hid_device
-> BG.Ptr BG.CUChar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
sDL_hid_read :: Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt
sDL_hid_read = Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt
hs_bindgen_71bc97f6f0149b6b
foreign import ccall safe "hs_bindgen_a4718c506d2c7f0f"
hs_bindgen_a4718c506d2c7f0f_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CInt
hs_bindgen_a4718c506d2c7f0f
:: BG.Ptr SDL_hid_device
-> BG.CInt
-> IO BG.CInt
hs_bindgen_a4718c506d2c7f0f :: Ptr SDL_hid_device -> CInt -> IO CInt
hs_bindgen_a4718c506d2c7f0f =
\Ptr SDL_hid_device
x0 ->
\CInt
x1 ->
(CInt -> CInt) -> IO CInt -> IO CInt
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CInt -> CInt
FFIType CInt -> CInt
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> CInt -> IO CInt
hs_bindgen_a4718c506d2c7f0f_base (Ptr SDL_hid_device -> FFIType (Ptr SDL_hid_device)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_hid_device
x0) (CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1))
sDL_hid_set_nonblocking
:: BG.Ptr SDL_hid_device
-> BG.CInt
-> IO BG.CInt
sDL_hid_set_nonblocking :: Ptr SDL_hid_device -> CInt -> IO CInt
sDL_hid_set_nonblocking = Ptr SDL_hid_device -> CInt -> IO CInt
hs_bindgen_a4718c506d2c7f0f
foreign import ccall safe "hs_bindgen_3f1829d40ff45783"
hs_bindgen_3f1829d40ff45783_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_3f1829d40ff45783
:: BG.Ptr SDL_hid_device
-> PtrConst.PtrConst BG.CUChar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_3f1829d40ff45783 :: Ptr SDL_hid_device -> PtrConst CUChar -> CSize -> IO CInt
hs_bindgen_3f1829d40ff45783 =
\Ptr SDL_hid_device
x0 ->
\PtrConst CUChar
x1 ->
\CSize
x2 ->
(CInt -> CInt) -> IO CInt -> IO CInt
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CInt -> CInt
FFIType CInt -> CInt
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> CSize -> IO CInt
hs_bindgen_3f1829d40ff45783_base (Ptr SDL_hid_device -> FFIType (Ptr SDL_hid_device)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_hid_device
x0) (PtrConst CUChar -> FFIType (PtrConst CUChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CUChar
x1) (CSize -> FFIType CSize
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CSize
x2))
sDL_hid_send_feature_report
:: BG.Ptr SDL_hid_device
-> PtrConst.PtrConst BG.CUChar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
sDL_hid_send_feature_report :: Ptr SDL_hid_device -> PtrConst CUChar -> CSize -> IO CInt
sDL_hid_send_feature_report =
Ptr SDL_hid_device -> PtrConst CUChar -> CSize -> IO CInt
hs_bindgen_3f1829d40ff45783
foreign import ccall safe "hs_bindgen_9bc7b92776c7a78c"
hs_bindgen_9bc7b92776c7a78c_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_9bc7b92776c7a78c
:: BG.Ptr SDL_hid_device
-> BG.Ptr BG.CUChar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_9bc7b92776c7a78c :: Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt
hs_bindgen_9bc7b92776c7a78c =
\Ptr SDL_hid_device
x0 ->
\Ptr CUChar
x1 ->
\CSize
x2 ->
(CInt -> CInt) -> IO CInt -> IO CInt
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CInt -> CInt
FFIType CInt -> CInt
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> CSize -> IO CInt
hs_bindgen_9bc7b92776c7a78c_base (Ptr SDL_hid_device -> FFIType (Ptr SDL_hid_device)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_hid_device
x0) (Ptr CUChar -> FFIType (Ptr CUChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CUChar
x1) (CSize -> FFIType CSize
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CSize
x2))
sDL_hid_get_feature_report
:: BG.Ptr SDL_hid_device
-> BG.Ptr BG.CUChar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
sDL_hid_get_feature_report :: Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt
sDL_hid_get_feature_report =
Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt
hs_bindgen_9bc7b92776c7a78c
foreign import ccall safe "hs_bindgen_71a9fd2459b81356"
hs_bindgen_71a9fd2459b81356_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_71a9fd2459b81356
:: BG.Ptr SDL_hid_device
-> BG.Ptr BG.CUChar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_71a9fd2459b81356 :: Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt
hs_bindgen_71a9fd2459b81356 =
\Ptr SDL_hid_device
x0 ->
\Ptr CUChar
x1 ->
\CSize
x2 ->
(CInt -> CInt) -> IO CInt -> IO CInt
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CInt -> CInt
FFIType CInt -> CInt
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> CSize -> IO CInt
hs_bindgen_71a9fd2459b81356_base (Ptr SDL_hid_device -> FFIType (Ptr SDL_hid_device)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_hid_device
x0) (Ptr CUChar -> FFIType (Ptr CUChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CUChar
x1) (CSize -> FFIType CSize
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CSize
x2))
sDL_hid_get_input_report
:: BG.Ptr SDL_hid_device
-> BG.Ptr BG.CUChar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
sDL_hid_get_input_report :: Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt
sDL_hid_get_input_report =
Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt
hs_bindgen_71a9fd2459b81356
foreign import ccall safe "hs_bindgen_ac431d883efee041"
hs_bindgen_ac431d883efee041_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_ac431d883efee041
:: BG.Ptr SDL_hid_device
-> IO BG.CInt
hs_bindgen_ac431d883efee041 :: Ptr SDL_hid_device -> IO CInt
hs_bindgen_ac431d883efee041 =
\Ptr SDL_hid_device
x0 ->
(CInt -> CInt) -> IO CInt -> IO CInt
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CInt -> CInt
FFIType CInt -> CInt
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CInt
hs_bindgen_ac431d883efee041_base (Ptr SDL_hid_device -> FFIType (Ptr SDL_hid_device)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_hid_device
x0))
sDL_hid_close
:: BG.Ptr SDL_hid_device
-> IO BG.CInt
sDL_hid_close :: Ptr SDL_hid_device -> IO CInt
sDL_hid_close = Ptr SDL_hid_device -> IO CInt
hs_bindgen_ac431d883efee041
foreign import ccall safe "hs_bindgen_d928c5175963fa2b"
hs_bindgen_d928c5175963fa2b_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_d928c5175963fa2b
:: BG.Ptr SDL_hid_device
-> BG.Ptr HsBindgen.Runtime.LibC.CWchar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_d928c5175963fa2b :: Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt
hs_bindgen_d928c5175963fa2b =
\Ptr SDL_hid_device
x0 ->
\Ptr CWchar
x1 ->
\CSize
x2 ->
(CInt -> CInt) -> IO CInt -> IO CInt
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CInt -> CInt
FFIType CInt -> CInt
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> CSize -> IO CInt
hs_bindgen_d928c5175963fa2b_base (Ptr SDL_hid_device -> FFIType (Ptr SDL_hid_device)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_hid_device
x0) (Ptr CWchar -> FFIType (Ptr CWchar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CWchar
x1) (CSize -> FFIType CSize
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CSize
x2))
sDL_hid_get_manufacturer_string
:: BG.Ptr SDL_hid_device
-> BG.Ptr HsBindgen.Runtime.LibC.CWchar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
sDL_hid_get_manufacturer_string :: Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt
sDL_hid_get_manufacturer_string =
Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt
hs_bindgen_d928c5175963fa2b
foreign import ccall safe "hs_bindgen_6efd06cbd0be2ac4"
hs_bindgen_6efd06cbd0be2ac4_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_6efd06cbd0be2ac4
:: BG.Ptr SDL_hid_device
-> BG.Ptr HsBindgen.Runtime.LibC.CWchar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_6efd06cbd0be2ac4 :: Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt
hs_bindgen_6efd06cbd0be2ac4 =
\Ptr SDL_hid_device
x0 ->
\Ptr CWchar
x1 ->
\CSize
x2 ->
(CInt -> CInt) -> IO CInt -> IO CInt
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CInt -> CInt
FFIType CInt -> CInt
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> CSize -> IO CInt
hs_bindgen_6efd06cbd0be2ac4_base (Ptr SDL_hid_device -> FFIType (Ptr SDL_hid_device)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_hid_device
x0) (Ptr CWchar -> FFIType (Ptr CWchar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CWchar
x1) (CSize -> FFIType CSize
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CSize
x2))
sDL_hid_get_product_string
:: BG.Ptr SDL_hid_device
-> BG.Ptr HsBindgen.Runtime.LibC.CWchar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
sDL_hid_get_product_string :: Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt
sDL_hid_get_product_string =
Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt
hs_bindgen_6efd06cbd0be2ac4
foreign import ccall safe "hs_bindgen_d39732d6a3cf4069"
hs_bindgen_d39732d6a3cf4069_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_d39732d6a3cf4069
:: BG.Ptr SDL_hid_device
-> BG.Ptr HsBindgen.Runtime.LibC.CWchar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_d39732d6a3cf4069 :: Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt
hs_bindgen_d39732d6a3cf4069 =
\Ptr SDL_hid_device
x0 ->
\Ptr CWchar
x1 ->
\CSize
x2 ->
(CInt -> CInt) -> IO CInt -> IO CInt
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CInt -> CInt
FFIType CInt -> CInt
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> CSize -> IO CInt
hs_bindgen_d39732d6a3cf4069_base (Ptr SDL_hid_device -> FFIType (Ptr SDL_hid_device)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_hid_device
x0) (Ptr CWchar -> FFIType (Ptr CWchar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CWchar
x1) (CSize -> FFIType CSize
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CSize
x2))
sDL_hid_get_serial_number_string
:: BG.Ptr SDL_hid_device
-> BG.Ptr HsBindgen.Runtime.LibC.CWchar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
sDL_hid_get_serial_number_string :: Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt
sDL_hid_get_serial_number_string =
Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt
hs_bindgen_d39732d6a3cf4069
foreign import ccall safe "hs_bindgen_b1f4db11ff770839"
hs_bindgen_b1f4db11ff770839_base
:: BG.Ptr BG.Void
-> BG.CInt
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_b1f4db11ff770839
:: BG.Ptr SDL_hid_device
-> BG.CInt
-> BG.Ptr HsBindgen.Runtime.LibC.CWchar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_b1f4db11ff770839 :: Ptr SDL_hid_device -> CInt -> Ptr CWchar -> CSize -> IO CInt
hs_bindgen_b1f4db11ff770839 =
\Ptr SDL_hid_device
x0 ->
\CInt
x1 ->
\Ptr CWchar
x2 ->
\CSize
x3 ->
(CInt -> CInt) -> IO CInt -> IO CInt
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CInt -> CInt
FFIType CInt -> CInt
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void -> CInt -> Ptr Void -> CSize -> IO CInt
hs_bindgen_b1f4db11ff770839_base
(Ptr SDL_hid_device -> FFIType (Ptr SDL_hid_device)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_hid_device
x0)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1)
(Ptr CWchar -> FFIType (Ptr CWchar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CWchar
x2)
(CSize -> FFIType CSize
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CSize
x3)
)
sDL_hid_get_indexed_string
:: BG.Ptr SDL_hid_device
-> BG.CInt
-> BG.Ptr HsBindgen.Runtime.LibC.CWchar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
sDL_hid_get_indexed_string :: Ptr SDL_hid_device -> CInt -> Ptr CWchar -> CSize -> IO CInt
sDL_hid_get_indexed_string =
Ptr SDL_hid_device -> CInt -> Ptr CWchar -> CSize -> IO CInt
hs_bindgen_b1f4db11ff770839
foreign import ccall safe "hs_bindgen_16acf6e683b8f908"
hs_bindgen_16acf6e683b8f908_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_16acf6e683b8f908
:: BG.Ptr SDL_hid_device
-> IO (BG.Ptr SDL_hid_device_info)
hs_bindgen_16acf6e683b8f908 :: Ptr SDL_hid_device -> IO (Ptr SDL_hid_device_info)
hs_bindgen_16acf6e683b8f908 =
\Ptr SDL_hid_device
x0 ->
(Ptr Void -> Ptr SDL_hid_device_info)
-> IO (Ptr Void) -> IO (Ptr SDL_hid_device_info)
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 SDL_hid_device_info
FFIType (Ptr SDL_hid_device_info) -> Ptr SDL_hid_device_info
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_16acf6e683b8f908_base (Ptr SDL_hid_device -> FFIType (Ptr SDL_hid_device)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_hid_device
x0))
sDL_hid_get_device_info
:: BG.Ptr SDL_hid_device
-> IO (BG.Ptr SDL_hid_device_info)
sDL_hid_get_device_info :: Ptr SDL_hid_device -> IO (Ptr SDL_hid_device_info)
sDL_hid_get_device_info = Ptr SDL_hid_device -> IO (Ptr SDL_hid_device_info)
hs_bindgen_16acf6e683b8f908
foreign import ccall safe "hs_bindgen_a73f2ef51699b1a7"
hs_bindgen_a73f2ef51699b1a7_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_a73f2ef51699b1a7
:: BG.Ptr SDL_hid_device
-> BG.Ptr BG.CUChar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_a73f2ef51699b1a7 :: Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt
hs_bindgen_a73f2ef51699b1a7 =
\Ptr SDL_hid_device
x0 ->
\Ptr CUChar
x1 ->
\CSize
x2 ->
(CInt -> CInt) -> IO CInt -> IO CInt
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CInt -> CInt
FFIType CInt -> CInt
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> CSize -> IO CInt
hs_bindgen_a73f2ef51699b1a7_base (Ptr SDL_hid_device -> FFIType (Ptr SDL_hid_device)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_hid_device
x0) (Ptr CUChar -> FFIType (Ptr CUChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CUChar
x1) (CSize -> FFIType CSize
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CSize
x2))
sDL_hid_get_report_descriptor
:: BG.Ptr SDL_hid_device
-> BG.Ptr BG.CUChar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
sDL_hid_get_report_descriptor :: Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt
sDL_hid_get_report_descriptor =
Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt
hs_bindgen_a73f2ef51699b1a7
foreign import ccall safe "hs_bindgen_5f872b3d74ffb765"
hs_bindgen_5f872b3d74ffb765_base
:: BG.CBool
-> IO ()
hs_bindgen_5f872b3d74ffb765
:: BG.CBool
-> IO ()
hs_bindgen_5f872b3d74ffb765 :: CBool -> IO ()
hs_bindgen_5f872b3d74ffb765 =
\CBool
x0 ->
CBool -> IO ()
hs_bindgen_5f872b3d74ffb765_base (CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x0)
sDL_hid_ble_scan
:: BG.CBool
-> IO ()
sDL_hid_ble_scan :: CBool -> IO ()
sDL_hid_ble_scan = CBool -> IO ()
hs_bindgen_5f872b3d74ffb765