{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Rect.Safe (
SDL3.Sys.Bindgen.Rect.Safe.sDL_RectToFRect,
SDL3.Sys.Bindgen.Rect.Safe.sDL_PointInRect,
SDL3.Sys.Bindgen.Rect.Safe.sDL_RectEmpty,
SDL3.Sys.Bindgen.Rect.Safe.sDL_RectsEqual,
SDL3.Sys.Bindgen.Rect.Safe.sDL_HasRectIntersection,
SDL3.Sys.Bindgen.Rect.Safe.sDL_GetRectIntersection,
SDL3.Sys.Bindgen.Rect.Safe.sDL_GetRectUnion,
SDL3.Sys.Bindgen.Rect.Safe.sDL_GetRectEnclosingPoints,
SDL3.Sys.Bindgen.Rect.Safe.sDL_GetRectAndLineIntersection,
SDL3.Sys.Bindgen.Rect.Safe.sDL_PointInRectFloat,
SDL3.Sys.Bindgen.Rect.Safe.sDL_RectEmptyFloat,
SDL3.Sys.Bindgen.Rect.Safe.sDL_RectsEqualEpsilon,
SDL3.Sys.Bindgen.Rect.Safe.sDL_RectsEqualFloat,
SDL3.Sys.Bindgen.Rect.Safe.sDL_HasRectIntersectionFloat,
SDL3.Sys.Bindgen.Rect.Safe.sDL_GetRectIntersectionFloat,
SDL3.Sys.Bindgen.Rect.Safe.sDL_GetRectUnionFloat,
SDL3.Sys.Bindgen.Rect.Safe.sDL_GetRectEnclosingPointsFloat,
SDL3.Sys.Bindgen.Rect.Safe.sDL_GetRectAndLineIntersectionFloat,
)
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.Rect
$( 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_rect.h>"
, "void hs_bindgen_a9f520f11e166938 ("
, " SDL_Rect const *arg1,"
, " SDL_FRect *arg2"
, ")"
, "{"
, " (SDL_RectToFRect)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_7c0acf8d07c0c1dd ("
, " SDL_Point const *arg1,"
, " SDL_Rect const *arg2"
, ")"
, "{"
, " return (SDL_PointInRect)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_7298326168509737 ("
, " SDL_Rect const *arg1"
, ")"
, "{"
, " return (SDL_RectEmpty)(arg1);"
, "}"
, "_Bool hs_bindgen_d40e366324ea8c2f ("
, " SDL_Rect const *arg1,"
, " SDL_Rect const *arg2"
, ")"
, "{"
, " return (SDL_RectsEqual)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_b2eda76752d2c711 ("
, " SDL_Rect const *arg1,"
, " SDL_Rect const *arg2"
, ")"
, "{"
, " return (SDL_HasRectIntersection)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_808b8181f3c8f0c7 ("
, " SDL_Rect const *arg1,"
, " SDL_Rect const *arg2,"
, " SDL_Rect *arg3"
, ")"
, "{"
, " return (SDL_GetRectIntersection)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_44114d292c0406e2 ("
, " SDL_Rect const *arg1,"
, " SDL_Rect const *arg2,"
, " SDL_Rect *arg3"
, ")"
, "{"
, " return (SDL_GetRectUnion)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_b02c8a352859e75c ("
, " SDL_Point const *arg1,"
, " signed int arg2,"
, " SDL_Rect const *arg3,"
, " SDL_Rect *arg4"
, ")"
, "{"
, " return (SDL_GetRectEnclosingPoints)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_1319bb78d8d2e643 ("
, " SDL_Rect const *arg1,"
, " signed int *arg2,"
, " signed int *arg3,"
, " signed int *arg4,"
, " signed int *arg5"
, ")"
, "{"
, " return (SDL_GetRectAndLineIntersection)(arg1, arg2, arg3, arg4, arg5);"
, "}"
, "_Bool hs_bindgen_db89e1c0a4060064 ("
, " SDL_FPoint const *arg1,"
, " SDL_FRect const *arg2"
, ")"
, "{"
, " return (SDL_PointInRectFloat)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_cf687f22e3772d43 ("
, " SDL_FRect const *arg1"
, ")"
, "{"
, " return (SDL_RectEmptyFloat)(arg1);"
, "}"
, "_Bool hs_bindgen_ffb7b7aa2884662e ("
, " SDL_FRect const *arg1,"
, " SDL_FRect const *arg2,"
, " float arg3"
, ")"
, "{"
, " return (SDL_RectsEqualEpsilon)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_16841c4903715a15 ("
, " SDL_FRect const *arg1,"
, " SDL_FRect const *arg2"
, ")"
, "{"
, " return (SDL_RectsEqualFloat)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_4ccee9871e6b2122 ("
, " SDL_FRect const *arg1,"
, " SDL_FRect const *arg2"
, ")"
, "{"
, " return (SDL_HasRectIntersectionFloat)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_73c245953e392b8b ("
, " SDL_FRect const *arg1,"
, " SDL_FRect const *arg2,"
, " SDL_FRect *arg3"
, ")"
, "{"
, " return (SDL_GetRectIntersectionFloat)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_26df11f6f3486748 ("
, " SDL_FRect const *arg1,"
, " SDL_FRect const *arg2,"
, " SDL_FRect *arg3"
, ")"
, "{"
, " return (SDL_GetRectUnionFloat)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_c543abfe8b881179 ("
, " SDL_FPoint const *arg1,"
, " signed int arg2,"
, " SDL_FRect const *arg3,"
, " SDL_FRect *arg4"
, ")"
, "{"
, " return (SDL_GetRectEnclosingPointsFloat)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_274c31df17fcabf9 ("
, " SDL_FRect const *arg1,"
, " float *arg2,"
, " float *arg3,"
, " float *arg4,"
, " float *arg5"
, ")"
, "{"
, " return (SDL_GetRectAndLineIntersectionFloat)(arg1, arg2, arg3, arg4, arg5);"
, "}"
]
)
)
foreign import ccall safe "hs_bindgen_a9f520f11e166938"
hs_bindgen_a9f520f11e166938_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_a9f520f11e166938
:: PtrConst.PtrConst SDL_Rect
-> BG.Ptr SDL_FRect
-> IO ()
hs_bindgen_a9f520f11e166938 :: PtrConst SDL_Rect -> Ptr SDL_FRect -> IO ()
hs_bindgen_a9f520f11e166938 =
\PtrConst SDL_Rect
x0 ->
\Ptr SDL_FRect
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_a9f520f11e166938_base (PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x0) (Ptr SDL_FRect -> FFIType (Ptr SDL_FRect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_FRect
x1)
sDL_RectToFRect
:: PtrConst.PtrConst SDL_Rect
-> BG.Ptr SDL_FRect
-> IO ()
sDL_RectToFRect :: PtrConst SDL_Rect -> Ptr SDL_FRect -> IO ()
sDL_RectToFRect = PtrConst SDL_Rect -> Ptr SDL_FRect -> IO ()
hs_bindgen_a9f520f11e166938
foreign import ccall safe "hs_bindgen_7c0acf8d07c0c1dd"
hs_bindgen_7c0acf8d07c0c1dd_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_7c0acf8d07c0c1dd
:: PtrConst.PtrConst SDL_Point
-> PtrConst.PtrConst SDL_Rect
-> IO BG.CBool
hs_bindgen_7c0acf8d07c0c1dd :: PtrConst SDL_Point -> PtrConst SDL_Rect -> IO CBool
hs_bindgen_7c0acf8d07c0c1dd =
\PtrConst SDL_Point
x0 ->
\PtrConst SDL_Rect
x1 ->
(CBool -> CBool) -> IO 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 CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_7c0acf8d07c0c1dd_base (PtrConst SDL_Point -> FFIType (PtrConst SDL_Point)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Point
x0) (PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x1))
sDL_PointInRect
:: PtrConst.PtrConst SDL_Point
-> PtrConst.PtrConst SDL_Rect
-> IO BG.CBool
sDL_PointInRect :: PtrConst SDL_Point -> PtrConst SDL_Rect -> IO CBool
sDL_PointInRect = PtrConst SDL_Point -> PtrConst SDL_Rect -> IO CBool
hs_bindgen_7c0acf8d07c0c1dd
foreign import ccall safe "hs_bindgen_7298326168509737"
hs_bindgen_7298326168509737_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_7298326168509737
:: PtrConst.PtrConst SDL_Rect
-> IO BG.CBool
hs_bindgen_7298326168509737 :: PtrConst SDL_Rect -> IO CBool
hs_bindgen_7298326168509737 =
\PtrConst SDL_Rect
x0 ->
(CBool -> CBool) -> IO 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 CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CBool
hs_bindgen_7298326168509737_base (PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x0))
sDL_RectEmpty
:: PtrConst.PtrConst SDL_Rect
-> IO BG.CBool
sDL_RectEmpty :: PtrConst SDL_Rect -> IO CBool
sDL_RectEmpty = PtrConst SDL_Rect -> IO CBool
hs_bindgen_7298326168509737
foreign import ccall safe "hs_bindgen_d40e366324ea8c2f"
hs_bindgen_d40e366324ea8c2f_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_d40e366324ea8c2f
:: PtrConst.PtrConst SDL_Rect
-> PtrConst.PtrConst SDL_Rect
-> IO BG.CBool
hs_bindgen_d40e366324ea8c2f :: PtrConst SDL_Rect -> PtrConst SDL_Rect -> IO CBool
hs_bindgen_d40e366324ea8c2f =
\PtrConst SDL_Rect
x0 ->
\PtrConst SDL_Rect
x1 ->
(CBool -> CBool) -> IO 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 CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_d40e366324ea8c2f_base (PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x0) (PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x1))
sDL_RectsEqual
:: PtrConst.PtrConst SDL_Rect
-> PtrConst.PtrConst SDL_Rect
-> IO BG.CBool
sDL_RectsEqual :: PtrConst SDL_Rect -> PtrConst SDL_Rect -> IO CBool
sDL_RectsEqual = PtrConst SDL_Rect -> PtrConst SDL_Rect -> IO CBool
hs_bindgen_d40e366324ea8c2f
foreign import ccall safe "hs_bindgen_b2eda76752d2c711"
hs_bindgen_b2eda76752d2c711_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_b2eda76752d2c711
:: PtrConst.PtrConst SDL_Rect
-> PtrConst.PtrConst SDL_Rect
-> IO BG.CBool
hs_bindgen_b2eda76752d2c711 :: PtrConst SDL_Rect -> PtrConst SDL_Rect -> IO CBool
hs_bindgen_b2eda76752d2c711 =
\PtrConst SDL_Rect
x0 ->
\PtrConst SDL_Rect
x1 ->
(CBool -> CBool) -> IO 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 CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_b2eda76752d2c711_base (PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x0) (PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x1))
sDL_HasRectIntersection
:: PtrConst.PtrConst SDL_Rect
-> PtrConst.PtrConst SDL_Rect
-> IO BG.CBool
sDL_HasRectIntersection :: PtrConst SDL_Rect -> PtrConst SDL_Rect -> IO CBool
sDL_HasRectIntersection = PtrConst SDL_Rect -> PtrConst SDL_Rect -> IO CBool
hs_bindgen_b2eda76752d2c711
foreign import ccall safe "hs_bindgen_808b8181f3c8f0c7"
hs_bindgen_808b8181f3c8f0c7_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_808b8181f3c8f0c7
:: PtrConst.PtrConst SDL_Rect
-> PtrConst.PtrConst SDL_Rect
-> BG.Ptr SDL_Rect
-> IO BG.CBool
hs_bindgen_808b8181f3c8f0c7 :: PtrConst SDL_Rect -> PtrConst SDL_Rect -> Ptr SDL_Rect -> IO CBool
hs_bindgen_808b8181f3c8f0c7 =
\PtrConst SDL_Rect
x0 ->
\PtrConst SDL_Rect
x1 ->
\Ptr SDL_Rect
x2 ->
(CBool -> CBool) -> IO 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
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_808b8181f3c8f0c7_base (PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x0) (PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x1) (Ptr SDL_Rect -> FFIType (Ptr SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Rect
x2))
sDL_GetRectIntersection
:: PtrConst.PtrConst SDL_Rect
-> PtrConst.PtrConst SDL_Rect
-> BG.Ptr SDL_Rect
-> IO BG.CBool
sDL_GetRectIntersection :: PtrConst SDL_Rect -> PtrConst SDL_Rect -> Ptr SDL_Rect -> IO CBool
sDL_GetRectIntersection = PtrConst SDL_Rect -> PtrConst SDL_Rect -> Ptr SDL_Rect -> IO CBool
hs_bindgen_808b8181f3c8f0c7
foreign import ccall safe "hs_bindgen_44114d292c0406e2"
hs_bindgen_44114d292c0406e2_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_44114d292c0406e2
:: PtrConst.PtrConst SDL_Rect
-> PtrConst.PtrConst SDL_Rect
-> BG.Ptr SDL_Rect
-> IO BG.CBool
hs_bindgen_44114d292c0406e2 :: PtrConst SDL_Rect -> PtrConst SDL_Rect -> Ptr SDL_Rect -> IO CBool
hs_bindgen_44114d292c0406e2 =
\PtrConst SDL_Rect
x0 ->
\PtrConst SDL_Rect
x1 ->
\Ptr SDL_Rect
x2 ->
(CBool -> CBool) -> IO 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
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_44114d292c0406e2_base (PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x0) (PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x1) (Ptr SDL_Rect -> FFIType (Ptr SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Rect
x2))
sDL_GetRectUnion
:: PtrConst.PtrConst SDL_Rect
-> PtrConst.PtrConst SDL_Rect
-> BG.Ptr SDL_Rect
-> IO BG.CBool
sDL_GetRectUnion :: PtrConst SDL_Rect -> PtrConst SDL_Rect -> Ptr SDL_Rect -> IO CBool
sDL_GetRectUnion = PtrConst SDL_Rect -> PtrConst SDL_Rect -> Ptr SDL_Rect -> IO CBool
hs_bindgen_44114d292c0406e2
foreign import ccall safe "hs_bindgen_b02c8a352859e75c"
hs_bindgen_b02c8a352859e75c_base
:: BG.Ptr BG.Void
-> BG.CInt
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_b02c8a352859e75c
:: PtrConst.PtrConst SDL_Point
-> BG.CInt
-> PtrConst.PtrConst SDL_Rect
-> BG.Ptr SDL_Rect
-> IO BG.CBool
hs_bindgen_b02c8a352859e75c :: PtrConst SDL_Point
-> CInt -> PtrConst SDL_Rect -> Ptr SDL_Rect -> IO CBool
hs_bindgen_b02c8a352859e75c =
\PtrConst SDL_Point
x0 ->
\CInt
x1 ->
\PtrConst SDL_Rect
x2 ->
\Ptr SDL_Rect
x3 ->
(CBool -> CBool) -> IO 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
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void -> CInt -> Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_b02c8a352859e75c_base
(PtrConst SDL_Point -> FFIType (PtrConst SDL_Point)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Point
x0)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1)
(PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x2)
(Ptr SDL_Rect -> FFIType (Ptr SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Rect
x3)
)
sDL_GetRectEnclosingPoints
:: PtrConst.PtrConst SDL_Point
-> BG.CInt
-> PtrConst.PtrConst SDL_Rect
-> BG.Ptr SDL_Rect
-> IO BG.CBool
sDL_GetRectEnclosingPoints :: PtrConst SDL_Point
-> CInt -> PtrConst SDL_Rect -> Ptr SDL_Rect -> IO CBool
sDL_GetRectEnclosingPoints =
PtrConst SDL_Point
-> CInt -> PtrConst SDL_Rect -> Ptr SDL_Rect -> IO CBool
hs_bindgen_b02c8a352859e75c
foreign import ccall safe "hs_bindgen_1319bb78d8d2e643"
hs_bindgen_1319bb78d8d2e643_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_1319bb78d8d2e643
:: PtrConst.PtrConst SDL_Rect
-> BG.Ptr BG.CInt
-> BG.Ptr BG.CInt
-> BG.Ptr BG.CInt
-> BG.Ptr BG.CInt
-> IO BG.CBool
hs_bindgen_1319bb78d8d2e643 :: PtrConst SDL_Rect
-> Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr CInt -> IO CBool
hs_bindgen_1319bb78d8d2e643 =
\PtrConst SDL_Rect
x0 ->
\Ptr CInt
x1 ->
\Ptr CInt
x2 ->
\Ptr CInt
x3 ->
\Ptr CInt
x4 ->
(CBool -> CBool) -> IO 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
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void
-> Ptr Void -> Ptr Void -> Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_1319bb78d8d2e643_base
(PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x0)
(Ptr CInt -> FFIType (Ptr CInt)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CInt
x1)
(Ptr CInt -> FFIType (Ptr CInt)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CInt
x2)
(Ptr CInt -> FFIType (Ptr CInt)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CInt
x3)
(Ptr CInt -> FFIType (Ptr CInt)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CInt
x4)
)
sDL_GetRectAndLineIntersection
:: PtrConst.PtrConst SDL_Rect
-> BG.Ptr BG.CInt
-> BG.Ptr BG.CInt
-> BG.Ptr BG.CInt
-> BG.Ptr BG.CInt
-> IO BG.CBool
sDL_GetRectAndLineIntersection :: PtrConst SDL_Rect
-> Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr CInt -> IO CBool
sDL_GetRectAndLineIntersection =
PtrConst SDL_Rect
-> Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr CInt -> IO CBool
hs_bindgen_1319bb78d8d2e643
foreign import ccall safe "hs_bindgen_db89e1c0a4060064"
hs_bindgen_db89e1c0a4060064_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_db89e1c0a4060064
:: PtrConst.PtrConst SDL_FPoint
-> PtrConst.PtrConst SDL_FRect
-> IO BG.CBool
hs_bindgen_db89e1c0a4060064 :: PtrConst SDL_FPoint -> PtrConst SDL_FRect -> IO CBool
hs_bindgen_db89e1c0a4060064 =
\PtrConst SDL_FPoint
x0 ->
\PtrConst SDL_FRect
x1 ->
(CBool -> CBool) -> IO 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 CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_db89e1c0a4060064_base (PtrConst SDL_FPoint -> FFIType (PtrConst SDL_FPoint)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_FPoint
x0) (PtrConst SDL_FRect -> FFIType (PtrConst SDL_FRect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_FRect
x1))
sDL_PointInRectFloat
:: PtrConst.PtrConst SDL_FPoint
-> PtrConst.PtrConst SDL_FRect
-> IO BG.CBool
sDL_PointInRectFloat :: PtrConst SDL_FPoint -> PtrConst SDL_FRect -> IO CBool
sDL_PointInRectFloat = PtrConst SDL_FPoint -> PtrConst SDL_FRect -> IO CBool
hs_bindgen_db89e1c0a4060064
foreign import ccall safe "hs_bindgen_cf687f22e3772d43"
hs_bindgen_cf687f22e3772d43_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_cf687f22e3772d43
:: PtrConst.PtrConst SDL_FRect
-> IO BG.CBool
hs_bindgen_cf687f22e3772d43 :: PtrConst SDL_FRect -> IO CBool
hs_bindgen_cf687f22e3772d43 =
\PtrConst SDL_FRect
x0 ->
(CBool -> CBool) -> IO 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 CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CBool
hs_bindgen_cf687f22e3772d43_base (PtrConst SDL_FRect -> FFIType (PtrConst SDL_FRect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_FRect
x0))
sDL_RectEmptyFloat
:: PtrConst.PtrConst SDL_FRect
-> IO BG.CBool
sDL_RectEmptyFloat :: PtrConst SDL_FRect -> IO CBool
sDL_RectEmptyFloat = PtrConst SDL_FRect -> IO CBool
hs_bindgen_cf687f22e3772d43
foreign import ccall safe "hs_bindgen_ffb7b7aa2884662e"
hs_bindgen_ffb7b7aa2884662e_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_ffb7b7aa2884662e
:: PtrConst.PtrConst SDL_FRect
-> PtrConst.PtrConst SDL_FRect
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_ffb7b7aa2884662e :: PtrConst SDL_FRect -> PtrConst SDL_FRect -> CFloat -> IO CBool
hs_bindgen_ffb7b7aa2884662e =
\PtrConst SDL_FRect
x0 ->
\PtrConst SDL_FRect
x1 ->
\CFloat
x2 ->
(CBool -> CBool) -> IO 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
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> CFloat -> IO CBool
hs_bindgen_ffb7b7aa2884662e_base (PtrConst SDL_FRect -> FFIType (PtrConst SDL_FRect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_FRect
x0) (PtrConst SDL_FRect -> FFIType (PtrConst SDL_FRect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_FRect
x1) (CFloat -> FFIType CFloat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CFloat
x2))
sDL_RectsEqualEpsilon
:: PtrConst.PtrConst SDL_FRect
-> PtrConst.PtrConst SDL_FRect
-> BG.CFloat
-> IO BG.CBool
sDL_RectsEqualEpsilon :: PtrConst SDL_FRect -> PtrConst SDL_FRect -> CFloat -> IO CBool
sDL_RectsEqualEpsilon = PtrConst SDL_FRect -> PtrConst SDL_FRect -> CFloat -> IO CBool
hs_bindgen_ffb7b7aa2884662e
foreign import ccall safe "hs_bindgen_16841c4903715a15"
hs_bindgen_16841c4903715a15_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_16841c4903715a15
:: PtrConst.PtrConst SDL_FRect
-> PtrConst.PtrConst SDL_FRect
-> IO BG.CBool
hs_bindgen_16841c4903715a15 :: PtrConst SDL_FRect -> PtrConst SDL_FRect -> IO CBool
hs_bindgen_16841c4903715a15 =
\PtrConst SDL_FRect
x0 ->
\PtrConst SDL_FRect
x1 ->
(CBool -> CBool) -> IO 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 CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_16841c4903715a15_base (PtrConst SDL_FRect -> FFIType (PtrConst SDL_FRect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_FRect
x0) (PtrConst SDL_FRect -> FFIType (PtrConst SDL_FRect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_FRect
x1))
sDL_RectsEqualFloat
:: PtrConst.PtrConst SDL_FRect
-> PtrConst.PtrConst SDL_FRect
-> IO BG.CBool
sDL_RectsEqualFloat :: PtrConst SDL_FRect -> PtrConst SDL_FRect -> IO CBool
sDL_RectsEqualFloat = PtrConst SDL_FRect -> PtrConst SDL_FRect -> IO CBool
hs_bindgen_16841c4903715a15
foreign import ccall safe "hs_bindgen_4ccee9871e6b2122"
hs_bindgen_4ccee9871e6b2122_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_4ccee9871e6b2122
:: PtrConst.PtrConst SDL_FRect
-> PtrConst.PtrConst SDL_FRect
-> IO BG.CBool
hs_bindgen_4ccee9871e6b2122 :: PtrConst SDL_FRect -> PtrConst SDL_FRect -> IO CBool
hs_bindgen_4ccee9871e6b2122 =
\PtrConst SDL_FRect
x0 ->
\PtrConst SDL_FRect
x1 ->
(CBool -> CBool) -> IO 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 CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_4ccee9871e6b2122_base (PtrConst SDL_FRect -> FFIType (PtrConst SDL_FRect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_FRect
x0) (PtrConst SDL_FRect -> FFIType (PtrConst SDL_FRect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_FRect
x1))
sDL_HasRectIntersectionFloat
:: PtrConst.PtrConst SDL_FRect
-> PtrConst.PtrConst SDL_FRect
-> IO BG.CBool
sDL_HasRectIntersectionFloat :: PtrConst SDL_FRect -> PtrConst SDL_FRect -> IO CBool
sDL_HasRectIntersectionFloat =
PtrConst SDL_FRect -> PtrConst SDL_FRect -> IO CBool
hs_bindgen_4ccee9871e6b2122
foreign import ccall safe "hs_bindgen_73c245953e392b8b"
hs_bindgen_73c245953e392b8b_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_73c245953e392b8b
:: PtrConst.PtrConst SDL_FRect
-> PtrConst.PtrConst SDL_FRect
-> BG.Ptr SDL_FRect
-> IO BG.CBool
hs_bindgen_73c245953e392b8b :: PtrConst SDL_FRect
-> PtrConst SDL_FRect -> Ptr SDL_FRect -> IO CBool
hs_bindgen_73c245953e392b8b =
\PtrConst SDL_FRect
x0 ->
\PtrConst SDL_FRect
x1 ->
\Ptr SDL_FRect
x2 ->
(CBool -> CBool) -> IO 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
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_73c245953e392b8b_base (PtrConst SDL_FRect -> FFIType (PtrConst SDL_FRect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_FRect
x0) (PtrConst SDL_FRect -> FFIType (PtrConst SDL_FRect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_FRect
x1) (Ptr SDL_FRect -> FFIType (Ptr SDL_FRect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_FRect
x2))
sDL_GetRectIntersectionFloat
:: PtrConst.PtrConst SDL_FRect
-> PtrConst.PtrConst SDL_FRect
-> BG.Ptr SDL_FRect
-> IO BG.CBool
sDL_GetRectIntersectionFloat :: PtrConst SDL_FRect
-> PtrConst SDL_FRect -> Ptr SDL_FRect -> IO CBool
sDL_GetRectIntersectionFloat =
PtrConst SDL_FRect
-> PtrConst SDL_FRect -> Ptr SDL_FRect -> IO CBool
hs_bindgen_73c245953e392b8b
foreign import ccall safe "hs_bindgen_26df11f6f3486748"
hs_bindgen_26df11f6f3486748_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_26df11f6f3486748
:: PtrConst.PtrConst SDL_FRect
-> PtrConst.PtrConst SDL_FRect
-> BG.Ptr SDL_FRect
-> IO BG.CBool
hs_bindgen_26df11f6f3486748 :: PtrConst SDL_FRect
-> PtrConst SDL_FRect -> Ptr SDL_FRect -> IO CBool
hs_bindgen_26df11f6f3486748 =
\PtrConst SDL_FRect
x0 ->
\PtrConst SDL_FRect
x1 ->
\Ptr SDL_FRect
x2 ->
(CBool -> CBool) -> IO 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
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_26df11f6f3486748_base (PtrConst SDL_FRect -> FFIType (PtrConst SDL_FRect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_FRect
x0) (PtrConst SDL_FRect -> FFIType (PtrConst SDL_FRect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_FRect
x1) (Ptr SDL_FRect -> FFIType (Ptr SDL_FRect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_FRect
x2))
sDL_GetRectUnionFloat
:: PtrConst.PtrConst SDL_FRect
-> PtrConst.PtrConst SDL_FRect
-> BG.Ptr SDL_FRect
-> IO BG.CBool
sDL_GetRectUnionFloat :: PtrConst SDL_FRect
-> PtrConst SDL_FRect -> Ptr SDL_FRect -> IO CBool
sDL_GetRectUnionFloat = PtrConst SDL_FRect
-> PtrConst SDL_FRect -> Ptr SDL_FRect -> IO CBool
hs_bindgen_26df11f6f3486748
foreign import ccall safe "hs_bindgen_c543abfe8b881179"
hs_bindgen_c543abfe8b881179_base
:: BG.Ptr BG.Void
-> BG.CInt
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_c543abfe8b881179
:: PtrConst.PtrConst SDL_FPoint
-> BG.CInt
-> PtrConst.PtrConst SDL_FRect
-> BG.Ptr SDL_FRect
-> IO BG.CBool
hs_bindgen_c543abfe8b881179 :: PtrConst SDL_FPoint
-> CInt -> PtrConst SDL_FRect -> Ptr SDL_FRect -> IO CBool
hs_bindgen_c543abfe8b881179 =
\PtrConst SDL_FPoint
x0 ->
\CInt
x1 ->
\PtrConst SDL_FRect
x2 ->
\Ptr SDL_FRect
x3 ->
(CBool -> CBool) -> IO 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
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void -> CInt -> Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_c543abfe8b881179_base
(PtrConst SDL_FPoint -> FFIType (PtrConst SDL_FPoint)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_FPoint
x0)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1)
(PtrConst SDL_FRect -> FFIType (PtrConst SDL_FRect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_FRect
x2)
(Ptr SDL_FRect -> FFIType (Ptr SDL_FRect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_FRect
x3)
)
sDL_GetRectEnclosingPointsFloat
:: PtrConst.PtrConst SDL_FPoint
-> BG.CInt
-> PtrConst.PtrConst SDL_FRect
-> BG.Ptr SDL_FRect
-> IO BG.CBool
sDL_GetRectEnclosingPointsFloat :: PtrConst SDL_FPoint
-> CInt -> PtrConst SDL_FRect -> Ptr SDL_FRect -> IO CBool
sDL_GetRectEnclosingPointsFloat =
PtrConst SDL_FPoint
-> CInt -> PtrConst SDL_FRect -> Ptr SDL_FRect -> IO CBool
hs_bindgen_c543abfe8b881179
foreign import ccall safe "hs_bindgen_274c31df17fcabf9"
hs_bindgen_274c31df17fcabf9_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_274c31df17fcabf9
:: PtrConst.PtrConst SDL_FRect
-> BG.Ptr BG.CFloat
-> BG.Ptr BG.CFloat
-> BG.Ptr BG.CFloat
-> BG.Ptr BG.CFloat
-> IO BG.CBool
hs_bindgen_274c31df17fcabf9 :: PtrConst SDL_FRect
-> Ptr CFloat -> Ptr CFloat -> Ptr CFloat -> Ptr CFloat -> IO CBool
hs_bindgen_274c31df17fcabf9 =
\PtrConst SDL_FRect
x0 ->
\Ptr CFloat
x1 ->
\Ptr CFloat
x2 ->
\Ptr CFloat
x3 ->
\Ptr CFloat
x4 ->
(CBool -> CBool) -> IO 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
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void
-> Ptr Void -> Ptr Void -> Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_274c31df17fcabf9_base
(PtrConst SDL_FRect -> FFIType (PtrConst SDL_FRect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_FRect
x0)
(Ptr CFloat -> FFIType (Ptr CFloat)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CFloat
x1)
(Ptr CFloat -> FFIType (Ptr CFloat)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CFloat
x2)
(Ptr CFloat -> FFIType (Ptr CFloat)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CFloat
x3)
(Ptr CFloat -> FFIType (Ptr CFloat)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CFloat
x4)
)
sDL_GetRectAndLineIntersectionFloat
:: PtrConst.PtrConst SDL_FRect
-> BG.Ptr BG.CFloat
-> BG.Ptr BG.CFloat
-> BG.Ptr BG.CFloat
-> BG.Ptr BG.CFloat
-> IO BG.CBool
sDL_GetRectAndLineIntersectionFloat :: PtrConst SDL_FRect
-> Ptr CFloat -> Ptr CFloat -> Ptr CFloat -> Ptr CFloat -> IO CBool
sDL_GetRectAndLineIntersectionFloat =
PtrConst SDL_FRect
-> Ptr CFloat -> Ptr CFloat -> Ptr CFloat -> Ptr CFloat -> IO CBool
hs_bindgen_274c31df17fcabf9