{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Mouse.FunPtr (
SDL3.Sys.Bindgen.Mouse.FunPtr.sDL_HasMouse,
SDL3.Sys.Bindgen.Mouse.FunPtr.sDL_GetMice,
SDL3.Sys.Bindgen.Mouse.FunPtr.sDL_GetMouseNameForID,
SDL3.Sys.Bindgen.Mouse.FunPtr.sDL_GetMouseFocus,
SDL3.Sys.Bindgen.Mouse.FunPtr.sDL_GetMouseState,
SDL3.Sys.Bindgen.Mouse.FunPtr.sDL_GetGlobalMouseState,
SDL3.Sys.Bindgen.Mouse.FunPtr.sDL_GetRelativeMouseState,
SDL3.Sys.Bindgen.Mouse.FunPtr.sDL_WarpMouseInWindow,
SDL3.Sys.Bindgen.Mouse.FunPtr.sDL_WarpMouseGlobal,
SDL3.Sys.Bindgen.Mouse.FunPtr.sDL_SetRelativeMouseTransform,
SDL3.Sys.Bindgen.Mouse.FunPtr.sDL_SetWindowRelativeMouseMode,
SDL3.Sys.Bindgen.Mouse.FunPtr.sDL_GetWindowRelativeMouseMode,
SDL3.Sys.Bindgen.Mouse.FunPtr.sDL_CaptureMouse,
SDL3.Sys.Bindgen.Mouse.FunPtr.sDL_CreateCursor,
SDL3.Sys.Bindgen.Mouse.FunPtr.sDL_CreateColorCursor,
SDL3.Sys.Bindgen.Mouse.FunPtr.sDL_CreateAnimatedCursor,
SDL3.Sys.Bindgen.Mouse.FunPtr.sDL_CreateSystemCursor,
SDL3.Sys.Bindgen.Mouse.FunPtr.sDL_SetCursor,
SDL3.Sys.Bindgen.Mouse.FunPtr.sDL_GetCursor,
SDL3.Sys.Bindgen.Mouse.FunPtr.sDL_GetDefaultCursor,
SDL3.Sys.Bindgen.Mouse.FunPtr.sDL_DestroyCursor,
SDL3.Sys.Bindgen.Mouse.FunPtr.sDL_ShowCursor,
SDL3.Sys.Bindgen.Mouse.FunPtr.sDL_HideCursor,
SDL3.Sys.Bindgen.Mouse.FunPtr.sDL_CursorVisible,
)
where
import Prelude (IO, fmap)
import HsBindgen.Runtime.PtrConst qualified as PtrConst
import HsBindgen.Runtime.Support qualified as BG
import HsBindgen.Runtime.Support.CAPI qualified
import SDL3.Sys.Bindgen.Mouse
import SDL3.Sys.Bindgen.Stdinc qualified
import SDL3.Sys.Bindgen.Surface qualified
import SDL3.Sys.Bindgen.Video 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_mouse.h>"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Mouse_get_SDL_HasMouse */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_808ad945705f4e48 (void)) (void)"
, "{"
, " return &SDL_HasMouse;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Mouse_get_SDL_GetMice */"
, "__attribute__ ((const))"
, "SDL_MouseID *(*hs_bindgen_ebefa78305745bc0 (void)) ("
, " signed int *arg1"
, ")"
, "{"
, " return &SDL_GetMice;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Mouse_get_SDL_GetMouseNameForID */"
, "__attribute__ ((const))"
, "char const *(*hs_bindgen_cd3906ba4b6319e7 (void)) ("
, " SDL_MouseID arg1"
, ")"
, "{"
, " return &SDL_GetMouseNameForID;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Mouse_get_SDL_GetMouseFocus */"
, "__attribute__ ((const))"
, "SDL_Window *(*hs_bindgen_b1cca0ecf584dbce (void)) (void)"
, "{"
, " return &SDL_GetMouseFocus;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Mouse_get_SDL_GetMouseState */"
, "__attribute__ ((const))"
, "SDL_MouseButtonFlags (*hs_bindgen_cd78db7ca1b4380a (void)) ("
, " float *arg1,"
, " float *arg2"
, ")"
, "{"
, " return &SDL_GetMouseState;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Mouse_get_SDL_GetGlobalMouseState */"
, "__attribute__ ((const))"
, "SDL_MouseButtonFlags (*hs_bindgen_8ad222945a494193 (void)) ("
, " float *arg1,"
, " float *arg2"
, ")"
, "{"
, " return &SDL_GetGlobalMouseState;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Mouse_get_SDL_GetRelativeMouseState */"
, "__attribute__ ((const))"
, "SDL_MouseButtonFlags (*hs_bindgen_c09b770b28617678 (void)) ("
, " float *arg1,"
, " float *arg2"
, ")"
, "{"
, " return &SDL_GetRelativeMouseState;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Mouse_get_SDL_WarpMouseInWindow */"
, "__attribute__ ((const))"
, "void (*hs_bindgen_e0aa89262c23f11d (void)) ("
, " SDL_Window *arg1,"
, " float arg2,"
, " float arg3"
, ")"
, "{"
, " return &SDL_WarpMouseInWindow;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Mouse_get_SDL_WarpMouseGlobal */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_a6c8da14823bf99f (void)) ("
, " float arg1,"
, " float arg2"
, ")"
, "{"
, " return &SDL_WarpMouseGlobal;"
, "}"
, "#include <SDL3/SDL_version.h>"
, "#include <SDL3/SDL_error.h>"
, "#include <SDL3/SDL_version.h>"
, "#if !SDL_VERSION_ATLEAST(3, 4, 0)"
, "typedef struct SDL_CursorFrameInfo SDL_CursorFrameInfo;"
, "typedef void *SDL_MouseMotionTransformCallback;"
, "#endif"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Mouse_get_SDL_SetRelativeMouseTransform */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_e75ba6290fb7b58a (void)) ("
, " SDL_MouseMotionTransformCallback arg1,"
, " void *arg2"
, ")"
, "{"
, "#if SDL_VERSION_ATLEAST(3, 4, 0)"
, " return &SDL_SetRelativeMouseTransform;"
, "#else"
, " SDL_SetError(\"SDL_SetRelativeMouseTransform requires SDL >= 3.4.0\"); return 0;"
, "#endif"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Mouse_get_SDL_SetWindowRelativeMouseMode */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_5b077ae9a298496b (void)) ("
, " SDL_Window *arg1,"
, " _Bool arg2"
, ")"
, "{"
, " return &SDL_SetWindowRelativeMouseMode;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Mouse_get_SDL_GetWindowRelativeMouseMode */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_46446683507069cd (void)) ("
, " SDL_Window *arg1"
, ")"
, "{"
, " return &SDL_GetWindowRelativeMouseMode;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Mouse_get_SDL_CaptureMouse */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_a6ebcff1379c54e6 (void)) ("
, " _Bool arg1"
, ")"
, "{"
, " return &SDL_CaptureMouse;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Mouse_get_SDL_CreateCursor */"
, "__attribute__ ((const))"
, "SDL_Cursor *(*hs_bindgen_3f017d38c4a98259 (void)) ("
, " Uint8 const *arg1,"
, " Uint8 const *arg2,"
, " signed int arg3,"
, " signed int arg4,"
, " signed int arg5,"
, " signed int arg6"
, ")"
, "{"
, " return &SDL_CreateCursor;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Mouse_get_SDL_CreateColorCursor */"
, "__attribute__ ((const))"
, "SDL_Cursor *(*hs_bindgen_9741ddd9d73dea35 (void)) ("
, " SDL_Surface *arg1,"
, " signed int arg2,"
, " signed int arg3"
, ")"
, "{"
, " return &SDL_CreateColorCursor;"
, "}"
, "#include <SDL3/SDL_version.h>"
, "#include <SDL3/SDL_error.h>"
, "#include <SDL3/SDL_version.h>"
, "#if !SDL_VERSION_ATLEAST(3, 4, 0)"
, "typedef struct SDL_CursorFrameInfo SDL_CursorFrameInfo;"
, "typedef void *SDL_MouseMotionTransformCallback;"
, "#endif"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Mouse_get_SDL_CreateAnimatedCursor */"
, "__attribute__ ((const))"
, "SDL_Cursor *(*hs_bindgen_5a53bab7f1d0dd41 (void)) ("
, " SDL_CursorFrameInfo *arg1,"
, " signed int arg2,"
, " signed int arg3,"
, " signed int arg4"
, ")"
, "{"
, "#if SDL_VERSION_ATLEAST(3, 4, 0)"
, " return &SDL_CreateAnimatedCursor;"
, "#else"
, " SDL_SetError(\"SDL_CreateAnimatedCursor requires SDL >= 3.4.0\"); return 0;"
, "#endif"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Mouse_get_SDL_CreateSystemCursor */"
, "__attribute__ ((const))"
, "SDL_Cursor *(*hs_bindgen_98115455fed12c20 (void)) ("
, " SDL_SystemCursor arg1"
, ")"
, "{"
, " return &SDL_CreateSystemCursor;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Mouse_get_SDL_SetCursor */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_7f9d9e943410eac0 (void)) ("
, " SDL_Cursor *arg1"
, ")"
, "{"
, " return &SDL_SetCursor;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Mouse_get_SDL_GetCursor */"
, "__attribute__ ((const))"
, "SDL_Cursor *(*hs_bindgen_ddffa3c703f2160c (void)) (void)"
, "{"
, " return &SDL_GetCursor;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Mouse_get_SDL_GetDefaultCursor */"
, "__attribute__ ((const))"
, "SDL_Cursor *(*hs_bindgen_3cea96283579f3f7 (void)) (void)"
, "{"
, " return &SDL_GetDefaultCursor;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Mouse_get_SDL_DestroyCursor */"
, "__attribute__ ((const))"
, "void (*hs_bindgen_cccc019b7e8bc17b (void)) ("
, " SDL_Cursor *arg1"
, ")"
, "{"
, " return &SDL_DestroyCursor;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Mouse_get_SDL_ShowCursor */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_fa1d352535cdb7a2 (void)) (void)"
, "{"
, " return &SDL_ShowCursor;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Mouse_get_SDL_HideCursor */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_d90c7f4cd007f484 (void)) (void)"
, "{"
, " return &SDL_HideCursor;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Mouse_get_SDL_CursorVisible */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_7ae5464b38889e15 (void)) (void)"
, "{"
, " return &SDL_CursorVisible;"
, "}"
]
)
)
foreign import ccall unsafe "hs_bindgen_808ad945705f4e48"
hs_bindgen_808ad945705f4e48_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_808ad945705f4e48 :: IO (BG.FunPtr (IO BG.CBool))
hs_bindgen_808ad945705f4e48 :: IO (FunPtr (IO CBool))
hs_bindgen_808ad945705f4e48 =
(FunPtr Void -> FunPtr (IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (IO CBool))
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 CBool)
FFIType (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_808ad945705f4e48_base
{-# NOINLINE sDL_HasMouse #-}
sDL_HasMouse :: BG.FunPtr (IO BG.CBool)
sDL_HasMouse :: FunPtr (IO CBool)
sDL_HasMouse =
IO (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CBool))
hs_bindgen_808ad945705f4e48
foreign import ccall unsafe "hs_bindgen_ebefa78305745bc0"
hs_bindgen_ebefa78305745bc0_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_ebefa78305745bc0 :: IO (BG.FunPtr (BG.Ptr BG.CInt -> IO (BG.Ptr SDL_MouseID)))
hs_bindgen_ebefa78305745bc0 :: IO (FunPtr (Ptr CInt -> IO (Ptr SDL_MouseID)))
hs_bindgen_ebefa78305745bc0 =
(FunPtr Void -> FunPtr (Ptr CInt -> IO (Ptr SDL_MouseID)))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr CInt -> IO (Ptr SDL_MouseID)))
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 CInt -> IO (Ptr SDL_MouseID))
FFIType (FunPtr (Ptr CInt -> IO (Ptr SDL_MouseID)))
-> FunPtr (Ptr CInt -> IO (Ptr SDL_MouseID))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_ebefa78305745bc0_base
{-# NOINLINE sDL_GetMice #-}
sDL_GetMice :: BG.FunPtr (BG.Ptr BG.CInt -> IO (BG.Ptr SDL_MouseID))
sDL_GetMice :: FunPtr (Ptr CInt -> IO (Ptr SDL_MouseID))
sDL_GetMice =
IO (FunPtr (Ptr CInt -> IO (Ptr SDL_MouseID)))
-> FunPtr (Ptr CInt -> IO (Ptr SDL_MouseID))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr CInt -> IO (Ptr SDL_MouseID)))
hs_bindgen_ebefa78305745bc0
foreign import ccall unsafe "hs_bindgen_cd3906ba4b6319e7"
hs_bindgen_cd3906ba4b6319e7_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_cd3906ba4b6319e7 :: IO (BG.FunPtr (SDL_MouseID -> IO (PtrConst.PtrConst BG.CChar)))
hs_bindgen_cd3906ba4b6319e7 :: IO (FunPtr (SDL_MouseID -> IO (PtrConst CChar)))
hs_bindgen_cd3906ba4b6319e7 =
(FunPtr Void -> FunPtr (SDL_MouseID -> IO (PtrConst CChar)))
-> IO (FunPtr Void)
-> IO (FunPtr (SDL_MouseID -> IO (PtrConst CChar)))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (SDL_MouseID -> IO (PtrConst CChar))
FFIType (FunPtr (SDL_MouseID -> IO (PtrConst CChar)))
-> FunPtr (SDL_MouseID -> IO (PtrConst CChar))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_cd3906ba4b6319e7_base
{-# NOINLINE sDL_GetMouseNameForID #-}
sDL_GetMouseNameForID :: BG.FunPtr (SDL_MouseID -> IO (PtrConst.PtrConst BG.CChar))
sDL_GetMouseNameForID :: FunPtr (SDL_MouseID -> IO (PtrConst CChar))
sDL_GetMouseNameForID =
IO (FunPtr (SDL_MouseID -> IO (PtrConst CChar)))
-> FunPtr (SDL_MouseID -> IO (PtrConst CChar))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_MouseID -> IO (PtrConst CChar)))
hs_bindgen_cd3906ba4b6319e7
foreign import ccall unsafe "hs_bindgen_b1cca0ecf584dbce"
hs_bindgen_b1cca0ecf584dbce_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_b1cca0ecf584dbce :: IO (BG.FunPtr (IO (BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window)))
hs_bindgen_b1cca0ecf584dbce :: IO (FunPtr (IO (Ptr SDL_Window)))
hs_bindgen_b1cca0ecf584dbce =
(FunPtr Void -> FunPtr (IO (Ptr SDL_Window)))
-> IO (FunPtr Void) -> IO (FunPtr (IO (Ptr SDL_Window)))
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 (Ptr SDL_Window))
FFIType (FunPtr (IO (Ptr SDL_Window)))
-> FunPtr (IO (Ptr SDL_Window))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_b1cca0ecf584dbce_base
{-# NOINLINE sDL_GetMouseFocus #-}
sDL_GetMouseFocus :: BG.FunPtr (IO (BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window))
sDL_GetMouseFocus :: FunPtr (IO (Ptr SDL_Window))
sDL_GetMouseFocus =
IO (FunPtr (IO (Ptr SDL_Window))) -> FunPtr (IO (Ptr SDL_Window))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO (Ptr SDL_Window)))
hs_bindgen_b1cca0ecf584dbce
foreign import ccall unsafe "hs_bindgen_cd78db7ca1b4380a"
hs_bindgen_cd78db7ca1b4380a_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_cd78db7ca1b4380a
:: IO (BG.FunPtr (BG.Ptr BG.CFloat -> BG.Ptr BG.CFloat -> IO SDL_MouseButtonFlags))
hs_bindgen_cd78db7ca1b4380a :: IO (FunPtr (Ptr CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags))
hs_bindgen_cd78db7ca1b4380a =
(FunPtr Void
-> FunPtr (Ptr CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags))
-> IO (FunPtr Void)
-> IO
(FunPtr (Ptr CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags))
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 CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags)
FFIType
(FunPtr (Ptr CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags))
-> FunPtr (Ptr CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_cd78db7ca1b4380a_base
{-# NOINLINE sDL_GetMouseState #-}
sDL_GetMouseState :: BG.FunPtr (BG.Ptr BG.CFloat -> BG.Ptr BG.CFloat -> IO SDL_MouseButtonFlags)
sDL_GetMouseState :: FunPtr (Ptr CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags)
sDL_GetMouseState =
IO (FunPtr (Ptr CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags))
-> FunPtr (Ptr CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags))
hs_bindgen_cd78db7ca1b4380a
foreign import ccall unsafe "hs_bindgen_8ad222945a494193"
hs_bindgen_8ad222945a494193_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_8ad222945a494193
:: IO (BG.FunPtr (BG.Ptr BG.CFloat -> BG.Ptr BG.CFloat -> IO SDL_MouseButtonFlags))
hs_bindgen_8ad222945a494193 :: IO (FunPtr (Ptr CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags))
hs_bindgen_8ad222945a494193 =
(FunPtr Void
-> FunPtr (Ptr CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags))
-> IO (FunPtr Void)
-> IO
(FunPtr (Ptr CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags))
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 CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags)
FFIType
(FunPtr (Ptr CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags))
-> FunPtr (Ptr CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_8ad222945a494193_base
{-# NOINLINE sDL_GetGlobalMouseState #-}
sDL_GetGlobalMouseState
:: BG.FunPtr (BG.Ptr BG.CFloat -> BG.Ptr BG.CFloat -> IO SDL_MouseButtonFlags)
sDL_GetGlobalMouseState :: FunPtr (Ptr CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags)
sDL_GetGlobalMouseState =
IO (FunPtr (Ptr CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags))
-> FunPtr (Ptr CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags))
hs_bindgen_8ad222945a494193
foreign import ccall unsafe "hs_bindgen_c09b770b28617678"
hs_bindgen_c09b770b28617678_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_c09b770b28617678
:: IO (BG.FunPtr (BG.Ptr BG.CFloat -> BG.Ptr BG.CFloat -> IO SDL_MouseButtonFlags))
hs_bindgen_c09b770b28617678 :: IO (FunPtr (Ptr CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags))
hs_bindgen_c09b770b28617678 =
(FunPtr Void
-> FunPtr (Ptr CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags))
-> IO (FunPtr Void)
-> IO
(FunPtr (Ptr CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags))
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 CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags)
FFIType
(FunPtr (Ptr CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags))
-> FunPtr (Ptr CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_c09b770b28617678_base
{-# NOINLINE sDL_GetRelativeMouseState #-}
sDL_GetRelativeMouseState
:: BG.FunPtr (BG.Ptr BG.CFloat -> BG.Ptr BG.CFloat -> IO SDL_MouseButtonFlags)
sDL_GetRelativeMouseState :: FunPtr (Ptr CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags)
sDL_GetRelativeMouseState =
IO (FunPtr (Ptr CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags))
-> FunPtr (Ptr CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr CFloat -> Ptr CFloat -> IO SDL_MouseButtonFlags))
hs_bindgen_c09b770b28617678
foreign import ccall unsafe "hs_bindgen_e0aa89262c23f11d"
hs_bindgen_e0aa89262c23f11d_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_e0aa89262c23f11d
:: IO (BG.FunPtr (BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window -> BG.CFloat -> BG.CFloat -> IO ()))
hs_bindgen_e0aa89262c23f11d :: IO (FunPtr (Ptr SDL_Window -> CFloat -> CFloat -> IO ()))
hs_bindgen_e0aa89262c23f11d =
(FunPtr Void
-> FunPtr (Ptr SDL_Window -> CFloat -> CFloat -> IO ()))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_Window -> CFloat -> CFloat -> 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_Window -> CFloat -> CFloat -> IO ())
FFIType (FunPtr (Ptr SDL_Window -> CFloat -> CFloat -> IO ()))
-> FunPtr (Ptr SDL_Window -> CFloat -> CFloat -> IO ())
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_e0aa89262c23f11d_base
{-# NOINLINE sDL_WarpMouseInWindow #-}
sDL_WarpMouseInWindow
:: BG.FunPtr (BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window -> BG.CFloat -> BG.CFloat -> IO ())
sDL_WarpMouseInWindow :: FunPtr (Ptr SDL_Window -> CFloat -> CFloat -> IO ())
sDL_WarpMouseInWindow =
IO (FunPtr (Ptr SDL_Window -> CFloat -> CFloat -> IO ()))
-> FunPtr (Ptr SDL_Window -> CFloat -> CFloat -> IO ())
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Window -> CFloat -> CFloat -> IO ()))
hs_bindgen_e0aa89262c23f11d
foreign import ccall unsafe "hs_bindgen_a6c8da14823bf99f"
hs_bindgen_a6c8da14823bf99f_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_a6c8da14823bf99f :: IO (BG.FunPtr (BG.CFloat -> BG.CFloat -> IO BG.CBool))
hs_bindgen_a6c8da14823bf99f :: IO (FunPtr (CFloat -> CFloat -> IO CBool))
hs_bindgen_a6c8da14823bf99f =
(FunPtr Void -> FunPtr (CFloat -> CFloat -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (CFloat -> CFloat -> IO CBool))
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 (CFloat -> CFloat -> IO CBool)
FFIType (FunPtr (CFloat -> CFloat -> IO CBool))
-> FunPtr (CFloat -> CFloat -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_a6c8da14823bf99f_base
{-# NOINLINE sDL_WarpMouseGlobal #-}
sDL_WarpMouseGlobal :: BG.FunPtr (BG.CFloat -> BG.CFloat -> IO BG.CBool)
sDL_WarpMouseGlobal :: FunPtr (CFloat -> CFloat -> IO CBool)
sDL_WarpMouseGlobal =
IO (FunPtr (CFloat -> CFloat -> IO CBool))
-> FunPtr (CFloat -> CFloat -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (CFloat -> CFloat -> IO CBool))
hs_bindgen_a6c8da14823bf99f
foreign import ccall unsafe "hs_bindgen_e75ba6290fb7b58a"
hs_bindgen_e75ba6290fb7b58a_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_e75ba6290fb7b58a
:: IO (BG.FunPtr (SDL_MouseMotionTransformCallback -> BG.Ptr BG.Void -> IO BG.CBool))
hs_bindgen_e75ba6290fb7b58a :: IO
(FunPtr (SDL_MouseMotionTransformCallback -> Ptr Void -> IO CBool))
hs_bindgen_e75ba6290fb7b58a =
(FunPtr Void
-> FunPtr
(SDL_MouseMotionTransformCallback -> Ptr Void -> IO CBool))
-> IO (FunPtr Void)
-> IO
(FunPtr (SDL_MouseMotionTransformCallback -> Ptr Void -> IO CBool))
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
(SDL_MouseMotionTransformCallback -> Ptr Void -> IO CBool)
FFIType
(FunPtr (SDL_MouseMotionTransformCallback -> Ptr Void -> IO CBool))
-> FunPtr
(SDL_MouseMotionTransformCallback -> Ptr Void -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_e75ba6290fb7b58a_base
{-# NOINLINE sDL_SetRelativeMouseTransform #-}
sDL_SetRelativeMouseTransform
:: BG.FunPtr (SDL_MouseMotionTransformCallback -> BG.Ptr BG.Void -> IO BG.CBool)
sDL_SetRelativeMouseTransform :: FunPtr (SDL_MouseMotionTransformCallback -> Ptr Void -> IO CBool)
sDL_SetRelativeMouseTransform =
IO
(FunPtr (SDL_MouseMotionTransformCallback -> Ptr Void -> IO CBool))
-> FunPtr
(SDL_MouseMotionTransformCallback -> Ptr Void -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO
(FunPtr (SDL_MouseMotionTransformCallback -> Ptr Void -> IO CBool))
hs_bindgen_e75ba6290fb7b58a
foreign import ccall unsafe "hs_bindgen_5b077ae9a298496b"
hs_bindgen_5b077ae9a298496b_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_5b077ae9a298496b
:: IO (BG.FunPtr (BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window -> BG.CBool -> IO BG.CBool))
hs_bindgen_5b077ae9a298496b :: IO (FunPtr (Ptr SDL_Window -> CBool -> IO CBool))
hs_bindgen_5b077ae9a298496b =
(FunPtr Void -> FunPtr (Ptr SDL_Window -> CBool -> IO CBool))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_Window -> CBool -> IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (Ptr SDL_Window -> CBool -> IO CBool)
FFIType (FunPtr (Ptr SDL_Window -> CBool -> IO CBool))
-> FunPtr (Ptr SDL_Window -> CBool -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_5b077ae9a298496b_base
{-# NOINLINE sDL_SetWindowRelativeMouseMode #-}
sDL_SetWindowRelativeMouseMode
:: BG.FunPtr (BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window -> BG.CBool -> IO BG.CBool)
sDL_SetWindowRelativeMouseMode :: FunPtr (Ptr SDL_Window -> CBool -> IO CBool)
sDL_SetWindowRelativeMouseMode =
IO (FunPtr (Ptr SDL_Window -> CBool -> IO CBool))
-> FunPtr (Ptr SDL_Window -> CBool -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Window -> CBool -> IO CBool))
hs_bindgen_5b077ae9a298496b
foreign import ccall unsafe "hs_bindgen_46446683507069cd"
hs_bindgen_46446683507069cd_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_46446683507069cd
:: IO (BG.FunPtr (BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window -> IO BG.CBool))
hs_bindgen_46446683507069cd :: IO (FunPtr (Ptr SDL_Window -> IO CBool))
hs_bindgen_46446683507069cd =
(FunPtr Void -> FunPtr (Ptr SDL_Window -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (Ptr SDL_Window -> IO CBool))
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_Window -> IO CBool)
FFIType (FunPtr (Ptr SDL_Window -> IO CBool))
-> FunPtr (Ptr SDL_Window -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_46446683507069cd_base
{-# NOINLINE sDL_GetWindowRelativeMouseMode #-}
sDL_GetWindowRelativeMouseMode
:: BG.FunPtr (BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window -> IO BG.CBool)
sDL_GetWindowRelativeMouseMode :: FunPtr (Ptr SDL_Window -> IO CBool)
sDL_GetWindowRelativeMouseMode =
IO (FunPtr (Ptr SDL_Window -> IO CBool))
-> FunPtr (Ptr SDL_Window -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Window -> IO CBool))
hs_bindgen_46446683507069cd
foreign import ccall unsafe "hs_bindgen_a6ebcff1379c54e6"
hs_bindgen_a6ebcff1379c54e6_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_a6ebcff1379c54e6 :: IO (BG.FunPtr (BG.CBool -> IO BG.CBool))
hs_bindgen_a6ebcff1379c54e6 :: IO (FunPtr (CBool -> IO CBool))
hs_bindgen_a6ebcff1379c54e6 =
(FunPtr Void -> FunPtr (CBool -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (CBool -> IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (CBool -> IO CBool)
FFIType (FunPtr (CBool -> IO CBool)) -> FunPtr (CBool -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_a6ebcff1379c54e6_base
{-# NOINLINE sDL_CaptureMouse #-}
sDL_CaptureMouse :: BG.FunPtr (BG.CBool -> IO BG.CBool)
sDL_CaptureMouse :: FunPtr (CBool -> IO CBool)
sDL_CaptureMouse =
IO (FunPtr (CBool -> IO CBool)) -> FunPtr (CBool -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (CBool -> IO CBool))
hs_bindgen_a6ebcff1379c54e6
foreign import ccall unsafe "hs_bindgen_3f017d38c4a98259"
hs_bindgen_3f017d38c4a98259_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_3f017d38c4a98259
:: IO
( BG.FunPtr
( PtrConst.PtrConst SDL3.Sys.Bindgen.Stdinc.Uint8
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Stdinc.Uint8
-> BG.CInt
-> BG.CInt
-> BG.CInt
-> BG.CInt
-> IO (BG.Ptr SDL_Cursor)
)
)
hs_bindgen_3f017d38c4a98259 :: IO
(FunPtr
(PtrConst Uint8
-> PtrConst Uint8
-> CInt
-> CInt
-> CInt
-> CInt
-> IO (Ptr SDL_Cursor)))
hs_bindgen_3f017d38c4a98259 =
(FunPtr Void
-> FunPtr
(PtrConst Uint8
-> PtrConst Uint8
-> CInt
-> CInt
-> CInt
-> CInt
-> IO (Ptr SDL_Cursor)))
-> IO (FunPtr Void)
-> IO
(FunPtr
(PtrConst Uint8
-> PtrConst Uint8
-> CInt
-> CInt
-> CInt
-> CInt
-> IO (Ptr SDL_Cursor)))
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 Uint8
-> PtrConst Uint8
-> CInt
-> CInt
-> CInt
-> CInt
-> IO (Ptr SDL_Cursor))
FFIType
(FunPtr
(PtrConst Uint8
-> PtrConst Uint8
-> CInt
-> CInt
-> CInt
-> CInt
-> IO (Ptr SDL_Cursor)))
-> FunPtr
(PtrConst Uint8
-> PtrConst Uint8
-> CInt
-> CInt
-> CInt
-> CInt
-> IO (Ptr SDL_Cursor))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_3f017d38c4a98259_base
{-# NOINLINE sDL_CreateCursor #-}
sDL_CreateCursor
:: BG.FunPtr
( PtrConst.PtrConst SDL3.Sys.Bindgen.Stdinc.Uint8
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Stdinc.Uint8
-> BG.CInt
-> BG.CInt
-> BG.CInt
-> BG.CInt
-> IO (BG.Ptr SDL_Cursor)
)
sDL_CreateCursor :: FunPtr
(PtrConst Uint8
-> PtrConst Uint8
-> CInt
-> CInt
-> CInt
-> CInt
-> IO (Ptr SDL_Cursor))
sDL_CreateCursor =
IO
(FunPtr
(PtrConst Uint8
-> PtrConst Uint8
-> CInt
-> CInt
-> CInt
-> CInt
-> IO (Ptr SDL_Cursor)))
-> FunPtr
(PtrConst Uint8
-> PtrConst Uint8
-> CInt
-> CInt
-> CInt
-> CInt
-> IO (Ptr SDL_Cursor))
forall a. IO a -> a
BG.unsafePerformIO IO
(FunPtr
(PtrConst Uint8
-> PtrConst Uint8
-> CInt
-> CInt
-> CInt
-> CInt
-> IO (Ptr SDL_Cursor)))
hs_bindgen_3f017d38c4a98259
foreign import ccall unsafe "hs_bindgen_9741ddd9d73dea35"
hs_bindgen_9741ddd9d73dea35_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_9741ddd9d73dea35
:: IO
( BG.FunPtr
(BG.Ptr SDL3.Sys.Bindgen.Surface.SDL_Surface -> BG.CInt -> BG.CInt -> IO (BG.Ptr SDL_Cursor))
)
hs_bindgen_9741ddd9d73dea35 :: IO
(FunPtr (Ptr SDL_Surface -> CInt -> CInt -> IO (Ptr SDL_Cursor)))
hs_bindgen_9741ddd9d73dea35 =
(FunPtr Void
-> FunPtr (Ptr SDL_Surface -> CInt -> CInt -> IO (Ptr SDL_Cursor)))
-> IO (FunPtr Void)
-> IO
(FunPtr (Ptr SDL_Surface -> CInt -> CInt -> IO (Ptr SDL_Cursor)))
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_Surface -> CInt -> CInt -> IO (Ptr SDL_Cursor))
FFIType
(FunPtr (Ptr SDL_Surface -> CInt -> CInt -> IO (Ptr SDL_Cursor)))
-> FunPtr (Ptr SDL_Surface -> CInt -> CInt -> IO (Ptr SDL_Cursor))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_9741ddd9d73dea35_base
{-# NOINLINE sDL_CreateColorCursor #-}
sDL_CreateColorCursor
:: BG.FunPtr
(BG.Ptr SDL3.Sys.Bindgen.Surface.SDL_Surface -> BG.CInt -> BG.CInt -> IO (BG.Ptr SDL_Cursor))
sDL_CreateColorCursor :: FunPtr (Ptr SDL_Surface -> CInt -> CInt -> IO (Ptr SDL_Cursor))
sDL_CreateColorCursor =
IO
(FunPtr (Ptr SDL_Surface -> CInt -> CInt -> IO (Ptr SDL_Cursor)))
-> FunPtr (Ptr SDL_Surface -> CInt -> CInt -> IO (Ptr SDL_Cursor))
forall a. IO a -> a
BG.unsafePerformIO IO
(FunPtr (Ptr SDL_Surface -> CInt -> CInt -> IO (Ptr SDL_Cursor)))
hs_bindgen_9741ddd9d73dea35
foreign import ccall unsafe "hs_bindgen_5a53bab7f1d0dd41"
hs_bindgen_5a53bab7f1d0dd41_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_5a53bab7f1d0dd41
:: IO
(BG.FunPtr (BG.Ptr SDL_CursorFrameInfo -> BG.CInt -> BG.CInt -> BG.CInt -> IO (BG.Ptr SDL_Cursor)))
hs_bindgen_5a53bab7f1d0dd41 :: IO
(FunPtr
(Ptr SDL_CursorFrameInfo
-> CInt -> CInt -> CInt -> IO (Ptr SDL_Cursor)))
hs_bindgen_5a53bab7f1d0dd41 =
(FunPtr Void
-> FunPtr
(Ptr SDL_CursorFrameInfo
-> CInt -> CInt -> CInt -> IO (Ptr SDL_Cursor)))
-> IO (FunPtr Void)
-> IO
(FunPtr
(Ptr SDL_CursorFrameInfo
-> CInt -> CInt -> CInt -> IO (Ptr SDL_Cursor)))
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_CursorFrameInfo
-> CInt -> CInt -> CInt -> IO (Ptr SDL_Cursor))
FFIType
(FunPtr
(Ptr SDL_CursorFrameInfo
-> CInt -> CInt -> CInt -> IO (Ptr SDL_Cursor)))
-> FunPtr
(Ptr SDL_CursorFrameInfo
-> CInt -> CInt -> CInt -> IO (Ptr SDL_Cursor))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_5a53bab7f1d0dd41_base
{-# NOINLINE sDL_CreateAnimatedCursor #-}
sDL_CreateAnimatedCursor
:: BG.FunPtr (BG.Ptr SDL_CursorFrameInfo -> BG.CInt -> BG.CInt -> BG.CInt -> IO (BG.Ptr SDL_Cursor))
sDL_CreateAnimatedCursor :: FunPtr
(Ptr SDL_CursorFrameInfo
-> CInt -> CInt -> CInt -> IO (Ptr SDL_Cursor))
sDL_CreateAnimatedCursor =
IO
(FunPtr
(Ptr SDL_CursorFrameInfo
-> CInt -> CInt -> CInt -> IO (Ptr SDL_Cursor)))
-> FunPtr
(Ptr SDL_CursorFrameInfo
-> CInt -> CInt -> CInt -> IO (Ptr SDL_Cursor))
forall a. IO a -> a
BG.unsafePerformIO IO
(FunPtr
(Ptr SDL_CursorFrameInfo
-> CInt -> CInt -> CInt -> IO (Ptr SDL_Cursor)))
hs_bindgen_5a53bab7f1d0dd41
foreign import ccall unsafe "hs_bindgen_98115455fed12c20"
hs_bindgen_98115455fed12c20_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_98115455fed12c20 :: IO (BG.FunPtr (SDL_SystemCursor -> IO (BG.Ptr SDL_Cursor)))
hs_bindgen_98115455fed12c20 :: IO (FunPtr (SDL_SystemCursor -> IO (Ptr SDL_Cursor)))
hs_bindgen_98115455fed12c20 =
(FunPtr Void -> FunPtr (SDL_SystemCursor -> IO (Ptr SDL_Cursor)))
-> IO (FunPtr Void)
-> IO (FunPtr (SDL_SystemCursor -> IO (Ptr SDL_Cursor)))
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 (SDL_SystemCursor -> IO (Ptr SDL_Cursor))
FFIType (FunPtr (SDL_SystemCursor -> IO (Ptr SDL_Cursor)))
-> FunPtr (SDL_SystemCursor -> IO (Ptr SDL_Cursor))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_98115455fed12c20_base
{-# NOINLINE sDL_CreateSystemCursor #-}
sDL_CreateSystemCursor :: BG.FunPtr (SDL_SystemCursor -> IO (BG.Ptr SDL_Cursor))
sDL_CreateSystemCursor :: FunPtr (SDL_SystemCursor -> IO (Ptr SDL_Cursor))
sDL_CreateSystemCursor =
IO (FunPtr (SDL_SystemCursor -> IO (Ptr SDL_Cursor)))
-> FunPtr (SDL_SystemCursor -> IO (Ptr SDL_Cursor))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_SystemCursor -> IO (Ptr SDL_Cursor)))
hs_bindgen_98115455fed12c20
foreign import ccall unsafe "hs_bindgen_7f9d9e943410eac0"
hs_bindgen_7f9d9e943410eac0_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_7f9d9e943410eac0 :: IO (BG.FunPtr (BG.Ptr SDL_Cursor -> IO BG.CBool))
hs_bindgen_7f9d9e943410eac0 :: IO (FunPtr (Ptr SDL_Cursor -> IO CBool))
hs_bindgen_7f9d9e943410eac0 =
(FunPtr Void -> FunPtr (Ptr SDL_Cursor -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (Ptr SDL_Cursor -> IO CBool))
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_Cursor -> IO CBool)
FFIType (FunPtr (Ptr SDL_Cursor -> IO CBool))
-> FunPtr (Ptr SDL_Cursor -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_7f9d9e943410eac0_base
{-# NOINLINE sDL_SetCursor #-}
sDL_SetCursor :: BG.FunPtr (BG.Ptr SDL_Cursor -> IO BG.CBool)
sDL_SetCursor :: FunPtr (Ptr SDL_Cursor -> IO CBool)
sDL_SetCursor =
IO (FunPtr (Ptr SDL_Cursor -> IO CBool))
-> FunPtr (Ptr SDL_Cursor -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Cursor -> IO CBool))
hs_bindgen_7f9d9e943410eac0
foreign import ccall unsafe "hs_bindgen_ddffa3c703f2160c"
hs_bindgen_ddffa3c703f2160c_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_ddffa3c703f2160c :: IO (BG.FunPtr (IO (BG.Ptr SDL_Cursor)))
hs_bindgen_ddffa3c703f2160c :: IO (FunPtr (IO (Ptr SDL_Cursor)))
hs_bindgen_ddffa3c703f2160c =
(FunPtr Void -> FunPtr (IO (Ptr SDL_Cursor)))
-> IO (FunPtr Void) -> IO (FunPtr (IO (Ptr SDL_Cursor)))
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 (Ptr SDL_Cursor))
FFIType (FunPtr (IO (Ptr SDL_Cursor)))
-> FunPtr (IO (Ptr SDL_Cursor))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_ddffa3c703f2160c_base
{-# NOINLINE sDL_GetCursor #-}
sDL_GetCursor :: BG.FunPtr (IO (BG.Ptr SDL_Cursor))
sDL_GetCursor :: FunPtr (IO (Ptr SDL_Cursor))
sDL_GetCursor =
IO (FunPtr (IO (Ptr SDL_Cursor))) -> FunPtr (IO (Ptr SDL_Cursor))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO (Ptr SDL_Cursor)))
hs_bindgen_ddffa3c703f2160c
foreign import ccall unsafe "hs_bindgen_3cea96283579f3f7"
hs_bindgen_3cea96283579f3f7_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_3cea96283579f3f7 :: IO (BG.FunPtr (IO (BG.Ptr SDL_Cursor)))
hs_bindgen_3cea96283579f3f7 :: IO (FunPtr (IO (Ptr SDL_Cursor)))
hs_bindgen_3cea96283579f3f7 =
(FunPtr Void -> FunPtr (IO (Ptr SDL_Cursor)))
-> IO (FunPtr Void) -> IO (FunPtr (IO (Ptr SDL_Cursor)))
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 (Ptr SDL_Cursor))
FFIType (FunPtr (IO (Ptr SDL_Cursor)))
-> FunPtr (IO (Ptr SDL_Cursor))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_3cea96283579f3f7_base
{-# NOINLINE sDL_GetDefaultCursor #-}
sDL_GetDefaultCursor :: BG.FunPtr (IO (BG.Ptr SDL_Cursor))
sDL_GetDefaultCursor :: FunPtr (IO (Ptr SDL_Cursor))
sDL_GetDefaultCursor =
IO (FunPtr (IO (Ptr SDL_Cursor))) -> FunPtr (IO (Ptr SDL_Cursor))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO (Ptr SDL_Cursor)))
hs_bindgen_3cea96283579f3f7
foreign import ccall unsafe "hs_bindgen_cccc019b7e8bc17b"
hs_bindgen_cccc019b7e8bc17b_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_cccc019b7e8bc17b :: IO (BG.FunPtr (BG.Ptr SDL_Cursor -> IO ()))
hs_bindgen_cccc019b7e8bc17b :: IO (FunPtr (Ptr SDL_Cursor -> IO ()))
hs_bindgen_cccc019b7e8bc17b =
(FunPtr Void -> FunPtr (Ptr SDL_Cursor -> IO ()))
-> IO (FunPtr Void) -> IO (FunPtr (Ptr SDL_Cursor -> 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_Cursor -> IO ())
FFIType (FunPtr (Ptr SDL_Cursor -> IO ()))
-> FunPtr (Ptr SDL_Cursor -> IO ())
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_cccc019b7e8bc17b_base
{-# NOINLINE sDL_DestroyCursor #-}
sDL_DestroyCursor :: BG.FunPtr (BG.Ptr SDL_Cursor -> IO ())
sDL_DestroyCursor :: FunPtr (Ptr SDL_Cursor -> IO ())
sDL_DestroyCursor =
IO (FunPtr (Ptr SDL_Cursor -> IO ()))
-> FunPtr (Ptr SDL_Cursor -> IO ())
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Cursor -> IO ()))
hs_bindgen_cccc019b7e8bc17b
foreign import ccall unsafe "hs_bindgen_fa1d352535cdb7a2"
hs_bindgen_fa1d352535cdb7a2_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_fa1d352535cdb7a2 :: IO (BG.FunPtr (IO BG.CBool))
hs_bindgen_fa1d352535cdb7a2 :: IO (FunPtr (IO CBool))
hs_bindgen_fa1d352535cdb7a2 =
(FunPtr Void -> FunPtr (IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (IO CBool))
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 CBool)
FFIType (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_fa1d352535cdb7a2_base
{-# NOINLINE sDL_ShowCursor #-}
sDL_ShowCursor :: BG.FunPtr (IO BG.CBool)
sDL_ShowCursor :: FunPtr (IO CBool)
sDL_ShowCursor =
IO (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CBool))
hs_bindgen_fa1d352535cdb7a2
foreign import ccall unsafe "hs_bindgen_d90c7f4cd007f484"
hs_bindgen_d90c7f4cd007f484_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_d90c7f4cd007f484 :: IO (BG.FunPtr (IO BG.CBool))
hs_bindgen_d90c7f4cd007f484 :: IO (FunPtr (IO CBool))
hs_bindgen_d90c7f4cd007f484 =
(FunPtr Void -> FunPtr (IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (IO CBool))
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 CBool)
FFIType (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_d90c7f4cd007f484_base
{-# NOINLINE sDL_HideCursor #-}
sDL_HideCursor :: BG.FunPtr (IO BG.CBool)
sDL_HideCursor :: FunPtr (IO CBool)
sDL_HideCursor =
IO (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CBool))
hs_bindgen_d90c7f4cd007f484
foreign import ccall unsafe "hs_bindgen_7ae5464b38889e15"
hs_bindgen_7ae5464b38889e15_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_7ae5464b38889e15 :: IO (BG.FunPtr (IO BG.CBool))
hs_bindgen_7ae5464b38889e15 :: IO (FunPtr (IO CBool))
hs_bindgen_7ae5464b38889e15 =
(FunPtr Void -> FunPtr (IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (IO CBool))
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 CBool)
FFIType (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_7ae5464b38889e15_base
{-# NOINLINE sDL_CursorVisible #-}
sDL_CursorVisible :: BG.FunPtr (IO BG.CBool)
sDL_CursorVisible :: FunPtr (IO CBool)
sDL_CursorVisible =
IO (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CBool))
hs_bindgen_7ae5464b38889e15