{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Events.FunPtr (
SDL3.Sys.Bindgen.Events.FunPtr.sDL_PumpEvents,
SDL3.Sys.Bindgen.Events.FunPtr.sDL_PeepEvents,
SDL3.Sys.Bindgen.Events.FunPtr.sDL_HasEvent,
SDL3.Sys.Bindgen.Events.FunPtr.sDL_HasEvents,
SDL3.Sys.Bindgen.Events.FunPtr.sDL_FlushEvent,
SDL3.Sys.Bindgen.Events.FunPtr.sDL_FlushEvents,
SDL3.Sys.Bindgen.Events.FunPtr.sDL_PollEvent,
SDL3.Sys.Bindgen.Events.FunPtr.sDL_WaitEvent,
SDL3.Sys.Bindgen.Events.FunPtr.sDL_WaitEventTimeout,
SDL3.Sys.Bindgen.Events.FunPtr.sDL_PushEvent,
SDL3.Sys.Bindgen.Events.FunPtr.sDL_SetEventFilter,
SDL3.Sys.Bindgen.Events.FunPtr.sDL_GetEventFilter,
SDL3.Sys.Bindgen.Events.FunPtr.sDL_AddEventWatch,
SDL3.Sys.Bindgen.Events.FunPtr.sDL_RemoveEventWatch,
SDL3.Sys.Bindgen.Events.FunPtr.sDL_FilterEvents,
SDL3.Sys.Bindgen.Events.FunPtr.sDL_SetEventEnabled,
SDL3.Sys.Bindgen.Events.FunPtr.sDL_EventEnabled,
SDL3.Sys.Bindgen.Events.FunPtr.sDL_RegisterEvents,
SDL3.Sys.Bindgen.Events.FunPtr.sDL_GetWindowFromEvent,
SDL3.Sys.Bindgen.Events.FunPtr.sDL_GetEventDescription,
)
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.Events
import SDL3.Sys.Bindgen.Stdinc 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_events.h>"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Events_get_SDL_PumpEvents */"
, "__attribute__ ((const))"
, "void (*hs_bindgen_9917baac4ce08ba8 (void)) (void)"
, "{"
, " return &SDL_PumpEvents;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Events_get_SDL_PeepEvents */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_a86a903c6648c81b (void)) ("
, " SDL_Event *arg1,"
, " signed int arg2,"
, " SDL_EventAction arg3,"
, " Uint32 arg4,"
, " Uint32 arg5"
, ")"
, "{"
, " return &SDL_PeepEvents;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Events_get_SDL_HasEvent */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_7e16852183b91d19 (void)) ("
, " Uint32 arg1"
, ")"
, "{"
, " return &SDL_HasEvent;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Events_get_SDL_HasEvents */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_87deab19d987ab47 (void)) ("
, " Uint32 arg1,"
, " Uint32 arg2"
, ")"
, "{"
, " return &SDL_HasEvents;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Events_get_SDL_FlushEvent */"
, "__attribute__ ((const))"
, "void (*hs_bindgen_3d397e2de8f614cb (void)) ("
, " Uint32 arg1"
, ")"
, "{"
, " return &SDL_FlushEvent;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Events_get_SDL_FlushEvents */"
, "__attribute__ ((const))"
, "void (*hs_bindgen_7409f3af10ababea (void)) ("
, " Uint32 arg1,"
, " Uint32 arg2"
, ")"
, "{"
, " return &SDL_FlushEvents;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Events_get_SDL_PollEvent */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_e695618acb9426fb (void)) ("
, " SDL_Event *arg1"
, ")"
, "{"
, " return &SDL_PollEvent;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Events_get_SDL_WaitEvent */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_94029194304d5c31 (void)) ("
, " SDL_Event *arg1"
, ")"
, "{"
, " return &SDL_WaitEvent;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Events_get_SDL_WaitEventTimeout */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_7e78b9d3527f4720 (void)) ("
, " SDL_Event *arg1,"
, " Sint32 arg2"
, ")"
, "{"
, " return &SDL_WaitEventTimeout;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Events_get_SDL_PushEvent */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_949def362b6a6d49 (void)) ("
, " SDL_Event *arg1"
, ")"
, "{"
, " return &SDL_PushEvent;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Events_get_SDL_SetEventFilter */"
, "__attribute__ ((const))"
, "void (*hs_bindgen_b512227bb5014eea (void)) ("
, " SDL_EventFilter arg1,"
, " void *arg2"
, ")"
, "{"
, " return &SDL_SetEventFilter;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Events_get_SDL_GetEventFilter */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_55ed84f0612cc8ac (void)) ("
, " SDL_EventFilter *arg1,"
, " void **arg2"
, ")"
, "{"
, " return &SDL_GetEventFilter;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Events_get_SDL_AddEventWatch */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_a03e121760f6b6d3 (void)) ("
, " SDL_EventFilter arg1,"
, " void *arg2"
, ")"
, "{"
, " return &SDL_AddEventWatch;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Events_get_SDL_RemoveEventWatch */"
, "__attribute__ ((const))"
, "void (*hs_bindgen_25dfb37d4e519ab9 (void)) ("
, " SDL_EventFilter arg1,"
, " void *arg2"
, ")"
, "{"
, " return &SDL_RemoveEventWatch;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Events_get_SDL_FilterEvents */"
, "__attribute__ ((const))"
, "void (*hs_bindgen_53f4b12fdab2103a (void)) ("
, " SDL_EventFilter arg1,"
, " void *arg2"
, ")"
, "{"
, " return &SDL_FilterEvents;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Events_get_SDL_SetEventEnabled */"
, "__attribute__ ((const))"
, "void (*hs_bindgen_aa066d1126b2d52a (void)) ("
, " Uint32 arg1,"
, " _Bool arg2"
, ")"
, "{"
, " return &SDL_SetEventEnabled;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Events_get_SDL_EventEnabled */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_22ccd2bcfeb8819e (void)) ("
, " Uint32 arg1"
, ")"
, "{"
, " return &SDL_EventEnabled;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Events_get_SDL_RegisterEvents */"
, "__attribute__ ((const))"
, "Uint32 (*hs_bindgen_1bc1c2cf7c7f16d2 (void)) ("
, " signed int arg1"
, ")"
, "{"
, " return &SDL_RegisterEvents;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Events_get_SDL_GetWindowFromEvent */"
, "__attribute__ ((const))"
, "SDL_Window *(*hs_bindgen_9835b9a553ca5082 (void)) ("
, " SDL_Event const *arg1"
, ")"
, "{"
, " return &SDL_GetWindowFromEvent;"
, "}"
, "#include <SDL3/SDL_version.h>"
, "#include <SDL3/SDL_error.h>"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Events_get_SDL_GetEventDescription */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_1326a7cde53572c5 (void)) ("
, " SDL_Event const *arg1,"
, " char *arg2,"
, " signed int arg3"
, ")"
, "{"
, "#if SDL_VERSION_ATLEAST(3, 4, 0)"
, " return &SDL_GetEventDescription;"
, "#else"
, " SDL_SetError(\"SDL_GetEventDescription requires SDL >= 3.4.0\"); return 0;"
, "#endif"
, "}"
]
)
)
foreign import ccall unsafe "hs_bindgen_9917baac4ce08ba8"
hs_bindgen_9917baac4ce08ba8_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_9917baac4ce08ba8 :: IO (BG.FunPtr (IO ()))
hs_bindgen_9917baac4ce08ba8 :: IO (FunPtr (IO ()))
hs_bindgen_9917baac4ce08ba8 =
(FunPtr Void -> FunPtr (IO ()))
-> IO (FunPtr Void) -> IO (FunPtr (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 (IO ())
FFIType (FunPtr (IO ())) -> FunPtr (IO ())
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_9917baac4ce08ba8_base
{-# NOINLINE sDL_PumpEvents #-}
sDL_PumpEvents :: BG.FunPtr (IO ())
sDL_PumpEvents :: FunPtr (IO ())
sDL_PumpEvents =
IO (FunPtr (IO ())) -> FunPtr (IO ())
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO ()))
hs_bindgen_9917baac4ce08ba8
foreign import ccall unsafe "hs_bindgen_a86a903c6648c81b"
hs_bindgen_a86a903c6648c81b_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_a86a903c6648c81b
:: IO
( BG.FunPtr
( BG.Ptr SDL_Event
-> BG.CInt
-> SDL_EventAction
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CInt
)
)
hs_bindgen_a86a903c6648c81b :: IO
(FunPtr
(Ptr SDL_Event
-> CInt -> SDL_EventAction -> Uint32 -> Uint32 -> IO CInt))
hs_bindgen_a86a903c6648c81b =
(FunPtr Void
-> FunPtr
(Ptr SDL_Event
-> CInt -> SDL_EventAction -> Uint32 -> Uint32 -> IO CInt))
-> IO (FunPtr Void)
-> IO
(FunPtr
(Ptr SDL_Event
-> CInt -> SDL_EventAction -> Uint32 -> Uint32 -> 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_Event
-> CInt -> SDL_EventAction -> Uint32 -> Uint32 -> IO CInt)
FFIType
(FunPtr
(Ptr SDL_Event
-> CInt -> SDL_EventAction -> Uint32 -> Uint32 -> IO CInt))
-> FunPtr
(Ptr SDL_Event
-> CInt -> SDL_EventAction -> Uint32 -> Uint32 -> IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_a86a903c6648c81b_base
{-# NOINLINE sDL_PeepEvents #-}
sDL_PeepEvents
:: BG.FunPtr
( BG.Ptr SDL_Event
-> BG.CInt
-> SDL_EventAction
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CInt
)
sDL_PeepEvents :: FunPtr
(Ptr SDL_Event
-> CInt -> SDL_EventAction -> Uint32 -> Uint32 -> IO CInt)
sDL_PeepEvents =
IO
(FunPtr
(Ptr SDL_Event
-> CInt -> SDL_EventAction -> Uint32 -> Uint32 -> IO CInt))
-> FunPtr
(Ptr SDL_Event
-> CInt -> SDL_EventAction -> Uint32 -> Uint32 -> IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO
(FunPtr
(Ptr SDL_Event
-> CInt -> SDL_EventAction -> Uint32 -> Uint32 -> IO CInt))
hs_bindgen_a86a903c6648c81b
foreign import ccall unsafe "hs_bindgen_7e16852183b91d19"
hs_bindgen_7e16852183b91d19_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_7e16852183b91d19 :: IO (BG.FunPtr (SDL3.Sys.Bindgen.Stdinc.Uint32 -> IO BG.CBool))
hs_bindgen_7e16852183b91d19 :: IO (FunPtr (Uint32 -> IO CBool))
hs_bindgen_7e16852183b91d19 =
(FunPtr Void -> FunPtr (Uint32 -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (Uint32 -> 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 (Uint32 -> IO CBool)
FFIType (FunPtr (Uint32 -> IO CBool))
-> FunPtr (Uint32 -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_7e16852183b91d19_base
{-# NOINLINE sDL_HasEvent #-}
sDL_HasEvent :: BG.FunPtr (SDL3.Sys.Bindgen.Stdinc.Uint32 -> IO BG.CBool)
sDL_HasEvent :: FunPtr (Uint32 -> IO CBool)
sDL_HasEvent =
IO (FunPtr (Uint32 -> IO CBool)) -> FunPtr (Uint32 -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Uint32 -> IO CBool))
hs_bindgen_7e16852183b91d19
foreign import ccall unsafe "hs_bindgen_87deab19d987ab47"
hs_bindgen_87deab19d987ab47_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_87deab19d987ab47
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Stdinc.Uint32 -> SDL3.Sys.Bindgen.Stdinc.Uint32 -> IO BG.CBool))
hs_bindgen_87deab19d987ab47 :: IO (FunPtr (Uint32 -> Uint32 -> IO CBool))
hs_bindgen_87deab19d987ab47 =
(FunPtr Void -> FunPtr (Uint32 -> Uint32 -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (Uint32 -> Uint32 -> 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 (Uint32 -> Uint32 -> IO CBool)
FFIType (FunPtr (Uint32 -> Uint32 -> IO CBool))
-> FunPtr (Uint32 -> Uint32 -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_87deab19d987ab47_base
{-# NOINLINE sDL_HasEvents #-}
sDL_HasEvents
:: BG.FunPtr (SDL3.Sys.Bindgen.Stdinc.Uint32 -> SDL3.Sys.Bindgen.Stdinc.Uint32 -> IO BG.CBool)
sDL_HasEvents :: FunPtr (Uint32 -> Uint32 -> IO CBool)
sDL_HasEvents =
IO (FunPtr (Uint32 -> Uint32 -> IO CBool))
-> FunPtr (Uint32 -> Uint32 -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Uint32 -> Uint32 -> IO CBool))
hs_bindgen_87deab19d987ab47
foreign import ccall unsafe "hs_bindgen_3d397e2de8f614cb"
hs_bindgen_3d397e2de8f614cb_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_3d397e2de8f614cb :: IO (BG.FunPtr (SDL3.Sys.Bindgen.Stdinc.Uint32 -> IO ()))
hs_bindgen_3d397e2de8f614cb :: IO (FunPtr (Uint32 -> IO ()))
hs_bindgen_3d397e2de8f614cb =
(FunPtr Void -> FunPtr (Uint32 -> IO ()))
-> IO (FunPtr Void) -> IO (FunPtr (Uint32 -> 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 (Uint32 -> IO ())
FFIType (FunPtr (Uint32 -> IO ())) -> FunPtr (Uint32 -> IO ())
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_3d397e2de8f614cb_base
{-# NOINLINE sDL_FlushEvent #-}
sDL_FlushEvent :: BG.FunPtr (SDL3.Sys.Bindgen.Stdinc.Uint32 -> IO ())
sDL_FlushEvent :: FunPtr (Uint32 -> IO ())
sDL_FlushEvent =
IO (FunPtr (Uint32 -> IO ())) -> FunPtr (Uint32 -> IO ())
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Uint32 -> IO ()))
hs_bindgen_3d397e2de8f614cb
foreign import ccall unsafe "hs_bindgen_7409f3af10ababea"
hs_bindgen_7409f3af10ababea_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_7409f3af10ababea
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Stdinc.Uint32 -> SDL3.Sys.Bindgen.Stdinc.Uint32 -> IO ()))
hs_bindgen_7409f3af10ababea :: IO (FunPtr (Uint32 -> Uint32 -> IO ()))
hs_bindgen_7409f3af10ababea =
(FunPtr Void -> FunPtr (Uint32 -> Uint32 -> IO ()))
-> IO (FunPtr Void) -> IO (FunPtr (Uint32 -> Uint32 -> 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 (Uint32 -> Uint32 -> IO ())
FFIType (FunPtr (Uint32 -> Uint32 -> IO ()))
-> FunPtr (Uint32 -> Uint32 -> IO ())
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_7409f3af10ababea_base
{-# NOINLINE sDL_FlushEvents #-}
sDL_FlushEvents
:: BG.FunPtr (SDL3.Sys.Bindgen.Stdinc.Uint32 -> SDL3.Sys.Bindgen.Stdinc.Uint32 -> IO ())
sDL_FlushEvents :: FunPtr (Uint32 -> Uint32 -> IO ())
sDL_FlushEvents =
IO (FunPtr (Uint32 -> Uint32 -> IO ()))
-> FunPtr (Uint32 -> Uint32 -> IO ())
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Uint32 -> Uint32 -> IO ()))
hs_bindgen_7409f3af10ababea
foreign import ccall unsafe "hs_bindgen_e695618acb9426fb"
hs_bindgen_e695618acb9426fb_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_e695618acb9426fb :: IO (BG.FunPtr (BG.Ptr SDL_Event -> IO BG.CBool))
hs_bindgen_e695618acb9426fb :: IO (FunPtr (Ptr SDL_Event -> IO CBool))
hs_bindgen_e695618acb9426fb =
(FunPtr Void -> FunPtr (Ptr SDL_Event -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (Ptr SDL_Event -> 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_Event -> IO CBool)
FFIType (FunPtr (Ptr SDL_Event -> IO CBool))
-> FunPtr (Ptr SDL_Event -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_e695618acb9426fb_base
{-# NOINLINE sDL_PollEvent #-}
sDL_PollEvent :: BG.FunPtr (BG.Ptr SDL_Event -> IO BG.CBool)
sDL_PollEvent :: FunPtr (Ptr SDL_Event -> IO CBool)
sDL_PollEvent =
IO (FunPtr (Ptr SDL_Event -> IO CBool))
-> FunPtr (Ptr SDL_Event -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Event -> IO CBool))
hs_bindgen_e695618acb9426fb
foreign import ccall unsafe "hs_bindgen_94029194304d5c31"
hs_bindgen_94029194304d5c31_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_94029194304d5c31 :: IO (BG.FunPtr (BG.Ptr SDL_Event -> IO BG.CBool))
hs_bindgen_94029194304d5c31 :: IO (FunPtr (Ptr SDL_Event -> IO CBool))
hs_bindgen_94029194304d5c31 =
(FunPtr Void -> FunPtr (Ptr SDL_Event -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (Ptr SDL_Event -> 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_Event -> IO CBool)
FFIType (FunPtr (Ptr SDL_Event -> IO CBool))
-> FunPtr (Ptr SDL_Event -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_94029194304d5c31_base
{-# NOINLINE sDL_WaitEvent #-}
sDL_WaitEvent :: BG.FunPtr (BG.Ptr SDL_Event -> IO BG.CBool)
sDL_WaitEvent :: FunPtr (Ptr SDL_Event -> IO CBool)
sDL_WaitEvent =
IO (FunPtr (Ptr SDL_Event -> IO CBool))
-> FunPtr (Ptr SDL_Event -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Event -> IO CBool))
hs_bindgen_94029194304d5c31
foreign import ccall unsafe "hs_bindgen_7e78b9d3527f4720"
hs_bindgen_7e78b9d3527f4720_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_7e78b9d3527f4720
:: IO (BG.FunPtr (BG.Ptr SDL_Event -> SDL3.Sys.Bindgen.Stdinc.Sint32 -> IO BG.CBool))
hs_bindgen_7e78b9d3527f4720 :: IO (FunPtr (Ptr SDL_Event -> Sint32 -> IO CBool))
hs_bindgen_7e78b9d3527f4720 =
(FunPtr Void -> FunPtr (Ptr SDL_Event -> Sint32 -> IO CBool))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_Event -> Sint32 -> 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_Event -> Sint32 -> IO CBool)
FFIType (FunPtr (Ptr SDL_Event -> Sint32 -> IO CBool))
-> FunPtr (Ptr SDL_Event -> Sint32 -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_7e78b9d3527f4720_base
{-# NOINLINE sDL_WaitEventTimeout #-}
sDL_WaitEventTimeout
:: BG.FunPtr (BG.Ptr SDL_Event -> SDL3.Sys.Bindgen.Stdinc.Sint32 -> IO BG.CBool)
sDL_WaitEventTimeout :: FunPtr (Ptr SDL_Event -> Sint32 -> IO CBool)
sDL_WaitEventTimeout =
IO (FunPtr (Ptr SDL_Event -> Sint32 -> IO CBool))
-> FunPtr (Ptr SDL_Event -> Sint32 -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Event -> Sint32 -> IO CBool))
hs_bindgen_7e78b9d3527f4720
foreign import ccall unsafe "hs_bindgen_949def362b6a6d49"
hs_bindgen_949def362b6a6d49_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_949def362b6a6d49 :: IO (BG.FunPtr (BG.Ptr SDL_Event -> IO BG.CBool))
hs_bindgen_949def362b6a6d49 :: IO (FunPtr (Ptr SDL_Event -> IO CBool))
hs_bindgen_949def362b6a6d49 =
(FunPtr Void -> FunPtr (Ptr SDL_Event -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (Ptr SDL_Event -> 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_Event -> IO CBool)
FFIType (FunPtr (Ptr SDL_Event -> IO CBool))
-> FunPtr (Ptr SDL_Event -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_949def362b6a6d49_base
{-# NOINLINE sDL_PushEvent #-}
sDL_PushEvent :: BG.FunPtr (BG.Ptr SDL_Event -> IO BG.CBool)
sDL_PushEvent :: FunPtr (Ptr SDL_Event -> IO CBool)
sDL_PushEvent =
IO (FunPtr (Ptr SDL_Event -> IO CBool))
-> FunPtr (Ptr SDL_Event -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_Event -> IO CBool))
hs_bindgen_949def362b6a6d49
foreign import ccall unsafe "hs_bindgen_b512227bb5014eea"
hs_bindgen_b512227bb5014eea_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_b512227bb5014eea :: IO (BG.FunPtr (SDL_EventFilter -> BG.Ptr BG.Void -> IO ()))
hs_bindgen_b512227bb5014eea :: IO (FunPtr (SDL_EventFilter -> Ptr Void -> IO ()))
hs_bindgen_b512227bb5014eea =
(FunPtr Void -> FunPtr (SDL_EventFilter -> Ptr Void -> IO ()))
-> IO (FunPtr Void)
-> IO (FunPtr (SDL_EventFilter -> Ptr Void -> 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 (SDL_EventFilter -> Ptr Void -> IO ())
FFIType (FunPtr (SDL_EventFilter -> Ptr Void -> IO ()))
-> FunPtr (SDL_EventFilter -> Ptr Void -> IO ())
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_b512227bb5014eea_base
{-# NOINLINE sDL_SetEventFilter #-}
sDL_SetEventFilter :: BG.FunPtr (SDL_EventFilter -> BG.Ptr BG.Void -> IO ())
sDL_SetEventFilter :: FunPtr (SDL_EventFilter -> Ptr Void -> IO ())
sDL_SetEventFilter =
IO (FunPtr (SDL_EventFilter -> Ptr Void -> IO ()))
-> FunPtr (SDL_EventFilter -> Ptr Void -> IO ())
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_EventFilter -> Ptr Void -> IO ()))
hs_bindgen_b512227bb5014eea
foreign import ccall unsafe "hs_bindgen_55ed84f0612cc8ac"
hs_bindgen_55ed84f0612cc8ac_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_55ed84f0612cc8ac
:: IO (BG.FunPtr (BG.Ptr SDL_EventFilter -> BG.Ptr (BG.Ptr BG.Void) -> IO BG.CBool))
hs_bindgen_55ed84f0612cc8ac :: IO (FunPtr (Ptr SDL_EventFilter -> Ptr (Ptr Void) -> IO CBool))
hs_bindgen_55ed84f0612cc8ac =
(FunPtr Void
-> FunPtr (Ptr SDL_EventFilter -> Ptr (Ptr Void) -> IO CBool))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr SDL_EventFilter -> Ptr (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 (Ptr SDL_EventFilter -> Ptr (Ptr Void) -> IO CBool)
FFIType
(FunPtr (Ptr SDL_EventFilter -> Ptr (Ptr Void) -> IO CBool))
-> FunPtr (Ptr SDL_EventFilter -> Ptr (Ptr Void) -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_55ed84f0612cc8ac_base
{-# NOINLINE sDL_GetEventFilter #-}
sDL_GetEventFilter :: BG.FunPtr (BG.Ptr SDL_EventFilter -> BG.Ptr (BG.Ptr BG.Void) -> IO BG.CBool)
sDL_GetEventFilter :: FunPtr (Ptr SDL_EventFilter -> Ptr (Ptr Void) -> IO CBool)
sDL_GetEventFilter =
IO (FunPtr (Ptr SDL_EventFilter -> Ptr (Ptr Void) -> IO CBool))
-> FunPtr (Ptr SDL_EventFilter -> Ptr (Ptr Void) -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr SDL_EventFilter -> Ptr (Ptr Void) -> IO CBool))
hs_bindgen_55ed84f0612cc8ac
foreign import ccall unsafe "hs_bindgen_a03e121760f6b6d3"
hs_bindgen_a03e121760f6b6d3_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_a03e121760f6b6d3 :: IO (BG.FunPtr (SDL_EventFilter -> BG.Ptr BG.Void -> IO BG.CBool))
hs_bindgen_a03e121760f6b6d3 :: IO (FunPtr (SDL_EventFilter -> Ptr Void -> IO CBool))
hs_bindgen_a03e121760f6b6d3 =
(FunPtr Void -> FunPtr (SDL_EventFilter -> Ptr Void -> IO CBool))
-> IO (FunPtr Void)
-> IO (FunPtr (SDL_EventFilter -> 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_EventFilter -> Ptr Void -> IO CBool)
FFIType (FunPtr (SDL_EventFilter -> Ptr Void -> IO CBool))
-> FunPtr (SDL_EventFilter -> Ptr Void -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_a03e121760f6b6d3_base
{-# NOINLINE sDL_AddEventWatch #-}
sDL_AddEventWatch :: BG.FunPtr (SDL_EventFilter -> BG.Ptr BG.Void -> IO BG.CBool)
sDL_AddEventWatch :: FunPtr (SDL_EventFilter -> Ptr Void -> IO CBool)
sDL_AddEventWatch =
IO (FunPtr (SDL_EventFilter -> Ptr Void -> IO CBool))
-> FunPtr (SDL_EventFilter -> Ptr Void -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_EventFilter -> Ptr Void -> IO CBool))
hs_bindgen_a03e121760f6b6d3
foreign import ccall unsafe "hs_bindgen_25dfb37d4e519ab9"
hs_bindgen_25dfb37d4e519ab9_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_25dfb37d4e519ab9 :: IO (BG.FunPtr (SDL_EventFilter -> BG.Ptr BG.Void -> IO ()))
hs_bindgen_25dfb37d4e519ab9 :: IO (FunPtr (SDL_EventFilter -> Ptr Void -> IO ()))
hs_bindgen_25dfb37d4e519ab9 =
(FunPtr Void -> FunPtr (SDL_EventFilter -> Ptr Void -> IO ()))
-> IO (FunPtr Void)
-> IO (FunPtr (SDL_EventFilter -> Ptr Void -> 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 (SDL_EventFilter -> Ptr Void -> IO ())
FFIType (FunPtr (SDL_EventFilter -> Ptr Void -> IO ()))
-> FunPtr (SDL_EventFilter -> Ptr Void -> IO ())
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_25dfb37d4e519ab9_base
{-# NOINLINE sDL_RemoveEventWatch #-}
sDL_RemoveEventWatch :: BG.FunPtr (SDL_EventFilter -> BG.Ptr BG.Void -> IO ())
sDL_RemoveEventWatch :: FunPtr (SDL_EventFilter -> Ptr Void -> IO ())
sDL_RemoveEventWatch =
IO (FunPtr (SDL_EventFilter -> Ptr Void -> IO ()))
-> FunPtr (SDL_EventFilter -> Ptr Void -> IO ())
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_EventFilter -> Ptr Void -> IO ()))
hs_bindgen_25dfb37d4e519ab9
foreign import ccall unsafe "hs_bindgen_53f4b12fdab2103a"
hs_bindgen_53f4b12fdab2103a_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_53f4b12fdab2103a :: IO (BG.FunPtr (SDL_EventFilter -> BG.Ptr BG.Void -> IO ()))
hs_bindgen_53f4b12fdab2103a :: IO (FunPtr (SDL_EventFilter -> Ptr Void -> IO ()))
hs_bindgen_53f4b12fdab2103a =
(FunPtr Void -> FunPtr (SDL_EventFilter -> Ptr Void -> IO ()))
-> IO (FunPtr Void)
-> IO (FunPtr (SDL_EventFilter -> Ptr Void -> 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 (SDL_EventFilter -> Ptr Void -> IO ())
FFIType (FunPtr (SDL_EventFilter -> Ptr Void -> IO ()))
-> FunPtr (SDL_EventFilter -> Ptr Void -> IO ())
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_53f4b12fdab2103a_base
{-# NOINLINE sDL_FilterEvents #-}
sDL_FilterEvents :: BG.FunPtr (SDL_EventFilter -> BG.Ptr BG.Void -> IO ())
sDL_FilterEvents :: FunPtr (SDL_EventFilter -> Ptr Void -> IO ())
sDL_FilterEvents =
IO (FunPtr (SDL_EventFilter -> Ptr Void -> IO ()))
-> FunPtr (SDL_EventFilter -> Ptr Void -> IO ())
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_EventFilter -> Ptr Void -> IO ()))
hs_bindgen_53f4b12fdab2103a
foreign import ccall unsafe "hs_bindgen_aa066d1126b2d52a"
hs_bindgen_aa066d1126b2d52a_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_aa066d1126b2d52a :: IO (BG.FunPtr (SDL3.Sys.Bindgen.Stdinc.Uint32 -> BG.CBool -> IO ()))
hs_bindgen_aa066d1126b2d52a :: IO (FunPtr (Uint32 -> CBool -> IO ()))
hs_bindgen_aa066d1126b2d52a =
(FunPtr Void -> FunPtr (Uint32 -> CBool -> IO ()))
-> IO (FunPtr Void) -> IO (FunPtr (Uint32 -> 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 (Uint32 -> CBool -> IO ())
FFIType (FunPtr (Uint32 -> CBool -> IO ()))
-> FunPtr (Uint32 -> CBool -> IO ())
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_aa066d1126b2d52a_base
{-# NOINLINE sDL_SetEventEnabled #-}
sDL_SetEventEnabled :: BG.FunPtr (SDL3.Sys.Bindgen.Stdinc.Uint32 -> BG.CBool -> IO ())
sDL_SetEventEnabled :: FunPtr (Uint32 -> CBool -> IO ())
sDL_SetEventEnabled =
IO (FunPtr (Uint32 -> CBool -> IO ()))
-> FunPtr (Uint32 -> CBool -> IO ())
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Uint32 -> CBool -> IO ()))
hs_bindgen_aa066d1126b2d52a
foreign import ccall unsafe "hs_bindgen_22ccd2bcfeb8819e"
hs_bindgen_22ccd2bcfeb8819e_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_22ccd2bcfeb8819e :: IO (BG.FunPtr (SDL3.Sys.Bindgen.Stdinc.Uint32 -> IO BG.CBool))
hs_bindgen_22ccd2bcfeb8819e :: IO (FunPtr (Uint32 -> IO CBool))
hs_bindgen_22ccd2bcfeb8819e =
(FunPtr Void -> FunPtr (Uint32 -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (Uint32 -> 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 (Uint32 -> IO CBool)
FFIType (FunPtr (Uint32 -> IO CBool))
-> FunPtr (Uint32 -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_22ccd2bcfeb8819e_base
{-# NOINLINE sDL_EventEnabled #-}
sDL_EventEnabled :: BG.FunPtr (SDL3.Sys.Bindgen.Stdinc.Uint32 -> IO BG.CBool)
sDL_EventEnabled :: FunPtr (Uint32 -> IO CBool)
sDL_EventEnabled =
IO (FunPtr (Uint32 -> IO CBool)) -> FunPtr (Uint32 -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Uint32 -> IO CBool))
hs_bindgen_22ccd2bcfeb8819e
foreign import ccall unsafe "hs_bindgen_1bc1c2cf7c7f16d2"
hs_bindgen_1bc1c2cf7c7f16d2_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_1bc1c2cf7c7f16d2 :: IO (BG.FunPtr (BG.CInt -> IO SDL3.Sys.Bindgen.Stdinc.Uint32))
hs_bindgen_1bc1c2cf7c7f16d2 :: IO (FunPtr (CInt -> IO Uint32))
hs_bindgen_1bc1c2cf7c7f16d2 =
(FunPtr Void -> FunPtr (CInt -> IO Uint32))
-> IO (FunPtr Void) -> IO (FunPtr (CInt -> 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 (CInt -> IO Uint32)
FFIType (FunPtr (CInt -> IO Uint32)) -> FunPtr (CInt -> IO Uint32)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_1bc1c2cf7c7f16d2_base
{-# NOINLINE sDL_RegisterEvents #-}
sDL_RegisterEvents :: BG.FunPtr (BG.CInt -> IO SDL3.Sys.Bindgen.Stdinc.Uint32)
sDL_RegisterEvents :: FunPtr (CInt -> IO Uint32)
sDL_RegisterEvents =
IO (FunPtr (CInt -> IO Uint32)) -> FunPtr (CInt -> IO Uint32)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (CInt -> IO Uint32))
hs_bindgen_1bc1c2cf7c7f16d2
foreign import ccall unsafe "hs_bindgen_9835b9a553ca5082"
hs_bindgen_9835b9a553ca5082_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_9835b9a553ca5082
:: IO (BG.FunPtr (PtrConst.PtrConst SDL_Event -> IO (BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window)))
hs_bindgen_9835b9a553ca5082 :: IO (FunPtr (PtrConst SDL_Event -> IO (Ptr SDL_Window)))
hs_bindgen_9835b9a553ca5082 =
(FunPtr Void -> FunPtr (PtrConst SDL_Event -> IO (Ptr SDL_Window)))
-> IO (FunPtr Void)
-> IO (FunPtr (PtrConst SDL_Event -> 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 (PtrConst SDL_Event -> IO (Ptr SDL_Window))
FFIType (FunPtr (PtrConst SDL_Event -> IO (Ptr SDL_Window)))
-> FunPtr (PtrConst SDL_Event -> IO (Ptr SDL_Window))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_9835b9a553ca5082_base
{-# NOINLINE sDL_GetWindowFromEvent #-}
sDL_GetWindowFromEvent
:: BG.FunPtr (PtrConst.PtrConst SDL_Event -> IO (BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window))
sDL_GetWindowFromEvent :: FunPtr (PtrConst SDL_Event -> IO (Ptr SDL_Window))
sDL_GetWindowFromEvent =
IO (FunPtr (PtrConst SDL_Event -> IO (Ptr SDL_Window)))
-> FunPtr (PtrConst SDL_Event -> IO (Ptr SDL_Window))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (PtrConst SDL_Event -> IO (Ptr SDL_Window)))
hs_bindgen_9835b9a553ca5082
foreign import ccall unsafe "hs_bindgen_1326a7cde53572c5"
hs_bindgen_1326a7cde53572c5_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_1326a7cde53572c5
:: IO (BG.FunPtr (PtrConst.PtrConst SDL_Event -> BG.Ptr BG.CChar -> BG.CInt -> IO BG.CInt))
hs_bindgen_1326a7cde53572c5 :: IO (FunPtr (PtrConst SDL_Event -> Ptr CChar -> CInt -> IO CInt))
hs_bindgen_1326a7cde53572c5 =
(FunPtr Void
-> FunPtr (PtrConst SDL_Event -> Ptr CChar -> CInt -> IO CInt))
-> IO (FunPtr Void)
-> IO (FunPtr (PtrConst SDL_Event -> Ptr CChar -> 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 (PtrConst SDL_Event -> Ptr CChar -> CInt -> IO CInt)
FFIType
(FunPtr (PtrConst SDL_Event -> Ptr CChar -> CInt -> IO CInt))
-> FunPtr (PtrConst SDL_Event -> Ptr CChar -> CInt -> IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_1326a7cde53572c5_base
{-# NOINLINE sDL_GetEventDescription #-}
sDL_GetEventDescription
:: BG.FunPtr (PtrConst.PtrConst SDL_Event -> BG.Ptr BG.CChar -> BG.CInt -> IO BG.CInt)
sDL_GetEventDescription :: FunPtr (PtrConst SDL_Event -> Ptr CChar -> CInt -> IO CInt)
sDL_GetEventDescription =
IO (FunPtr (PtrConst SDL_Event -> Ptr CChar -> CInt -> IO CInt))
-> FunPtr (PtrConst SDL_Event -> Ptr CChar -> CInt -> IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (PtrConst SDL_Event -> Ptr CChar -> CInt -> IO CInt))
hs_bindgen_1326a7cde53572c5