{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Hidapi.FunPtr (
SDL3.Sys.Bindgen.Hidapi.FunPtr.sDL_hid_init,
SDL3.Sys.Bindgen.Hidapi.FunPtr.sDL_hid_exit,
SDL3.Sys.Bindgen.Hidapi.FunPtr.sDL_hid_device_change_count,
SDL3.Sys.Bindgen.Hidapi.FunPtr.sDL_hid_enumerate,
SDL3.Sys.Bindgen.Hidapi.FunPtr.sDL_hid_free_enumeration,
SDL3.Sys.Bindgen.Hidapi.FunPtr.sDL_hid_open,
SDL3.Sys.Bindgen.Hidapi.FunPtr.sDL_hid_open_path,
SDL3.Sys.Bindgen.Hidapi.FunPtr.sDL_hid_get_properties,
SDL3.Sys.Bindgen.Hidapi.FunPtr.sDL_hid_write,
SDL3.Sys.Bindgen.Hidapi.FunPtr.sDL_hid_read_timeout,
SDL3.Sys.Bindgen.Hidapi.FunPtr.sDL_hid_read,
SDL3.Sys.Bindgen.Hidapi.FunPtr.sDL_hid_set_nonblocking,
SDL3.Sys.Bindgen.Hidapi.FunPtr.sDL_hid_send_feature_report,
SDL3.Sys.Bindgen.Hidapi.FunPtr.sDL_hid_get_feature_report,
SDL3.Sys.Bindgen.Hidapi.FunPtr.sDL_hid_get_input_report,
SDL3.Sys.Bindgen.Hidapi.FunPtr.sDL_hid_close,
SDL3.Sys.Bindgen.Hidapi.FunPtr.sDL_hid_get_manufacturer_string,
SDL3.Sys.Bindgen.Hidapi.FunPtr.sDL_hid_get_product_string,
SDL3.Sys.Bindgen.Hidapi.FunPtr.sDL_hid_get_serial_number_string,
SDL3.Sys.Bindgen.Hidapi.FunPtr.sDL_hid_get_indexed_string,
SDL3.Sys.Bindgen.Hidapi.FunPtr.sDL_hid_get_device_info,
SDL3.Sys.Bindgen.Hidapi.FunPtr.sDL_hid_get_report_descriptor,
SDL3.Sys.Bindgen.Hidapi.FunPtr.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>"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Hidapi_get_SDL_hid_init */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_32091c4e86355dc7 (void)) (void)"
, "{"
, " return &SDL_hid_init;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Hidapi_get_SDL_hid_exit */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_26665e772cf695e7 (void)) (void)"
, "{"
, " return &SDL_hid_exit;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Hidapi_get_SDL_hid_device_change_count */"
, "__attribute__ ((const))"
, "Uint32 (*hs_bindgen_1ed9703a6ccb5ef9 (void)) (void)"
, "{"
, " return &SDL_hid_device_change_count;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Hidapi_get_SDL_hid_enumerate */"
, "__attribute__ ((const))"
, "SDL_hid_device_info *(*hs_bindgen_4922fe8bf9d9ed1b (void)) ("
, " unsigned short arg1,"
, " unsigned short arg2"
, ")"
, "{"
, " return &SDL_hid_enumerate;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Hidapi_get_SDL_hid_free_enumeration */"
, "__attribute__ ((const))"
, "void (*hs_bindgen_3b866ca94af10a38 (void)) ("
, " SDL_hid_device_info *arg1"
, ")"
, "{"
, " return &SDL_hid_free_enumeration;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Hidapi_get_SDL_hid_open */"
, "__attribute__ ((const))"
, "SDL_hid_device *(*hs_bindgen_8d0a3f3bb4b21256 (void)) ("
, " unsigned short arg1,"
, " unsigned short arg2,"
, " wchar_t const *arg3"
, ")"
, "{"
, " return &SDL_hid_open;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Hidapi_get_SDL_hid_open_path */"
, "__attribute__ ((const))"
, "SDL_hid_device *(*hs_bindgen_39c4427d9dd0caf0 (void)) ("
, " char const *arg1"
, ")"
, "{"
, " return &SDL_hid_open_path;"
, "}"
, "#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"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Hidapi_get_SDL_hid_get_properties */"
, "__attribute__ ((const))"
, "SDL_PropertiesID (*hs_bindgen_4b11bd7f6e7541a7 (void)) ("
, " SDL_hid_device *arg1"
, ")"
, "{"
, "#if SDL_VERSION_ATLEAST(3, 4, 0)"
, " return &SDL_hid_get_properties;"
, "#else"
, " SDL_SetError(\"SDL_hid_get_properties requires SDL >= 3.4.0\"); return 0;"
, "#endif"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Hidapi_get_SDL_hid_write */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_1bf3f0f5190069e0 (void)) ("
, " SDL_hid_device *arg1,"
, " unsigned char const *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return &SDL_hid_write;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Hidapi_get_SDL_hid_read_timeout */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_5383d32d2b5eeb41 (void)) ("
, " SDL_hid_device *arg1,"
, " unsigned char *arg2,"
, " size_t arg3,"
, " signed int arg4"
, ")"
, "{"
, " return &SDL_hid_read_timeout;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Hidapi_get_SDL_hid_read */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_7c7263baa49b4db7 (void)) ("
, " SDL_hid_device *arg1,"
, " unsigned char *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return &SDL_hid_read;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Hidapi_get_SDL_hid_set_nonblocking */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_bc3545d8ad76b094 (void)) ("
, " SDL_hid_device *arg1,"
, " signed int arg2"
, ")"
, "{"
, " return &SDL_hid_set_nonblocking;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Hidapi_get_SDL_hid_send_feature_report */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_4dc350ff8dbbd851 (void)) ("
, " SDL_hid_device *arg1,"
, " unsigned char const *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return &SDL_hid_send_feature_report;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Hidapi_get_SDL_hid_get_feature_report */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_d11cee38ea38b8b0 (void)) ("
, " SDL_hid_device *arg1,"
, " unsigned char *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return &SDL_hid_get_feature_report;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Hidapi_get_SDL_hid_get_input_report */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_f7e6c98c847d43b6 (void)) ("
, " SDL_hid_device *arg1,"
, " unsigned char *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return &SDL_hid_get_input_report;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Hidapi_get_SDL_hid_close */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_a3778a783d0b375c (void)) ("
, " SDL_hid_device *arg1"
, ")"
, "{"
, " return &SDL_hid_close;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Hidapi_get_SDL_hid_get_manufacturer_string */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_2886098b9152b5a2 (void)) ("
, " SDL_hid_device *arg1,"
, " wchar_t *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return &SDL_hid_get_manufacturer_string;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Hidapi_get_SDL_hid_get_product_string */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_e9dcf914acc87392 (void)) ("
, " SDL_hid_device *arg1,"
, " wchar_t *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return &SDL_hid_get_product_string;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Hidapi_get_SDL_hid_get_serial_number_string */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_6d6557d49ee90dad (void)) ("
, " SDL_hid_device *arg1,"
, " wchar_t *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return &SDL_hid_get_serial_number_string;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Hidapi_get_SDL_hid_get_indexed_string */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_5cef67d9ce2e1563 (void)) ("
, " SDL_hid_device *arg1,"
, " signed int arg2,"
, " wchar_t *arg3,"
, " size_t arg4"
, ")"
, "{"
, " return &SDL_hid_get_indexed_string;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Hidapi_get_SDL_hid_get_device_info */"
, "__attribute__ ((const))"
, "SDL_hid_device_info *(*hs_bindgen_9b2d929812d327f4 (void)) ("
, " SDL_hid_device *arg1"
, ")"
, "{"
, " return &SDL_hid_get_device_info;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Hidapi_get_SDL_hid_get_report_descriptor */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_056ff18230bbb5e2 (void)) ("
, " SDL_hid_device *arg1,"
, " unsigned char *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return &SDL_hid_get_report_descriptor;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Hidapi_get_SDL_hid_ble_scan */"
, "__attribute__ ((const))"
, "void (*hs_bindgen_7634f6f83062373e (void)) ("
, " _Bool arg1"
, ")"
, "{"
, " return &SDL_hid_ble_scan;"
, "}"
]
)
)
foreign import ccall unsafe "hs_bindgen_32091c4e86355dc7"
hs_bindgen_32091c4e86355dc7_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_32091c4e86355dc7 :: IO (BG.FunPtr (IO BG.CInt))
hs_bindgen_32091c4e86355dc7 :: IO (FunPtr (IO CInt))
hs_bindgen_32091c4e86355dc7 =
(FunPtr Void -> FunPtr (IO CInt))
-> IO (FunPtr Void) -> IO (FunPtr (IO CInt))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (IO CInt)
FFIType (FunPtr (IO CInt)) -> FunPtr (IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_32091c4e86355dc7_base
{-# NOINLINE sDL_hid_init #-}
sDL_hid_init :: BG.FunPtr (IO BG.CInt)
sDL_hid_init :: FunPtr (IO CInt)
sDL_hid_init =
IO (FunPtr (IO CInt)) -> FunPtr (IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CInt))
hs_bindgen_32091c4e86355dc7
foreign import ccall unsafe "hs_bindgen_26665e772cf695e7"
hs_bindgen_26665e772cf695e7_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_26665e772cf695e7 :: IO (BG.FunPtr (IO BG.CInt))
hs_bindgen_26665e772cf695e7 :: IO (FunPtr (IO CInt))
hs_bindgen_26665e772cf695e7 =
(FunPtr Void -> FunPtr (IO CInt))
-> IO (FunPtr Void) -> IO (FunPtr (IO CInt))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (IO CInt)
FFIType (FunPtr (IO CInt)) -> FunPtr (IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_26665e772cf695e7_base
{-# NOINLINE sDL_hid_exit #-}
sDL_hid_exit :: BG.FunPtr (IO BG.CInt)
sDL_hid_exit :: FunPtr (IO CInt)
sDL_hid_exit =
IO (FunPtr (IO CInt)) -> FunPtr (IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CInt))
hs_bindgen_26665e772cf695e7
foreign import ccall unsafe "hs_bindgen_1ed9703a6ccb5ef9"
hs_bindgen_1ed9703a6ccb5ef9_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_1ed9703a6ccb5ef9 :: IO (BG.FunPtr (IO SDL3.Sys.Bindgen.Stdinc.Uint32))
hs_bindgen_1ed9703a6ccb5ef9 :: IO (FunPtr (IO Uint32))
hs_bindgen_1ed9703a6ccb5ef9 =
(FunPtr Void -> FunPtr (IO Uint32))
-> IO (FunPtr Void) -> IO (FunPtr (IO Uint32))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (IO Uint32)
FFIType (FunPtr (IO Uint32)) -> FunPtr (IO Uint32)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_1ed9703a6ccb5ef9_base
{-# NOINLINE sDL_hid_device_change_count #-}
sDL_hid_device_change_count :: BG.FunPtr (IO SDL3.Sys.Bindgen.Stdinc.Uint32)
sDL_hid_device_change_count :: FunPtr (IO Uint32)
sDL_hid_device_change_count =
IO (FunPtr (IO Uint32)) -> FunPtr (IO Uint32)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO Uint32))
hs_bindgen_1ed9703a6ccb5ef9
foreign import ccall unsafe "hs_bindgen_4922fe8bf9d9ed1b"
hs_bindgen_4922fe8bf9d9ed1b_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_4922fe8bf9d9ed1b
:: IO (BG.FunPtr (BG.CUShort -> BG.CUShort -> IO (BG.Ptr SDL_hid_device_info)))
hs_bindgen_4922fe8bf9d9ed1b :: IO (FunPtr (CUShort -> CUShort -> IO (Ptr SDL_hid_device_info)))
hs_bindgen_4922fe8bf9d9ed1b =
(FunPtr Void
-> FunPtr (CUShort -> CUShort -> IO (Ptr SDL_hid_device_info)))
-> IO (FunPtr Void)
-> IO (FunPtr (CUShort -> CUShort -> 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 FunPtr Void
-> FunPtr (CUShort -> CUShort -> IO (Ptr SDL_hid_device_info))
FFIType
(FunPtr (CUShort -> CUShort -> IO (Ptr SDL_hid_device_info)))
-> FunPtr (CUShort -> CUShort -> IO (Ptr SDL_hid_device_info))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_4922fe8bf9d9ed1b_base
{-# NOINLINE sDL_hid_enumerate #-}
sDL_hid_enumerate :: BG.FunPtr (BG.CUShort -> BG.CUShort -> IO (BG.Ptr SDL_hid_device_info))
sDL_hid_enumerate :: FunPtr (CUShort -> CUShort -> IO (Ptr SDL_hid_device_info))
sDL_hid_enumerate =
IO (FunPtr (CUShort -> CUShort -> IO (Ptr SDL_hid_device_info)))
-> FunPtr (CUShort -> CUShort -> IO (Ptr SDL_hid_device_info))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (CUShort -> CUShort -> IO (Ptr SDL_hid_device_info)))
hs_bindgen_4922fe8bf9d9ed1b
foreign import ccall unsafe "hs_bindgen_3b866ca94af10a38"
hs_bindgen_3b866ca94af10a38_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_3b866ca94af10a38 :: IO (BG.FunPtr (BG.Ptr SDL_hid_device_info -> IO ()))
hs_bindgen_3b866ca94af10a38 :: IO (FunPtr (Ptr SDL_hid_device_info -> IO ()))
hs_bindgen_3b866ca94af10a38 =
(FunPtr Void -> FunPtr (Ptr SDL_hid_device_info -> IO ()))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_hid_device_info -> IO ()))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (Ptr SDL_hid_device_info -> IO ())
FFIType (FunPtr (Ptr SDL_hid_device_info -> IO ()))
-> FunPtr (Ptr SDL_hid_device_info -> IO ())
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_3b866ca94af10a38_base
{-# NOINLINE sDL_hid_free_enumeration #-}
sDL_hid_free_enumeration :: BG.FunPtr (BG.Ptr SDL_hid_device_info -> IO ())
sDL_hid_free_enumeration :: FunPtr (Ptr SDL_hid_device_info -> IO ())
sDL_hid_free_enumeration =
IO (FunPtr (Ptr SDL_hid_device_info -> IO ()))
-> FunPtr (Ptr SDL_hid_device_info -> IO ())
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_hid_device_info -> IO ()))
hs_bindgen_3b866ca94af10a38
foreign import ccall unsafe "hs_bindgen_8d0a3f3bb4b21256"
hs_bindgen_8d0a3f3bb4b21256_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_8d0a3f3bb4b21256
:: IO
( BG.FunPtr
( BG.CUShort
-> BG.CUShort
-> PtrConst.PtrConst HsBindgen.Runtime.LibC.CWchar
-> IO (BG.Ptr SDL_hid_device)
)
)
hs_bindgen_8d0a3f3bb4b21256 :: IO
(FunPtr
(CUShort -> CUShort -> PtrConst CWchar -> IO (Ptr SDL_hid_device)))
hs_bindgen_8d0a3f3bb4b21256 =
(FunPtr Void
-> FunPtr
(CUShort -> CUShort -> PtrConst CWchar -> IO (Ptr SDL_hid_device)))
-> IO (FunPtr Void)
-> IO
(FunPtr
(CUShort -> CUShort -> PtrConst CWchar -> 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 FunPtr Void
-> FunPtr
(CUShort -> CUShort -> PtrConst CWchar -> IO (Ptr SDL_hid_device))
FFIType
(FunPtr
(CUShort -> CUShort -> PtrConst CWchar -> IO (Ptr SDL_hid_device)))
-> FunPtr
(CUShort -> CUShort -> PtrConst CWchar -> IO (Ptr SDL_hid_device))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_8d0a3f3bb4b21256_base
{-# NOINLINE sDL_hid_open #-}
sDL_hid_open
:: BG.FunPtr
( BG.CUShort
-> BG.CUShort
-> PtrConst.PtrConst HsBindgen.Runtime.LibC.CWchar
-> IO (BG.Ptr SDL_hid_device)
)
sDL_hid_open :: FunPtr
(CUShort -> CUShort -> PtrConst CWchar -> IO (Ptr SDL_hid_device))
sDL_hid_open =
IO
(FunPtr
(CUShort -> CUShort -> PtrConst CWchar -> IO (Ptr SDL_hid_device)))
-> FunPtr
(CUShort -> CUShort -> PtrConst CWchar -> IO (Ptr SDL_hid_device))
forall a. IO a -> a
BG.unsafePerformIO IO
(FunPtr
(CUShort -> CUShort -> PtrConst CWchar -> IO (Ptr SDL_hid_device)))
hs_bindgen_8d0a3f3bb4b21256
foreign import ccall unsafe "hs_bindgen_39c4427d9dd0caf0"
hs_bindgen_39c4427d9dd0caf0_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_39c4427d9dd0caf0
:: IO (BG.FunPtr (PtrConst.PtrConst BG.CChar -> IO (BG.Ptr SDL_hid_device)))
hs_bindgen_39c4427d9dd0caf0 :: IO (FunPtr (PtrConst CChar -> IO (Ptr SDL_hid_device)))
hs_bindgen_39c4427d9dd0caf0 =
(FunPtr Void -> FunPtr (PtrConst CChar -> IO (Ptr SDL_hid_device)))
-> IO (FunPtr Void)
-> IO (FunPtr (PtrConst CChar -> 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 FunPtr Void -> FunPtr (PtrConst CChar -> IO (Ptr SDL_hid_device))
FFIType (FunPtr (PtrConst CChar -> IO (Ptr SDL_hid_device)))
-> FunPtr (PtrConst CChar -> IO (Ptr SDL_hid_device))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_39c4427d9dd0caf0_base
{-# NOINLINE sDL_hid_open_path #-}
sDL_hid_open_path :: BG.FunPtr (PtrConst.PtrConst BG.CChar -> IO (BG.Ptr SDL_hid_device))
sDL_hid_open_path :: FunPtr (PtrConst CChar -> IO (Ptr SDL_hid_device))
sDL_hid_open_path =
IO (FunPtr (PtrConst CChar -> IO (Ptr SDL_hid_device)))
-> FunPtr (PtrConst CChar -> IO (Ptr SDL_hid_device))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (PtrConst CChar -> IO (Ptr SDL_hid_device)))
hs_bindgen_39c4427d9dd0caf0
foreign import ccall unsafe "hs_bindgen_4b11bd7f6e7541a7"
hs_bindgen_4b11bd7f6e7541a7_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_4b11bd7f6e7541a7
:: IO (BG.FunPtr (BG.Ptr SDL_hid_device -> IO SDL3.Sys.Bindgen.Properties.SDL_PropertiesID))
hs_bindgen_4b11bd7f6e7541a7 :: IO (FunPtr (Ptr SDL_hid_device -> IO SDL_PropertiesID))
hs_bindgen_4b11bd7f6e7541a7 =
(FunPtr Void -> FunPtr (Ptr SDL_hid_device -> IO SDL_PropertiesID))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_hid_device -> 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 FunPtr Void -> FunPtr (Ptr SDL_hid_device -> IO SDL_PropertiesID)
FFIType (FunPtr (Ptr SDL_hid_device -> IO SDL_PropertiesID))
-> FunPtr (Ptr SDL_hid_device -> IO SDL_PropertiesID)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_4b11bd7f6e7541a7_base
{-# NOINLINE sDL_hid_get_properties #-}
sDL_hid_get_properties
:: BG.FunPtr (BG.Ptr SDL_hid_device -> IO SDL3.Sys.Bindgen.Properties.SDL_PropertiesID)
sDL_hid_get_properties :: FunPtr (Ptr SDL_hid_device -> IO SDL_PropertiesID)
sDL_hid_get_properties =
IO (FunPtr (Ptr SDL_hid_device -> IO SDL_PropertiesID))
-> FunPtr (Ptr SDL_hid_device -> IO SDL_PropertiesID)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_hid_device -> IO SDL_PropertiesID))
hs_bindgen_4b11bd7f6e7541a7
foreign import ccall unsafe "hs_bindgen_1bf3f0f5190069e0"
hs_bindgen_1bf3f0f5190069e0_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_1bf3f0f5190069e0
:: IO
( BG.FunPtr
(BG.Ptr SDL_hid_device -> PtrConst.PtrConst BG.CUChar -> HsBindgen.Runtime.LibC.CSize -> IO BG.CInt)
)
hs_bindgen_1bf3f0f5190069e0 :: IO
(FunPtr
(Ptr SDL_hid_device -> PtrConst CUChar -> CSize -> IO CInt))
hs_bindgen_1bf3f0f5190069e0 =
(FunPtr Void
-> FunPtr
(Ptr SDL_hid_device -> PtrConst CUChar -> CSize -> IO CInt))
-> IO (FunPtr Void)
-> IO
(FunPtr
(Ptr SDL_hid_device -> PtrConst CUChar -> CSize -> IO CInt))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr
(Ptr SDL_hid_device -> PtrConst CUChar -> CSize -> IO CInt)
FFIType
(FunPtr
(Ptr SDL_hid_device -> PtrConst CUChar -> CSize -> IO CInt))
-> FunPtr
(Ptr SDL_hid_device -> PtrConst CUChar -> CSize -> IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_1bf3f0f5190069e0_base
{-# NOINLINE sDL_hid_write #-}
sDL_hid_write
:: BG.FunPtr
(BG.Ptr SDL_hid_device -> PtrConst.PtrConst BG.CUChar -> HsBindgen.Runtime.LibC.CSize -> IO BG.CInt)
sDL_hid_write :: FunPtr (Ptr SDL_hid_device -> PtrConst CUChar -> CSize -> IO CInt)
sDL_hid_write =
IO
(FunPtr
(Ptr SDL_hid_device -> PtrConst CUChar -> CSize -> IO CInt))
-> FunPtr
(Ptr SDL_hid_device -> PtrConst CUChar -> CSize -> IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO
(FunPtr
(Ptr SDL_hid_device -> PtrConst CUChar -> CSize -> IO CInt))
hs_bindgen_1bf3f0f5190069e0
foreign import ccall unsafe "hs_bindgen_5383d32d2b5eeb41"
hs_bindgen_5383d32d2b5eeb41_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_5383d32d2b5eeb41
:: IO
( BG.FunPtr
(BG.Ptr SDL_hid_device -> BG.Ptr BG.CUChar -> HsBindgen.Runtime.LibC.CSize -> BG.CInt -> IO BG.CInt)
)
hs_bindgen_5383d32d2b5eeb41 :: IO
(FunPtr
(Ptr SDL_hid_device -> Ptr CUChar -> CSize -> CInt -> IO CInt))
hs_bindgen_5383d32d2b5eeb41 =
(FunPtr Void
-> FunPtr
(Ptr SDL_hid_device -> Ptr CUChar -> CSize -> CInt -> IO CInt))
-> IO (FunPtr Void)
-> IO
(FunPtr
(Ptr SDL_hid_device -> Ptr CUChar -> CSize -> 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 FunPtr Void
-> FunPtr
(Ptr SDL_hid_device -> Ptr CUChar -> CSize -> CInt -> IO CInt)
FFIType
(FunPtr
(Ptr SDL_hid_device -> Ptr CUChar -> CSize -> CInt -> IO CInt))
-> FunPtr
(Ptr SDL_hid_device -> Ptr CUChar -> CSize -> CInt -> IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_5383d32d2b5eeb41_base
{-# NOINLINE sDL_hid_read_timeout #-}
sDL_hid_read_timeout
:: BG.FunPtr
(BG.Ptr SDL_hid_device -> BG.Ptr BG.CUChar -> HsBindgen.Runtime.LibC.CSize -> BG.CInt -> IO BG.CInt)
sDL_hid_read_timeout :: FunPtr
(Ptr SDL_hid_device -> Ptr CUChar -> CSize -> CInt -> IO CInt)
sDL_hid_read_timeout =
IO
(FunPtr
(Ptr SDL_hid_device -> Ptr CUChar -> CSize -> CInt -> IO CInt))
-> FunPtr
(Ptr SDL_hid_device -> Ptr CUChar -> CSize -> CInt -> IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO
(FunPtr
(Ptr SDL_hid_device -> Ptr CUChar -> CSize -> CInt -> IO CInt))
hs_bindgen_5383d32d2b5eeb41
foreign import ccall unsafe "hs_bindgen_7c7263baa49b4db7"
hs_bindgen_7c7263baa49b4db7_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_7c7263baa49b4db7
:: IO
(BG.FunPtr (BG.Ptr SDL_hid_device -> BG.Ptr BG.CUChar -> HsBindgen.Runtime.LibC.CSize -> IO BG.CInt))
hs_bindgen_7c7263baa49b4db7 :: IO (FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt))
hs_bindgen_7c7263baa49b4db7 =
(FunPtr Void
-> FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt))
-> IO (FunPtr Void)
-> IO
(FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt)
FFIType
(FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt))
-> FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_7c7263baa49b4db7_base
{-# NOINLINE sDL_hid_read #-}
sDL_hid_read
:: BG.FunPtr (BG.Ptr SDL_hid_device -> BG.Ptr BG.CUChar -> HsBindgen.Runtime.LibC.CSize -> IO BG.CInt)
sDL_hid_read :: FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt)
sDL_hid_read =
IO (FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt))
-> FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt))
hs_bindgen_7c7263baa49b4db7
foreign import ccall unsafe "hs_bindgen_bc3545d8ad76b094"
hs_bindgen_bc3545d8ad76b094_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_bc3545d8ad76b094 :: IO (BG.FunPtr (BG.Ptr SDL_hid_device -> BG.CInt -> IO BG.CInt))
hs_bindgen_bc3545d8ad76b094 :: IO (FunPtr (Ptr SDL_hid_device -> CInt -> IO CInt))
hs_bindgen_bc3545d8ad76b094 =
(FunPtr Void -> FunPtr (Ptr SDL_hid_device -> CInt -> IO CInt))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_hid_device -> 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 FunPtr Void -> FunPtr (Ptr SDL_hid_device -> CInt -> IO CInt)
FFIType (FunPtr (Ptr SDL_hid_device -> CInt -> IO CInt))
-> FunPtr (Ptr SDL_hid_device -> CInt -> IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_bc3545d8ad76b094_base
{-# NOINLINE sDL_hid_set_nonblocking #-}
sDL_hid_set_nonblocking :: BG.FunPtr (BG.Ptr SDL_hid_device -> BG.CInt -> IO BG.CInt)
sDL_hid_set_nonblocking :: FunPtr (Ptr SDL_hid_device -> CInt -> IO CInt)
sDL_hid_set_nonblocking =
IO (FunPtr (Ptr SDL_hid_device -> CInt -> IO CInt))
-> FunPtr (Ptr SDL_hid_device -> CInt -> IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_hid_device -> CInt -> IO CInt))
hs_bindgen_bc3545d8ad76b094
foreign import ccall unsafe "hs_bindgen_4dc350ff8dbbd851"
hs_bindgen_4dc350ff8dbbd851_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_4dc350ff8dbbd851
:: IO
( BG.FunPtr
(BG.Ptr SDL_hid_device -> PtrConst.PtrConst BG.CUChar -> HsBindgen.Runtime.LibC.CSize -> IO BG.CInt)
)
hs_bindgen_4dc350ff8dbbd851 :: IO
(FunPtr
(Ptr SDL_hid_device -> PtrConst CUChar -> CSize -> IO CInt))
hs_bindgen_4dc350ff8dbbd851 =
(FunPtr Void
-> FunPtr
(Ptr SDL_hid_device -> PtrConst CUChar -> CSize -> IO CInt))
-> IO (FunPtr Void)
-> IO
(FunPtr
(Ptr SDL_hid_device -> PtrConst CUChar -> CSize -> IO CInt))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr
(Ptr SDL_hid_device -> PtrConst CUChar -> CSize -> IO CInt)
FFIType
(FunPtr
(Ptr SDL_hid_device -> PtrConst CUChar -> CSize -> IO CInt))
-> FunPtr
(Ptr SDL_hid_device -> PtrConst CUChar -> CSize -> IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_4dc350ff8dbbd851_base
{-# NOINLINE sDL_hid_send_feature_report #-}
sDL_hid_send_feature_report
:: BG.FunPtr
(BG.Ptr SDL_hid_device -> PtrConst.PtrConst BG.CUChar -> HsBindgen.Runtime.LibC.CSize -> IO BG.CInt)
sDL_hid_send_feature_report :: FunPtr (Ptr SDL_hid_device -> PtrConst CUChar -> CSize -> IO CInt)
sDL_hid_send_feature_report =
IO
(FunPtr
(Ptr SDL_hid_device -> PtrConst CUChar -> CSize -> IO CInt))
-> FunPtr
(Ptr SDL_hid_device -> PtrConst CUChar -> CSize -> IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO
(FunPtr
(Ptr SDL_hid_device -> PtrConst CUChar -> CSize -> IO CInt))
hs_bindgen_4dc350ff8dbbd851
foreign import ccall unsafe "hs_bindgen_d11cee38ea38b8b0"
hs_bindgen_d11cee38ea38b8b0_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_d11cee38ea38b8b0
:: IO
(BG.FunPtr (BG.Ptr SDL_hid_device -> BG.Ptr BG.CUChar -> HsBindgen.Runtime.LibC.CSize -> IO BG.CInt))
hs_bindgen_d11cee38ea38b8b0 :: IO (FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt))
hs_bindgen_d11cee38ea38b8b0 =
(FunPtr Void
-> FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt))
-> IO (FunPtr Void)
-> IO
(FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt)
FFIType
(FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt))
-> FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_d11cee38ea38b8b0_base
{-# NOINLINE sDL_hid_get_feature_report #-}
sDL_hid_get_feature_report
:: BG.FunPtr (BG.Ptr SDL_hid_device -> BG.Ptr BG.CUChar -> HsBindgen.Runtime.LibC.CSize -> IO BG.CInt)
sDL_hid_get_feature_report :: FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt)
sDL_hid_get_feature_report =
IO (FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt))
-> FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt))
hs_bindgen_d11cee38ea38b8b0
foreign import ccall unsafe "hs_bindgen_f7e6c98c847d43b6"
hs_bindgen_f7e6c98c847d43b6_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_f7e6c98c847d43b6
:: IO
(BG.FunPtr (BG.Ptr SDL_hid_device -> BG.Ptr BG.CUChar -> HsBindgen.Runtime.LibC.CSize -> IO BG.CInt))
hs_bindgen_f7e6c98c847d43b6 :: IO (FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt))
hs_bindgen_f7e6c98c847d43b6 =
(FunPtr Void
-> FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt))
-> IO (FunPtr Void)
-> IO
(FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt)
FFIType
(FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt))
-> FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_f7e6c98c847d43b6_base
{-# NOINLINE sDL_hid_get_input_report #-}
sDL_hid_get_input_report
:: BG.FunPtr (BG.Ptr SDL_hid_device -> BG.Ptr BG.CUChar -> HsBindgen.Runtime.LibC.CSize -> IO BG.CInt)
sDL_hid_get_input_report :: FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt)
sDL_hid_get_input_report =
IO (FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt))
-> FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt))
hs_bindgen_f7e6c98c847d43b6
foreign import ccall unsafe "hs_bindgen_a3778a783d0b375c"
hs_bindgen_a3778a783d0b375c_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_a3778a783d0b375c :: IO (BG.FunPtr (BG.Ptr SDL_hid_device -> IO BG.CInt))
hs_bindgen_a3778a783d0b375c :: IO (FunPtr (Ptr SDL_hid_device -> IO CInt))
hs_bindgen_a3778a783d0b375c =
(FunPtr Void -> FunPtr (Ptr SDL_hid_device -> IO CInt))
-> IO (FunPtr Void) -> IO (FunPtr (Ptr SDL_hid_device -> IO CInt))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (Ptr SDL_hid_device -> IO CInt)
FFIType (FunPtr (Ptr SDL_hid_device -> IO CInt))
-> FunPtr (Ptr SDL_hid_device -> IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_a3778a783d0b375c_base
{-# NOINLINE sDL_hid_close #-}
sDL_hid_close :: BG.FunPtr (BG.Ptr SDL_hid_device -> IO BG.CInt)
sDL_hid_close :: FunPtr (Ptr SDL_hid_device -> IO CInt)
sDL_hid_close =
IO (FunPtr (Ptr SDL_hid_device -> IO CInt))
-> FunPtr (Ptr SDL_hid_device -> IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_hid_device -> IO CInt))
hs_bindgen_a3778a783d0b375c
foreign import ccall unsafe "hs_bindgen_2886098b9152b5a2"
hs_bindgen_2886098b9152b5a2_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_2886098b9152b5a2
:: IO
( BG.FunPtr
( BG.Ptr SDL_hid_device
-> BG.Ptr HsBindgen.Runtime.LibC.CWchar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
)
)
hs_bindgen_2886098b9152b5a2 :: IO (FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt))
hs_bindgen_2886098b9152b5a2 =
(FunPtr Void
-> FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt))
-> IO (FunPtr Void)
-> IO
(FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt)
FFIType
(FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt))
-> FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_2886098b9152b5a2_base
{-# NOINLINE sDL_hid_get_manufacturer_string #-}
sDL_hid_get_manufacturer_string
:: BG.FunPtr
( BG.Ptr SDL_hid_device
-> BG.Ptr HsBindgen.Runtime.LibC.CWchar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
)
sDL_hid_get_manufacturer_string :: FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt)
sDL_hid_get_manufacturer_string =
IO (FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt))
-> FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt))
hs_bindgen_2886098b9152b5a2
foreign import ccall unsafe "hs_bindgen_e9dcf914acc87392"
hs_bindgen_e9dcf914acc87392_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_e9dcf914acc87392
:: IO
( BG.FunPtr
( BG.Ptr SDL_hid_device
-> BG.Ptr HsBindgen.Runtime.LibC.CWchar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
)
)
hs_bindgen_e9dcf914acc87392 :: IO (FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt))
hs_bindgen_e9dcf914acc87392 =
(FunPtr Void
-> FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt))
-> IO (FunPtr Void)
-> IO
(FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt)
FFIType
(FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt))
-> FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_e9dcf914acc87392_base
{-# NOINLINE sDL_hid_get_product_string #-}
sDL_hid_get_product_string
:: BG.FunPtr
( BG.Ptr SDL_hid_device
-> BG.Ptr HsBindgen.Runtime.LibC.CWchar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
)
sDL_hid_get_product_string :: FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt)
sDL_hid_get_product_string =
IO (FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt))
-> FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt))
hs_bindgen_e9dcf914acc87392
foreign import ccall unsafe "hs_bindgen_6d6557d49ee90dad"
hs_bindgen_6d6557d49ee90dad_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_6d6557d49ee90dad
:: IO
( BG.FunPtr
( BG.Ptr SDL_hid_device
-> BG.Ptr HsBindgen.Runtime.LibC.CWchar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
)
)
hs_bindgen_6d6557d49ee90dad :: IO (FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt))
hs_bindgen_6d6557d49ee90dad =
(FunPtr Void
-> FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt))
-> IO (FunPtr Void)
-> IO
(FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt)
FFIType
(FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt))
-> FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_6d6557d49ee90dad_base
{-# NOINLINE sDL_hid_get_serial_number_string #-}
sDL_hid_get_serial_number_string
:: BG.FunPtr
( BG.Ptr SDL_hid_device
-> BG.Ptr HsBindgen.Runtime.LibC.CWchar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
)
sDL_hid_get_serial_number_string :: FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt)
sDL_hid_get_serial_number_string =
IO (FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt))
-> FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_hid_device -> Ptr CWchar -> CSize -> IO CInt))
hs_bindgen_6d6557d49ee90dad
foreign import ccall unsafe "hs_bindgen_5cef67d9ce2e1563"
hs_bindgen_5cef67d9ce2e1563_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_5cef67d9ce2e1563
:: IO
( BG.FunPtr
( BG.Ptr SDL_hid_device
-> BG.CInt
-> BG.Ptr HsBindgen.Runtime.LibC.CWchar
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CInt
)
)
hs_bindgen_5cef67d9ce2e1563 :: IO
(FunPtr
(Ptr SDL_hid_device -> CInt -> Ptr CWchar -> CSize -> IO CInt))
hs_bindgen_5cef67d9ce2e1563 =
(FunPtr Void
-> FunPtr
(Ptr SDL_hid_device -> CInt -> Ptr CWchar -> CSize -> IO CInt))
-> IO (FunPtr Void)
-> IO
(FunPtr
(Ptr SDL_hid_device -> CInt -> Ptr CWchar -> CSize -> IO CInt))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr
(Ptr SDL_hid_device -> CInt -> Ptr CWchar -> CSize -> IO CInt)
FFIType
(FunPtr
(Ptr SDL_hid_device -> CInt -> Ptr CWchar -> CSize -> IO CInt))
-> FunPtr
(Ptr SDL_hid_device -> CInt -> Ptr CWchar -> CSize -> IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_5cef67d9ce2e1563_base
{-# NOINLINE sDL_hid_get_indexed_string #-}
sDL_hid_get_indexed_string
:: BG.FunPtr
( 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 :: FunPtr
(Ptr SDL_hid_device -> CInt -> Ptr CWchar -> CSize -> IO CInt)
sDL_hid_get_indexed_string =
IO
(FunPtr
(Ptr SDL_hid_device -> CInt -> Ptr CWchar -> CSize -> IO CInt))
-> FunPtr
(Ptr SDL_hid_device -> CInt -> Ptr CWchar -> CSize -> IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO
(FunPtr
(Ptr SDL_hid_device -> CInt -> Ptr CWchar -> CSize -> IO CInt))
hs_bindgen_5cef67d9ce2e1563
foreign import ccall unsafe "hs_bindgen_9b2d929812d327f4"
hs_bindgen_9b2d929812d327f4_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_9b2d929812d327f4
:: IO (BG.FunPtr (BG.Ptr SDL_hid_device -> IO (BG.Ptr SDL_hid_device_info)))
hs_bindgen_9b2d929812d327f4 :: IO (FunPtr (Ptr SDL_hid_device -> IO (Ptr SDL_hid_device_info)))
hs_bindgen_9b2d929812d327f4 =
(FunPtr Void
-> FunPtr (Ptr SDL_hid_device -> IO (Ptr SDL_hid_device_info)))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_hid_device -> 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 FunPtr Void
-> FunPtr (Ptr SDL_hid_device -> IO (Ptr SDL_hid_device_info))
FFIType
(FunPtr (Ptr SDL_hid_device -> IO (Ptr SDL_hid_device_info)))
-> FunPtr (Ptr SDL_hid_device -> IO (Ptr SDL_hid_device_info))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_9b2d929812d327f4_base
{-# NOINLINE sDL_hid_get_device_info #-}
sDL_hid_get_device_info :: BG.FunPtr (BG.Ptr SDL_hid_device -> IO (BG.Ptr SDL_hid_device_info))
sDL_hid_get_device_info :: FunPtr (Ptr SDL_hid_device -> IO (Ptr SDL_hid_device_info))
sDL_hid_get_device_info =
IO (FunPtr (Ptr SDL_hid_device -> IO (Ptr SDL_hid_device_info)))
-> FunPtr (Ptr SDL_hid_device -> IO (Ptr SDL_hid_device_info))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_hid_device -> IO (Ptr SDL_hid_device_info)))
hs_bindgen_9b2d929812d327f4
foreign import ccall unsafe "hs_bindgen_056ff18230bbb5e2"
hs_bindgen_056ff18230bbb5e2_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_056ff18230bbb5e2
:: IO
(BG.FunPtr (BG.Ptr SDL_hid_device -> BG.Ptr BG.CUChar -> HsBindgen.Runtime.LibC.CSize -> IO BG.CInt))
hs_bindgen_056ff18230bbb5e2 :: IO (FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt))
hs_bindgen_056ff18230bbb5e2 =
(FunPtr Void
-> FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt))
-> IO (FunPtr Void)
-> IO
(FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt)
FFIType
(FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt))
-> FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_056ff18230bbb5e2_base
{-# NOINLINE sDL_hid_get_report_descriptor #-}
sDL_hid_get_report_descriptor
:: BG.FunPtr (BG.Ptr SDL_hid_device -> BG.Ptr BG.CUChar -> HsBindgen.Runtime.LibC.CSize -> IO BG.CInt)
sDL_hid_get_report_descriptor :: FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt)
sDL_hid_get_report_descriptor =
IO (FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt))
-> FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_hid_device -> Ptr CUChar -> CSize -> IO CInt))
hs_bindgen_056ff18230bbb5e2
foreign import ccall unsafe "hs_bindgen_7634f6f83062373e"
hs_bindgen_7634f6f83062373e_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_7634f6f83062373e :: IO (BG.FunPtr (BG.CBool -> IO ()))
hs_bindgen_7634f6f83062373e :: IO (FunPtr (CBool -> IO ()))
hs_bindgen_7634f6f83062373e =
(FunPtr Void -> FunPtr (CBool -> IO ()))
-> IO (FunPtr Void) -> IO (FunPtr (CBool -> IO ()))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (CBool -> IO ())
FFIType (FunPtr (CBool -> IO ())) -> FunPtr (CBool -> IO ())
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_7634f6f83062373e_base
{-# NOINLINE sDL_hid_ble_scan #-}
sDL_hid_ble_scan :: BG.FunPtr (BG.CBool -> IO ())
sDL_hid_ble_scan :: FunPtr (CBool -> IO ())
sDL_hid_ble_scan =
IO (FunPtr (CBool -> IO ())) -> FunPtr (CBool -> IO ())
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (CBool -> IO ()))
hs_bindgen_7634f6f83062373e