{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Rect.Unsafe (
SDL3.Sys.Bindgen.Rect.Unsafe.sDL_RectToFRect,
SDL3.Sys.Bindgen.Rect.Unsafe.sDL_PointInRect,
SDL3.Sys.Bindgen.Rect.Unsafe.sDL_RectEmpty,
SDL3.Sys.Bindgen.Rect.Unsafe.sDL_RectsEqual,
SDL3.Sys.Bindgen.Rect.Unsafe.sDL_HasRectIntersection,
SDL3.Sys.Bindgen.Rect.Unsafe.sDL_GetRectIntersection,
SDL3.Sys.Bindgen.Rect.Unsafe.sDL_GetRectUnion,
SDL3.Sys.Bindgen.Rect.Unsafe.sDL_GetRectEnclosingPoints,
SDL3.Sys.Bindgen.Rect.Unsafe.sDL_GetRectAndLineIntersection,
SDL3.Sys.Bindgen.Rect.Unsafe.sDL_PointInRectFloat,
SDL3.Sys.Bindgen.Rect.Unsafe.sDL_RectEmptyFloat,
SDL3.Sys.Bindgen.Rect.Unsafe.sDL_RectsEqualEpsilon,
SDL3.Sys.Bindgen.Rect.Unsafe.sDL_RectsEqualFloat,
SDL3.Sys.Bindgen.Rect.Unsafe.sDL_HasRectIntersectionFloat,
SDL3.Sys.Bindgen.Rect.Unsafe.sDL_GetRectIntersectionFloat,
SDL3.Sys.Bindgen.Rect.Unsafe.sDL_GetRectUnionFloat,
SDL3.Sys.Bindgen.Rect.Unsafe.sDL_GetRectEnclosingPointsFloat,
SDL3.Sys.Bindgen.Rect.Unsafe.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_8e106b8f8a5cc9ba ("
, " SDL_Rect const *arg1,"
, " SDL_FRect *arg2"
, ")"
, "{"
, " (SDL_RectToFRect)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_a98cca13647f2c65 ("
, " SDL_Point const *arg1,"
, " SDL_Rect const *arg2"
, ")"
, "{"
, " return (SDL_PointInRect)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_d87d44547ed7b9c1 ("
, " SDL_Rect const *arg1"
, ")"
, "{"
, " return (SDL_RectEmpty)(arg1);"
, "}"
, "_Bool hs_bindgen_27b455f8a1132dc3 ("
, " SDL_Rect const *arg1,"
, " SDL_Rect const *arg2"
, ")"
, "{"
, " return (SDL_RectsEqual)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_c41afd18a3fb5214 ("
, " SDL_Rect const *arg1,"
, " SDL_Rect const *arg2"
, ")"
, "{"
, " return (SDL_HasRectIntersection)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_a35618c178c541bb ("
, " SDL_Rect const *arg1,"
, " SDL_Rect const *arg2,"
, " SDL_Rect *arg3"
, ")"
, "{"
, " return (SDL_GetRectIntersection)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_fb794a6b5c1e9203 ("
, " SDL_Rect const *arg1,"
, " SDL_Rect const *arg2,"
, " SDL_Rect *arg3"
, ")"
, "{"
, " return (SDL_GetRectUnion)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_055ba0fc6b09318a ("
, " SDL_Point const *arg1,"
, " signed int arg2,"
, " SDL_Rect const *arg3,"
, " SDL_Rect *arg4"
, ")"
, "{"
, " return (SDL_GetRectEnclosingPoints)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_959a5cb13535d34f ("
, " 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_d0a7b5fa03d29582 ("
, " SDL_FPoint const *arg1,"
, " SDL_FRect const *arg2"
, ")"
, "{"
, " return (SDL_PointInRectFloat)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_9c321e237166b364 ("
, " SDL_FRect const *arg1"
, ")"
, "{"
, " return (SDL_RectEmptyFloat)(arg1);"
, "}"
, "_Bool hs_bindgen_f80b1d55f3fd3ff0 ("
, " SDL_FRect const *arg1,"
, " SDL_FRect const *arg2,"
, " float arg3"
, ")"
, "{"
, " return (SDL_RectsEqualEpsilon)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_ae8860672929d976 ("
, " SDL_FRect const *arg1,"
, " SDL_FRect const *arg2"
, ")"
, "{"
, " return (SDL_RectsEqualFloat)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_7789d3ed056d9e69 ("
, " SDL_FRect const *arg1,"
, " SDL_FRect const *arg2"
, ")"
, "{"
, " return (SDL_HasRectIntersectionFloat)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_b201a8ca90bb5827 ("
, " SDL_FRect const *arg1,"
, " SDL_FRect const *arg2,"
, " SDL_FRect *arg3"
, ")"
, "{"
, " return (SDL_GetRectIntersectionFloat)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_acf40b03660f89c9 ("
, " SDL_FRect const *arg1,"
, " SDL_FRect const *arg2,"
, " SDL_FRect *arg3"
, ")"
, "{"
, " return (SDL_GetRectUnionFloat)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_7e56e880d6fe6038 ("
, " SDL_FPoint const *arg1,"
, " signed int arg2,"
, " SDL_FRect const *arg3,"
, " SDL_FRect *arg4"
, ")"
, "{"
, " return (SDL_GetRectEnclosingPointsFloat)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_eea028e78b1eead0 ("
, " SDL_FRect const *arg1,"
, " float *arg2,"
, " float *arg3,"
, " float *arg4,"
, " float *arg5"
, ")"
, "{"
, " return (SDL_GetRectAndLineIntersectionFloat)(arg1, arg2, arg3, arg4, arg5);"
, "}"
]
)
)
foreign import ccall unsafe "hs_bindgen_8e106b8f8a5cc9ba"
hs_bindgen_8e106b8f8a5cc9ba_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_8e106b8f8a5cc9ba
:: PtrConst.PtrConst SDL_Rect
-> BG.Ptr SDL_FRect
-> IO ()
hs_bindgen_8e106b8f8a5cc9ba :: PtrConst SDL_Rect -> Ptr SDL_FRect -> IO ()
hs_bindgen_8e106b8f8a5cc9ba =
\PtrConst SDL_Rect
x0 ->
\Ptr SDL_FRect
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_8e106b8f8a5cc9ba_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_8e106b8f8a5cc9ba
foreign import ccall unsafe "hs_bindgen_a98cca13647f2c65"
hs_bindgen_a98cca13647f2c65_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_a98cca13647f2c65
:: PtrConst.PtrConst SDL_Point
-> PtrConst.PtrConst SDL_Rect
-> IO BG.CBool
hs_bindgen_a98cca13647f2c65 :: PtrConst SDL_Point -> PtrConst SDL_Rect -> IO CBool
hs_bindgen_a98cca13647f2c65 =
\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_a98cca13647f2c65_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_a98cca13647f2c65
foreign import ccall unsafe "hs_bindgen_d87d44547ed7b9c1"
hs_bindgen_d87d44547ed7b9c1_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_d87d44547ed7b9c1
:: PtrConst.PtrConst SDL_Rect
-> IO BG.CBool
hs_bindgen_d87d44547ed7b9c1 :: PtrConst SDL_Rect -> IO CBool
hs_bindgen_d87d44547ed7b9c1 =
\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_d87d44547ed7b9c1_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_d87d44547ed7b9c1
foreign import ccall unsafe "hs_bindgen_27b455f8a1132dc3"
hs_bindgen_27b455f8a1132dc3_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_27b455f8a1132dc3
:: PtrConst.PtrConst SDL_Rect
-> PtrConst.PtrConst SDL_Rect
-> IO BG.CBool
hs_bindgen_27b455f8a1132dc3 :: PtrConst SDL_Rect -> PtrConst SDL_Rect -> IO CBool
hs_bindgen_27b455f8a1132dc3 =
\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_27b455f8a1132dc3_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_27b455f8a1132dc3
foreign import ccall unsafe "hs_bindgen_c41afd18a3fb5214"
hs_bindgen_c41afd18a3fb5214_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_c41afd18a3fb5214
:: PtrConst.PtrConst SDL_Rect
-> PtrConst.PtrConst SDL_Rect
-> IO BG.CBool
hs_bindgen_c41afd18a3fb5214 :: PtrConst SDL_Rect -> PtrConst SDL_Rect -> IO CBool
hs_bindgen_c41afd18a3fb5214 =
\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_c41afd18a3fb5214_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_c41afd18a3fb5214
foreign import ccall unsafe "hs_bindgen_a35618c178c541bb"
hs_bindgen_a35618c178c541bb_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_a35618c178c541bb
:: PtrConst.PtrConst SDL_Rect
-> PtrConst.PtrConst SDL_Rect
-> BG.Ptr SDL_Rect
-> IO BG.CBool
hs_bindgen_a35618c178c541bb :: PtrConst SDL_Rect -> PtrConst SDL_Rect -> Ptr SDL_Rect -> IO CBool
hs_bindgen_a35618c178c541bb =
\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_a35618c178c541bb_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_a35618c178c541bb
foreign import ccall unsafe "hs_bindgen_fb794a6b5c1e9203"
hs_bindgen_fb794a6b5c1e9203_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_fb794a6b5c1e9203
:: PtrConst.PtrConst SDL_Rect
-> PtrConst.PtrConst SDL_Rect
-> BG.Ptr SDL_Rect
-> IO BG.CBool
hs_bindgen_fb794a6b5c1e9203 :: PtrConst SDL_Rect -> PtrConst SDL_Rect -> Ptr SDL_Rect -> IO CBool
hs_bindgen_fb794a6b5c1e9203 =
\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_fb794a6b5c1e9203_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_fb794a6b5c1e9203
foreign import ccall unsafe "hs_bindgen_055ba0fc6b09318a"
hs_bindgen_055ba0fc6b09318a_base
:: BG.Ptr BG.Void
-> BG.CInt
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_055ba0fc6b09318a
:: PtrConst.PtrConst SDL_Point
-> BG.CInt
-> PtrConst.PtrConst SDL_Rect
-> BG.Ptr SDL_Rect
-> IO BG.CBool
hs_bindgen_055ba0fc6b09318a :: PtrConst SDL_Point
-> CInt -> PtrConst SDL_Rect -> Ptr SDL_Rect -> IO CBool
hs_bindgen_055ba0fc6b09318a =
\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_055ba0fc6b09318a_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_055ba0fc6b09318a
foreign import ccall unsafe "hs_bindgen_959a5cb13535d34f"
hs_bindgen_959a5cb13535d34f_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_959a5cb13535d34f
:: 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_959a5cb13535d34f :: PtrConst SDL_Rect
-> Ptr CInt -> Ptr CInt -> Ptr CInt -> Ptr CInt -> IO CBool
hs_bindgen_959a5cb13535d34f =
\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_959a5cb13535d34f_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_959a5cb13535d34f
foreign import ccall unsafe "hs_bindgen_d0a7b5fa03d29582"
hs_bindgen_d0a7b5fa03d29582_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_d0a7b5fa03d29582
:: PtrConst.PtrConst SDL_FPoint
-> PtrConst.PtrConst SDL_FRect
-> IO BG.CBool
hs_bindgen_d0a7b5fa03d29582 :: PtrConst SDL_FPoint -> PtrConst SDL_FRect -> IO CBool
hs_bindgen_d0a7b5fa03d29582 =
\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_d0a7b5fa03d29582_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_d0a7b5fa03d29582
foreign import ccall unsafe "hs_bindgen_9c321e237166b364"
hs_bindgen_9c321e237166b364_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_9c321e237166b364
:: PtrConst.PtrConst SDL_FRect
-> IO BG.CBool
hs_bindgen_9c321e237166b364 :: PtrConst SDL_FRect -> IO CBool
hs_bindgen_9c321e237166b364 =
\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_9c321e237166b364_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_9c321e237166b364
foreign import ccall unsafe "hs_bindgen_f80b1d55f3fd3ff0"
hs_bindgen_f80b1d55f3fd3ff0_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_f80b1d55f3fd3ff0
:: PtrConst.PtrConst SDL_FRect
-> PtrConst.PtrConst SDL_FRect
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_f80b1d55f3fd3ff0 :: PtrConst SDL_FRect -> PtrConst SDL_FRect -> CFloat -> IO CBool
hs_bindgen_f80b1d55f3fd3ff0 =
\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_f80b1d55f3fd3ff0_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_f80b1d55f3fd3ff0
foreign import ccall unsafe "hs_bindgen_ae8860672929d976"
hs_bindgen_ae8860672929d976_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_ae8860672929d976
:: PtrConst.PtrConst SDL_FRect
-> PtrConst.PtrConst SDL_FRect
-> IO BG.CBool
hs_bindgen_ae8860672929d976 :: PtrConst SDL_FRect -> PtrConst SDL_FRect -> IO CBool
hs_bindgen_ae8860672929d976 =
\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_ae8860672929d976_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_ae8860672929d976
foreign import ccall unsafe "hs_bindgen_7789d3ed056d9e69"
hs_bindgen_7789d3ed056d9e69_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_7789d3ed056d9e69
:: PtrConst.PtrConst SDL_FRect
-> PtrConst.PtrConst SDL_FRect
-> IO BG.CBool
hs_bindgen_7789d3ed056d9e69 :: PtrConst SDL_FRect -> PtrConst SDL_FRect -> IO CBool
hs_bindgen_7789d3ed056d9e69 =
\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_7789d3ed056d9e69_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_7789d3ed056d9e69
foreign import ccall unsafe "hs_bindgen_b201a8ca90bb5827"
hs_bindgen_b201a8ca90bb5827_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_b201a8ca90bb5827
:: PtrConst.PtrConst SDL_FRect
-> PtrConst.PtrConst SDL_FRect
-> BG.Ptr SDL_FRect
-> IO BG.CBool
hs_bindgen_b201a8ca90bb5827 :: PtrConst SDL_FRect
-> PtrConst SDL_FRect -> Ptr SDL_FRect -> IO CBool
hs_bindgen_b201a8ca90bb5827 =
\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_b201a8ca90bb5827_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_b201a8ca90bb5827
foreign import ccall unsafe "hs_bindgen_acf40b03660f89c9"
hs_bindgen_acf40b03660f89c9_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_acf40b03660f89c9
:: PtrConst.PtrConst SDL_FRect
-> PtrConst.PtrConst SDL_FRect
-> BG.Ptr SDL_FRect
-> IO BG.CBool
hs_bindgen_acf40b03660f89c9 :: PtrConst SDL_FRect
-> PtrConst SDL_FRect -> Ptr SDL_FRect -> IO CBool
hs_bindgen_acf40b03660f89c9 =
\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_acf40b03660f89c9_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_acf40b03660f89c9
foreign import ccall unsafe "hs_bindgen_7e56e880d6fe6038"
hs_bindgen_7e56e880d6fe6038_base
:: BG.Ptr BG.Void
-> BG.CInt
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_7e56e880d6fe6038
:: PtrConst.PtrConst SDL_FPoint
-> BG.CInt
-> PtrConst.PtrConst SDL_FRect
-> BG.Ptr SDL_FRect
-> IO BG.CBool
hs_bindgen_7e56e880d6fe6038 :: PtrConst SDL_FPoint
-> CInt -> PtrConst SDL_FRect -> Ptr SDL_FRect -> IO CBool
hs_bindgen_7e56e880d6fe6038 =
\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_7e56e880d6fe6038_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_7e56e880d6fe6038
foreign import ccall unsafe "hs_bindgen_eea028e78b1eead0"
hs_bindgen_eea028e78b1eead0_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_eea028e78b1eead0
:: 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_eea028e78b1eead0 :: PtrConst SDL_FRect
-> Ptr CFloat -> Ptr CFloat -> Ptr CFloat -> Ptr CFloat -> IO CBool
hs_bindgen_eea028e78b1eead0 =
\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_eea028e78b1eead0_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_eea028e78b1eead0