{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Hidapi.Unsafe (
SDL3.Sys.Bindgen.Hidapi.Unsafe.sDL_hid_init,
SDL3.Sys.Bindgen.Hidapi.Unsafe.sDL_hid_exit,
SDL3.Sys.Bindgen.Hidapi.Unsafe.sDL_hid_device_change_count,
SDL3.Sys.Bindgen.Hidapi.Unsafe.sDL_hid_enumerate,
SDL3.Sys.Bindgen.Hidapi.Unsafe.sDL_hid_free_enumeration,
SDL3.Sys.Bindgen.Hidapi.Unsafe.sDL_hid_open,
SDL3.Sys.Bindgen.Hidapi.Unsafe.sDL_hid_open_path,
SDL3.Sys.Bindgen.Hidapi.Unsafe.sDL_hid_get_properties,
SDL3.Sys.Bindgen.Hidapi.Unsafe.sDL_hid_write,
SDL3.Sys.Bindgen.Hidapi.Unsafe.sDL_hid_read_timeout,
SDL3.Sys.Bindgen.Hidapi.Unsafe.sDL_hid_read,
SDL3.Sys.Bindgen.Hidapi.Unsafe.sDL_hid_set_nonblocking,
SDL3.Sys.Bindgen.Hidapi.Unsafe.sDL_hid_send_feature_report,
SDL3.Sys.Bindgen.Hidapi.Unsafe.sDL_hid_get_feature_report,
SDL3.Sys.Bindgen.Hidapi.Unsafe.sDL_hid_get_input_report,
SDL3.Sys.Bindgen.Hidapi.Unsafe.sDL_hid_close,
SDL3.Sys.Bindgen.Hidapi.Unsafe.sDL_hid_get_manufacturer_string,
SDL3.Sys.Bindgen.Hidapi.Unsafe.sDL_hid_get_product_string,
SDL3.Sys.Bindgen.Hidapi.Unsafe.sDL_hid_get_serial_number_string,
SDL3.Sys.Bindgen.Hidapi.Unsafe.sDL_hid_get_indexed_string,
SDL3.Sys.Bindgen.Hidapi.Unsafe.sDL_hid_get_device_info,
SDL3.Sys.Bindgen.Hidapi.Unsafe.sDL_hid_get_report_descriptor,
SDL3.Sys.Bindgen.Hidapi.Unsafe.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_dcb8375e747bb624 (void)"
, "{"
, " return (SDL_hid_init)();"
, "}"
, "signed int hs_bindgen_e6649bca54c7158a (void)"
, "{"
, " return (SDL_hid_exit)();"
, "}"
, "Uint32 hs_bindgen_8428495b7bd2b7e5 (void)"
, "{"
, " return (SDL_hid_device_change_count)();"
, "}"
, "SDL_hid_device_info *hs_bindgen_c80fee489024b2f6 ("
, " unsigned short arg1,"
, " unsigned short arg2"
, ")"
, "{"
, " return (SDL_hid_enumerate)(arg1, arg2);"
, "}"
, "void hs_bindgen_576ebef2d717239d ("
, " SDL_hid_device_info *arg1"
, ")"
, "{"
, " (SDL_hid_free_enumeration)(arg1);"
, "}"
, "SDL_hid_device *hs_bindgen_1acfa083bac0fefe ("
, " unsigned short arg1,"
, " unsigned short arg2,"
, " wchar_t const *arg3"
, ")"
, "{"
, " return (SDL_hid_open)(arg1, arg2, arg3);"
, "}"
, "SDL_hid_device *hs_bindgen_3c5436d1ddca078c ("
, " 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_e9b48243d3f24ba7 ("
, " 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_224530f741f7e012 ("
, " SDL_hid_device *arg1,"
, " unsigned char const *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return (SDL_hid_write)(arg1, arg2, arg3);"
, "}"
, "signed int hs_bindgen_7989f96f3123402c ("
, " 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_67f9e2c762f1f561 ("
, " SDL_hid_device *arg1,"
, " unsigned char *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return (SDL_hid_read)(arg1, arg2, arg3);"
, "}"
, "signed int hs_bindgen_461a1d4ecaa70f7b ("
, " SDL_hid_device *arg1,"
, " signed int arg2"
, ")"
, "{"
, " return (SDL_hid_set_nonblocking)(arg1, arg2);"
, "}"
, "signed int hs_bindgen_e2bc17c282363a0a ("
, " SDL_hid_device *arg1,"
, " unsigned char const *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return (SDL_hid_send_feature_report)(arg1, arg2, arg3);"
, "}"
, "signed int hs_bindgen_9a50cca655a383d6 ("
, " SDL_hid_device *arg1,"
, " unsigned char *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return (SDL_hid_get_feature_report)(arg1, arg2, arg3);"
, "}"
, "signed int hs_bindgen_69c42f891dcf07ec ("
, " SDL_hid_device *arg1,"
, " unsigned char *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return (SDL_hid_get_input_report)(arg1, arg2, arg3);"
, "}"
, "signed int hs_bindgen_f1b65245de342510 ("
, " SDL_hid_device *arg1"
, ")"
, "{"
, " return (SDL_hid_close)(arg1);"
, "}"
, "signed int hs_bindgen_618b34900d079096 ("
, " SDL_hid_device *arg1,"
, " wchar_t *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return (SDL_hid_get_manufacturer_string)(arg1, arg2, arg3);"
, "}"
, "signed int hs_bindgen_56bf4b52bb0ee8a4 ("
, " SDL_hid_device *arg1,"
, " wchar_t *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return (SDL_hid_get_product_string)(arg1, arg2, arg3);"
, "}"
, "signed int hs_bindgen_dec4af789ee01ecf ("
, " SDL_hid_device *arg1,"
, " wchar_t *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return (SDL_hid_get_serial_number_string)(arg1, arg2, arg3);"
, "}"
, "signed int hs_bindgen_4ec0bddefa08ebea ("
, " 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_48075159cccbc3cd ("
, " SDL_hid_device *arg1"
, ")"
, "{"
, " return (SDL_hid_get_device_info)(arg1);"
, "}"
, "signed int hs_bindgen_682cc2cefec05416 ("
, " SDL_hid_device *arg1,"
, " unsigned char *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return (SDL_hid_get_report_descriptor)(arg1, arg2, arg3);"
, "}"
, "void hs_bindgen_5c88299056af21de ("
, " _Bool arg1"
, ")"
, "{"
, " (SDL_hid_ble_scan)(arg1);"
, "}"
]
)
)
foreign import ccall unsafe "hs_bindgen_dcb8375e747bb624"
hs_bindgen_dcb8375e747bb624_base
:: IO BG.CInt
hs_bindgen_dcb8375e747bb624 :: IO BG.CInt
hs_bindgen_dcb8375e747bb624 :: IO CInt
hs_bindgen_dcb8375e747bb624 =
(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_dcb8375e747bb624_base
sDL_hid_init :: IO BG.CInt
sDL_hid_init :: IO CInt
sDL_hid_init = IO CInt
hs_bindgen_dcb8375e747bb624
foreign import ccall unsafe "hs_bindgen_e6649bca54c7158a"
hs_bindgen_e6649bca54c7158a_base
:: IO BG.CInt
hs_bindgen_e6649bca54c7158a :: IO BG.CInt
hs_bindgen_e6649bca54c7158a :: IO CInt
hs_bindgen_e6649bca54c7158a =
(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_e6649bca54c7158a_base
sDL_hid_exit :: IO BG.CInt
sDL_hid_exit :: IO CInt
sDL_hid_exit = IO CInt
hs_bindgen_e6649bca54c7158a
foreign import ccall unsafe "hs_bindgen_8428495b7bd2b7e5"
hs_bindgen_8428495b7bd2b7e5_base
:: IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_8428495b7bd2b7e5 :: IO SDL3.Sys.Bindgen.Stdinc.Uint32
hs_bindgen_8428495b7bd2b7e5 :: IO Uint32
hs_bindgen_8428495b7bd2b7e5 =
(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_8428495b7bd2b7e5_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_8428495b7bd2b7e5
foreign import ccall unsafe "hs_bindgen_c80fee489024b2f6"
hs_bindgen_c80fee489024b2f6_base
:: BG.CUShort
-> BG.CUShort
-> IO (BG.Ptr BG.Void)
hs_bindgen_c80fee489024b2f6
:: BG.CUShort
-> BG.CUShort
-> IO (BG.Ptr SDL_hid_device_info)
hs_bindgen_c80fee489024b2f6 :: CUShort -> CUShort -> IO (Ptr SDL_hid_device_info)
hs_bindgen_c80fee489024b2f6 =
\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_c80fee489024b2f6_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_c80fee489024b2f6
foreign import ccall unsafe "hs_bindgen_576ebef2d717239d"
hs_bindgen_576ebef2d717239d_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_576ebef2d717239d
:: BG.Ptr SDL_hid_device_info
-> IO ()
hs_bindgen_576ebef2d717239d :: Ptr SDL_hid_device_info -> IO ()
hs_bindgen_576ebef2d717239d =
\Ptr SDL_hid_device_info
x0 ->
Ptr Void -> IO ()
hs_bindgen_576ebef2d717239d_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_576ebef2d717239d
foreign import ccall unsafe "hs_bindgen_1acfa083bac0fefe"
hs_bindgen_1acfa083bac0fefe_base
:: BG.CUShort
-> BG.CUShort
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_1acfa083bac0fefe
:: BG.CUShort
-> BG.CUShort
-> PtrConst.PtrConst HsBindgen.Runtime.LibC.CWchar
-> IO (BG.Ptr SDL_hid_device)
hs_bindgen_1acfa083bac0fefe :: CUShort -> CUShort -> PtrConst CWchar -> IO (Ptr SDL_hid_device)
hs_bindgen_1acfa083bac0fefe =
\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_1acfa083bac0fefe_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_1acfa083bac0fefe
foreign import ccall unsafe "hs_bindgen_3c5436d1ddca078c"
hs_bindgen_3c5436d1ddca078c_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_3c5436d1ddca078c
:: PtrConst.PtrConst BG.CChar
-> IO (BG.Ptr SDL_hid_device)
hs_bindgen_3c5436d1ddca078c :: PtrConst CChar -> IO (Ptr SDL_hid_device)
hs_bindgen_3c5436d1ddca078c =
\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_3c5436d1ddca078c_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_3c5436d1ddca078c
foreign import ccall unsafe "hs_bindgen_e9b48243d3f24ba7"
hs_bindgen_e9b48243d3f24ba7_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_e9b48243d3f24ba7
:: BG.Ptr SDL_hid_device
-> IO SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
hs_bindgen_e9b48243d3f24ba7 :: Ptr SDL_hid_device -> IO SDL_PropertiesID
hs_bindgen_e9b48243d3f24ba7 =
\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_e9b48243d3f24ba7_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_e9b48243d3f24ba7
foreign import ccall unsafe "hs_bindgen_224530f741f7e012"
hs_bindgen_224530f741f7e012_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_224530f741f7e012
:: BG.Ptr SDL_hid_device
-> PtrConst.PtrConst BG.CUChar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_224530f741f7e012 :: Ptr SDL_hid_device -> PtrConst CUChar -> CSize -> IO CInt
hs_bindgen_224530f741f7e012 =
\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_224530f741f7e012_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_224530f741f7e012
foreign import ccall unsafe "hs_bindgen_7989f96f3123402c"
hs_bindgen_7989f96f3123402c_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> BG.CInt
-> IO BG.CInt
hs_bindgen_7989f96f3123402c
:: BG.Ptr SDL_hid_device
-> BG.Ptr BG.CUChar
-> HsBindgen.Runtime.LibC.CSize
-> BG.CInt
-> IO BG.CInt
hs_bindgen_7989f96f3123402c :: Ptr SDL_hid_device -> Ptr CUChar -> CSize -> CInt -> IO CInt
hs_bindgen_7989f96f3123402c =
\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_7989f96f3123402c_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_7989f96f3123402c
foreign import ccall unsafe "hs_bindgen_67f9e2c762f1f561"
hs_bindgen_67f9e2c762f1f561_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_67f9e2c762f1f561
:: BG.Ptr SDL_hid_device
-> BG.Ptr BG.CUChar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_67f9e2c762f1f561 :: Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt
hs_bindgen_67f9e2c762f1f561 =
\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_67f9e2c762f1f561_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_67f9e2c762f1f561
foreign import ccall unsafe "hs_bindgen_461a1d4ecaa70f7b"
hs_bindgen_461a1d4ecaa70f7b_base
:: BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CInt
hs_bindgen_461a1d4ecaa70f7b
:: BG.Ptr SDL_hid_device
-> BG.CInt
-> IO BG.CInt
hs_bindgen_461a1d4ecaa70f7b :: Ptr SDL_hid_device -> CInt -> IO CInt
hs_bindgen_461a1d4ecaa70f7b =
\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_461a1d4ecaa70f7b_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_461a1d4ecaa70f7b
foreign import ccall unsafe "hs_bindgen_e2bc17c282363a0a"
hs_bindgen_e2bc17c282363a0a_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_e2bc17c282363a0a
:: BG.Ptr SDL_hid_device
-> PtrConst.PtrConst BG.CUChar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_e2bc17c282363a0a :: Ptr SDL_hid_device -> PtrConst CUChar -> CSize -> IO CInt
hs_bindgen_e2bc17c282363a0a =
\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_e2bc17c282363a0a_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_e2bc17c282363a0a
foreign import ccall unsafe "hs_bindgen_9a50cca655a383d6"
hs_bindgen_9a50cca655a383d6_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_9a50cca655a383d6
:: BG.Ptr SDL_hid_device
-> BG.Ptr BG.CUChar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_9a50cca655a383d6 :: Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt
hs_bindgen_9a50cca655a383d6 =
\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_9a50cca655a383d6_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_9a50cca655a383d6
foreign import ccall unsafe "hs_bindgen_69c42f891dcf07ec"
hs_bindgen_69c42f891dcf07ec_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_69c42f891dcf07ec
:: BG.Ptr SDL_hid_device
-> BG.Ptr BG.CUChar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_69c42f891dcf07ec :: Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt
hs_bindgen_69c42f891dcf07ec =
\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_69c42f891dcf07ec_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_69c42f891dcf07ec
foreign import ccall unsafe "hs_bindgen_f1b65245de342510"
hs_bindgen_f1b65245de342510_base
:: BG.Ptr BG.Void
-> IO BG.CInt
hs_bindgen_f1b65245de342510
:: BG.Ptr SDL_hid_device
-> IO BG.CInt
hs_bindgen_f1b65245de342510 :: Ptr SDL_hid_device -> IO CInt
hs_bindgen_f1b65245de342510 =
\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_f1b65245de342510_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_f1b65245de342510
foreign import ccall unsafe "hs_bindgen_618b34900d079096"
hs_bindgen_618b34900d079096_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_618b34900d079096
:: BG.Ptr SDL_hid_device
-> BG.Ptr HsBindgen.Runtime.LibC.CWchar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_618b34900d079096 :: Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt
hs_bindgen_618b34900d079096 =
\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_618b34900d079096_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_618b34900d079096
foreign import ccall unsafe "hs_bindgen_56bf4b52bb0ee8a4"
hs_bindgen_56bf4b52bb0ee8a4_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_56bf4b52bb0ee8a4
:: BG.Ptr SDL_hid_device
-> BG.Ptr HsBindgen.Runtime.LibC.CWchar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_56bf4b52bb0ee8a4 :: Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt
hs_bindgen_56bf4b52bb0ee8a4 =
\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_56bf4b52bb0ee8a4_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_56bf4b52bb0ee8a4
foreign import ccall unsafe "hs_bindgen_dec4af789ee01ecf"
hs_bindgen_dec4af789ee01ecf_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_dec4af789ee01ecf
:: BG.Ptr SDL_hid_device
-> BG.Ptr HsBindgen.Runtime.LibC.CWchar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_dec4af789ee01ecf :: Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt
hs_bindgen_dec4af789ee01ecf =
\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_dec4af789ee01ecf_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_dec4af789ee01ecf
foreign import ccall unsafe "hs_bindgen_4ec0bddefa08ebea"
hs_bindgen_4ec0bddefa08ebea_base
:: BG.Ptr BG.Void
-> BG.CInt
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_4ec0bddefa08ebea
:: BG.Ptr SDL_hid_device
-> BG.CInt
-> BG.Ptr HsBindgen.Runtime.LibC.CWchar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_4ec0bddefa08ebea :: Ptr SDL_hid_device -> CInt -> Ptr CWchar -> CSize -> IO CInt
hs_bindgen_4ec0bddefa08ebea =
\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_4ec0bddefa08ebea_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_4ec0bddefa08ebea
foreign import ccall unsafe "hs_bindgen_48075159cccbc3cd"
hs_bindgen_48075159cccbc3cd_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_48075159cccbc3cd
:: BG.Ptr SDL_hid_device
-> IO (BG.Ptr SDL_hid_device_info)
hs_bindgen_48075159cccbc3cd :: Ptr SDL_hid_device -> IO (Ptr SDL_hid_device_info)
hs_bindgen_48075159cccbc3cd =
\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_48075159cccbc3cd_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_48075159cccbc3cd
foreign import ccall unsafe "hs_bindgen_682cc2cefec05416"
hs_bindgen_682cc2cefec05416_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_682cc2cefec05416
:: BG.Ptr SDL_hid_device
-> BG.Ptr BG.CUChar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
hs_bindgen_682cc2cefec05416 :: Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt
hs_bindgen_682cc2cefec05416 =
\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_682cc2cefec05416_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_682cc2cefec05416
foreign import ccall unsafe "hs_bindgen_5c88299056af21de"
hs_bindgen_5c88299056af21de_base
:: BG.CBool
-> IO ()
hs_bindgen_5c88299056af21de
:: BG.CBool
-> IO ()
hs_bindgen_5c88299056af21de :: CBool -> IO ()
hs_bindgen_5c88299056af21de =
\CBool
x0 ->
CBool -> IO ()
hs_bindgen_5c88299056af21de_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_5c88299056af21de