{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.PixelsShims.FunPtr (
SDL3.Sys.Bindgen.PixelsShims.FunPtr.lithon_SDL_DEFINE_PIXELFOURCC,
SDL3.Sys.Bindgen.PixelsShims.FunPtr.lithon_SDL_BITSPERPIXEL,
SDL3.Sys.Bindgen.PixelsShims.FunPtr.lithon_SDL_BYTESPERPIXEL,
SDL3.Sys.Bindgen.PixelsShims.FunPtr.lithon_SDL_ISPIXELFORMAT_INDEXED,
SDL3.Sys.Bindgen.PixelsShims.FunPtr.lithon_SDL_ISPIXELFORMAT_PACKED,
SDL3.Sys.Bindgen.PixelsShims.FunPtr.lithon_SDL_ISPIXELFORMAT_ARRAY,
SDL3.Sys.Bindgen.PixelsShims.FunPtr.lithon_SDL_ISPIXELFORMAT_10BIT,
SDL3.Sys.Bindgen.PixelsShims.FunPtr.lithon_SDL_ISPIXELFORMAT_FLOAT,
SDL3.Sys.Bindgen.PixelsShims.FunPtr.lithon_SDL_ISPIXELFORMAT_ALPHA,
SDL3.Sys.Bindgen.PixelsShims.FunPtr.lithon_SDL_ISPIXELFORMAT_FOURCC,
SDL3.Sys.Bindgen.PixelsShims.FunPtr.lithon_SDL_DEFINE_COLORSPACE,
SDL3.Sys.Bindgen.PixelsShims.FunPtr.lithon_SDL_COLORSPACETYPE,
SDL3.Sys.Bindgen.PixelsShims.FunPtr.lithon_SDL_COLORSPACERANGE,
SDL3.Sys.Bindgen.PixelsShims.FunPtr.lithon_SDL_COLORSPACECHROMA,
SDL3.Sys.Bindgen.PixelsShims.FunPtr.lithon_SDL_COLORSPACEPRIMARIES,
SDL3.Sys.Bindgen.PixelsShims.FunPtr.lithon_SDL_COLORSPACETRANSFER,
SDL3.Sys.Bindgen.PixelsShims.FunPtr.lithon_SDL_COLORSPACEMATRIX,
SDL3.Sys.Bindgen.PixelsShims.FunPtr.lithon_SDL_ISCOLORSPACE_MATRIX_BT601,
SDL3.Sys.Bindgen.PixelsShims.FunPtr.lithon_SDL_ISCOLORSPACE_MATRIX_BT709,
SDL3.Sys.Bindgen.PixelsShims.FunPtr.lithon_SDL_ISCOLORSPACE_MATRIX_BT2020_NCL,
SDL3.Sys.Bindgen.PixelsShims.FunPtr.lithon_SDL_ISCOLORSPACE_LIMITED_RANGE,
SDL3.Sys.Bindgen.PixelsShims.FunPtr.lithon_SDL_ISCOLORSPACE_FULL_RANGE,
)
where
import Prelude (IO, fmap)
import HsBindgen.Runtime.Support qualified as BG
import HsBindgen.Runtime.Support.CAPI qualified
import SDL3.Sys.Bindgen.Pixels qualified
import SDL3.Sys.Bindgen.Stdinc qualified
$( HsBindgen.Runtime.Support.CAPI.addCSource
( HsBindgen.Runtime.Support.CAPI.unlines
[ "#define SDL_MAIN_HANDLED"
, "#define SDL_SLOW_MEMCPY"
, "#define SDL_SLOW_MEMMOVE"
, "#define SDL_SLOW_MEMSET"
, "#include <sdl3-bindgen-sys/SDL_pixels_shims.h>"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.PixelsShims_get_lithon_SDL_DEFINE_PIXELFOURCC */"
, "__attribute__ ((const))"
, "SDL_PixelFormat (*hs_bindgen_75756731ebd56d6c (void)) ("
, " Uint8 arg1,"
, " Uint8 arg2,"
, " Uint8 arg3,"
, " Uint8 arg4"
, ")"
, "{"
, " return &lithon_SDL_DEFINE_PIXELFOURCC;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.PixelsShims_get_lithon_SDL_BITSPERPIXEL */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_a8b5b5932ddbfc3b (void)) ("
, " SDL_PixelFormat arg1"
, ")"
, "{"
, " return &lithon_SDL_BITSPERPIXEL;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.PixelsShims_get_lithon_SDL_BYTESPERPIXEL */"
, "__attribute__ ((const))"
, "signed int (*hs_bindgen_fef9e1bbde9ec790 (void)) ("
, " SDL_PixelFormat arg1"
, ")"
, "{"
, " return &lithon_SDL_BYTESPERPIXEL;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.PixelsShims_get_lithon_SDL_ISPIXELFORMAT_INDEXED */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_b117a24f410fe873 (void)) ("
, " SDL_PixelFormat arg1"
, ")"
, "{"
, " return &lithon_SDL_ISPIXELFORMAT_INDEXED;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.PixelsShims_get_lithon_SDL_ISPIXELFORMAT_PACKED */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_9046eeb0267300bc (void)) ("
, " SDL_PixelFormat arg1"
, ")"
, "{"
, " return &lithon_SDL_ISPIXELFORMAT_PACKED;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.PixelsShims_get_lithon_SDL_ISPIXELFORMAT_ARRAY */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_5c10de6b0f11eb45 (void)) ("
, " SDL_PixelFormat arg1"
, ")"
, "{"
, " return &lithon_SDL_ISPIXELFORMAT_ARRAY;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.PixelsShims_get_lithon_SDL_ISPIXELFORMAT_10BIT */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_f7e465ad660e31bf (void)) ("
, " SDL_PixelFormat arg1"
, ")"
, "{"
, " return &lithon_SDL_ISPIXELFORMAT_10BIT;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.PixelsShims_get_lithon_SDL_ISPIXELFORMAT_FLOAT */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_032856c3c3b017c5 (void)) ("
, " SDL_PixelFormat arg1"
, ")"
, "{"
, " return &lithon_SDL_ISPIXELFORMAT_FLOAT;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.PixelsShims_get_lithon_SDL_ISPIXELFORMAT_ALPHA */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_6c426e1aa20f7341 (void)) ("
, " SDL_PixelFormat arg1"
, ")"
, "{"
, " return &lithon_SDL_ISPIXELFORMAT_ALPHA;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.PixelsShims_get_lithon_SDL_ISPIXELFORMAT_FOURCC */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_d08bb623c3ebc165 (void)) ("
, " SDL_PixelFormat arg1"
, ")"
, "{"
, " return &lithon_SDL_ISPIXELFORMAT_FOURCC;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.PixelsShims_get_lithon_SDL_DEFINE_COLORSPACE */"
, "__attribute__ ((const))"
, "SDL_Colorspace (*hs_bindgen_e6f658b2c26218e1 (void)) ("
, " SDL_ColorType arg1,"
, " SDL_ColorRange arg2,"
, " SDL_ColorPrimaries arg3,"
, " SDL_TransferCharacteristics arg4,"
, " SDL_MatrixCoefficients arg5,"
, " SDL_ChromaLocation arg6"
, ")"
, "{"
, " return &lithon_SDL_DEFINE_COLORSPACE;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.PixelsShims_get_lithon_SDL_COLORSPACETYPE */"
, "__attribute__ ((const))"
, "SDL_ColorType (*hs_bindgen_eec66aaad367649c (void)) ("
, " SDL_Colorspace arg1"
, ")"
, "{"
, " return &lithon_SDL_COLORSPACETYPE;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.PixelsShims_get_lithon_SDL_COLORSPACERANGE */"
, "__attribute__ ((const))"
, "SDL_ColorRange (*hs_bindgen_80876d9836c72ca7 (void)) ("
, " SDL_Colorspace arg1"
, ")"
, "{"
, " return &lithon_SDL_COLORSPACERANGE;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.PixelsShims_get_lithon_SDL_COLORSPACECHROMA */"
, "__attribute__ ((const))"
, "SDL_ChromaLocation (*hs_bindgen_72559431bdc72d6f (void)) ("
, " SDL_Colorspace arg1"
, ")"
, "{"
, " return &lithon_SDL_COLORSPACECHROMA;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.PixelsShims_get_lithon_SDL_COLORSPACEPRIMARIES */"
, "__attribute__ ((const))"
, "SDL_ColorPrimaries (*hs_bindgen_38530fb5411bf69a (void)) ("
, " SDL_Colorspace arg1"
, ")"
, "{"
, " return &lithon_SDL_COLORSPACEPRIMARIES;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.PixelsShims_get_lithon_SDL_COLORSPACETRANSFER */"
, "__attribute__ ((const))"
, "SDL_TransferCharacteristics (*hs_bindgen_9d66e990e02b39a2 (void)) ("
, " SDL_Colorspace arg1"
, ")"
, "{"
, " return &lithon_SDL_COLORSPACETRANSFER;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.PixelsShims_get_lithon_SDL_COLORSPACEMATRIX */"
, "__attribute__ ((const))"
, "SDL_MatrixCoefficients (*hs_bindgen_94623bcc9daaa8ee (void)) ("
, " SDL_Colorspace arg1"
, ")"
, "{"
, " return &lithon_SDL_COLORSPACEMATRIX;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.PixelsShims_get_lithon_SDL_ISCOLORSPACE_MATRIX_BT601 */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_23ed6403a69ca0bf (void)) ("
, " SDL_Colorspace arg1"
, ")"
, "{"
, " return &lithon_SDL_ISCOLORSPACE_MATRIX_BT601;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.PixelsShims_get_lithon_SDL_ISCOLORSPACE_MATRIX_BT709 */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_46d1d547630c76e0 (void)) ("
, " SDL_Colorspace arg1"
, ")"
, "{"
, " return &lithon_SDL_ISCOLORSPACE_MATRIX_BT709;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.PixelsShims_get_lithon_SDL_ISCOLORSPACE_MATRIX_BT2020_NCL */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_bdde99e14eee3d4d (void)) ("
, " SDL_Colorspace arg1"
, ")"
, "{"
, " return &lithon_SDL_ISCOLORSPACE_MATRIX_BT2020_NCL;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.PixelsShims_get_lithon_SDL_ISCOLORSPACE_LIMITED_RANGE */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_7383ccedffa9acae (void)) ("
, " SDL_Colorspace arg1"
, ")"
, "{"
, " return &lithon_SDL_ISCOLORSPACE_LIMITED_RANGE;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.PixelsShims_get_lithon_SDL_ISCOLORSPACE_FULL_RANGE */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_2304b4d429bcb1a4 (void)) ("
, " SDL_Colorspace arg1"
, ")"
, "{"
, " return &lithon_SDL_ISCOLORSPACE_FULL_RANGE;"
, "}"
]
)
)
foreign import ccall unsafe "hs_bindgen_75756731ebd56d6c"
hs_bindgen_75756731ebd56d6c_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_75756731ebd56d6c
:: IO
( BG.FunPtr
( SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
)
)
hs_bindgen_75756731ebd56d6c :: IO
(FunPtr (Uint8 -> Uint8 -> Uint8 -> Uint8 -> IO SDL_PixelFormat))
hs_bindgen_75756731ebd56d6c =
(FunPtr Void
-> FunPtr (Uint8 -> Uint8 -> Uint8 -> Uint8 -> IO SDL_PixelFormat))
-> IO (FunPtr Void)
-> IO
(FunPtr (Uint8 -> Uint8 -> Uint8 -> Uint8 -> IO SDL_PixelFormat))
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 (Uint8 -> Uint8 -> Uint8 -> Uint8 -> IO SDL_PixelFormat)
FFIType
(FunPtr (Uint8 -> Uint8 -> Uint8 -> Uint8 -> IO SDL_PixelFormat))
-> FunPtr (Uint8 -> Uint8 -> Uint8 -> Uint8 -> IO SDL_PixelFormat)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_75756731ebd56d6c_base
{-# NOINLINE lithon_SDL_DEFINE_PIXELFOURCC #-}
lithon_SDL_DEFINE_PIXELFOURCC
:: BG.FunPtr
( SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
)
lithon_SDL_DEFINE_PIXELFOURCC :: FunPtr (Uint8 -> Uint8 -> Uint8 -> Uint8 -> IO SDL_PixelFormat)
lithon_SDL_DEFINE_PIXELFOURCC =
IO
(FunPtr (Uint8 -> Uint8 -> Uint8 -> Uint8 -> IO SDL_PixelFormat))
-> FunPtr (Uint8 -> Uint8 -> Uint8 -> Uint8 -> IO SDL_PixelFormat)
forall a. IO a -> a
BG.unsafePerformIO IO
(FunPtr (Uint8 -> Uint8 -> Uint8 -> Uint8 -> IO SDL_PixelFormat))
hs_bindgen_75756731ebd56d6c
foreign import ccall unsafe "hs_bindgen_a8b5b5932ddbfc3b"
hs_bindgen_a8b5b5932ddbfc3b_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_a8b5b5932ddbfc3b
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat -> IO BG.CInt))
hs_bindgen_a8b5b5932ddbfc3b :: IO (FunPtr (SDL_PixelFormat -> IO CInt))
hs_bindgen_a8b5b5932ddbfc3b =
(FunPtr Void -> FunPtr (SDL_PixelFormat -> IO CInt))
-> IO (FunPtr Void) -> IO (FunPtr (SDL_PixelFormat -> 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 (SDL_PixelFormat -> IO CInt)
FFIType (FunPtr (SDL_PixelFormat -> IO CInt))
-> FunPtr (SDL_PixelFormat -> IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_a8b5b5932ddbfc3b_base
{-# NOINLINE lithon_SDL_BITSPERPIXEL #-}
lithon_SDL_BITSPERPIXEL :: BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat -> IO BG.CInt)
lithon_SDL_BITSPERPIXEL :: FunPtr (SDL_PixelFormat -> IO CInt)
lithon_SDL_BITSPERPIXEL =
IO (FunPtr (SDL_PixelFormat -> IO CInt))
-> FunPtr (SDL_PixelFormat -> IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_PixelFormat -> IO CInt))
hs_bindgen_a8b5b5932ddbfc3b
foreign import ccall unsafe "hs_bindgen_fef9e1bbde9ec790"
hs_bindgen_fef9e1bbde9ec790_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_fef9e1bbde9ec790
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat -> IO BG.CInt))
hs_bindgen_fef9e1bbde9ec790 :: IO (FunPtr (SDL_PixelFormat -> IO CInt))
hs_bindgen_fef9e1bbde9ec790 =
(FunPtr Void -> FunPtr (SDL_PixelFormat -> IO CInt))
-> IO (FunPtr Void) -> IO (FunPtr (SDL_PixelFormat -> 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 (SDL_PixelFormat -> IO CInt)
FFIType (FunPtr (SDL_PixelFormat -> IO CInt))
-> FunPtr (SDL_PixelFormat -> IO CInt)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_fef9e1bbde9ec790_base
{-# NOINLINE lithon_SDL_BYTESPERPIXEL #-}
lithon_SDL_BYTESPERPIXEL :: BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat -> IO BG.CInt)
lithon_SDL_BYTESPERPIXEL :: FunPtr (SDL_PixelFormat -> IO CInt)
lithon_SDL_BYTESPERPIXEL =
IO (FunPtr (SDL_PixelFormat -> IO CInt))
-> FunPtr (SDL_PixelFormat -> IO CInt)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_PixelFormat -> IO CInt))
hs_bindgen_fef9e1bbde9ec790
foreign import ccall unsafe "hs_bindgen_b117a24f410fe873"
hs_bindgen_b117a24f410fe873_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_b117a24f410fe873
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat -> IO BG.CBool))
hs_bindgen_b117a24f410fe873 :: IO (FunPtr (SDL_PixelFormat -> IO CBool))
hs_bindgen_b117a24f410fe873 =
(FunPtr Void -> FunPtr (SDL_PixelFormat -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (SDL_PixelFormat -> 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_PixelFormat -> IO CBool)
FFIType (FunPtr (SDL_PixelFormat -> IO CBool))
-> FunPtr (SDL_PixelFormat -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_b117a24f410fe873_base
{-# NOINLINE lithon_SDL_ISPIXELFORMAT_INDEXED #-}
lithon_SDL_ISPIXELFORMAT_INDEXED
:: BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat -> IO BG.CBool)
lithon_SDL_ISPIXELFORMAT_INDEXED :: FunPtr (SDL_PixelFormat -> IO CBool)
lithon_SDL_ISPIXELFORMAT_INDEXED =
IO (FunPtr (SDL_PixelFormat -> IO CBool))
-> FunPtr (SDL_PixelFormat -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_PixelFormat -> IO CBool))
hs_bindgen_b117a24f410fe873
foreign import ccall unsafe "hs_bindgen_9046eeb0267300bc"
hs_bindgen_9046eeb0267300bc_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_9046eeb0267300bc
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat -> IO BG.CBool))
hs_bindgen_9046eeb0267300bc :: IO (FunPtr (SDL_PixelFormat -> IO CBool))
hs_bindgen_9046eeb0267300bc =
(FunPtr Void -> FunPtr (SDL_PixelFormat -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (SDL_PixelFormat -> 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_PixelFormat -> IO CBool)
FFIType (FunPtr (SDL_PixelFormat -> IO CBool))
-> FunPtr (SDL_PixelFormat -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_9046eeb0267300bc_base
{-# NOINLINE lithon_SDL_ISPIXELFORMAT_PACKED #-}
lithon_SDL_ISPIXELFORMAT_PACKED
:: BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat -> IO BG.CBool)
lithon_SDL_ISPIXELFORMAT_PACKED :: FunPtr (SDL_PixelFormat -> IO CBool)
lithon_SDL_ISPIXELFORMAT_PACKED =
IO (FunPtr (SDL_PixelFormat -> IO CBool))
-> FunPtr (SDL_PixelFormat -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_PixelFormat -> IO CBool))
hs_bindgen_9046eeb0267300bc
foreign import ccall unsafe "hs_bindgen_5c10de6b0f11eb45"
hs_bindgen_5c10de6b0f11eb45_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_5c10de6b0f11eb45
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat -> IO BG.CBool))
hs_bindgen_5c10de6b0f11eb45 :: IO (FunPtr (SDL_PixelFormat -> IO CBool))
hs_bindgen_5c10de6b0f11eb45 =
(FunPtr Void -> FunPtr (SDL_PixelFormat -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (SDL_PixelFormat -> 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_PixelFormat -> IO CBool)
FFIType (FunPtr (SDL_PixelFormat -> IO CBool))
-> FunPtr (SDL_PixelFormat -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_5c10de6b0f11eb45_base
{-# NOINLINE lithon_SDL_ISPIXELFORMAT_ARRAY #-}
lithon_SDL_ISPIXELFORMAT_ARRAY :: BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat -> IO BG.CBool)
lithon_SDL_ISPIXELFORMAT_ARRAY :: FunPtr (SDL_PixelFormat -> IO CBool)
lithon_SDL_ISPIXELFORMAT_ARRAY =
IO (FunPtr (SDL_PixelFormat -> IO CBool))
-> FunPtr (SDL_PixelFormat -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_PixelFormat -> IO CBool))
hs_bindgen_5c10de6b0f11eb45
foreign import ccall unsafe "hs_bindgen_f7e465ad660e31bf"
hs_bindgen_f7e465ad660e31bf_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_f7e465ad660e31bf
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat -> IO BG.CBool))
hs_bindgen_f7e465ad660e31bf :: IO (FunPtr (SDL_PixelFormat -> IO CBool))
hs_bindgen_f7e465ad660e31bf =
(FunPtr Void -> FunPtr (SDL_PixelFormat -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (SDL_PixelFormat -> 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_PixelFormat -> IO CBool)
FFIType (FunPtr (SDL_PixelFormat -> IO CBool))
-> FunPtr (SDL_PixelFormat -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_f7e465ad660e31bf_base
{-# NOINLINE lithon_SDL_ISPIXELFORMAT_10BIT #-}
lithon_SDL_ISPIXELFORMAT_10BIT :: BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat -> IO BG.CBool)
lithon_SDL_ISPIXELFORMAT_10BIT :: FunPtr (SDL_PixelFormat -> IO CBool)
lithon_SDL_ISPIXELFORMAT_10BIT =
IO (FunPtr (SDL_PixelFormat -> IO CBool))
-> FunPtr (SDL_PixelFormat -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_PixelFormat -> IO CBool))
hs_bindgen_f7e465ad660e31bf
foreign import ccall unsafe "hs_bindgen_032856c3c3b017c5"
hs_bindgen_032856c3c3b017c5_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_032856c3c3b017c5
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat -> IO BG.CBool))
hs_bindgen_032856c3c3b017c5 :: IO (FunPtr (SDL_PixelFormat -> IO CBool))
hs_bindgen_032856c3c3b017c5 =
(FunPtr Void -> FunPtr (SDL_PixelFormat -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (SDL_PixelFormat -> 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_PixelFormat -> IO CBool)
FFIType (FunPtr (SDL_PixelFormat -> IO CBool))
-> FunPtr (SDL_PixelFormat -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_032856c3c3b017c5_base
{-# NOINLINE lithon_SDL_ISPIXELFORMAT_FLOAT #-}
lithon_SDL_ISPIXELFORMAT_FLOAT :: BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat -> IO BG.CBool)
lithon_SDL_ISPIXELFORMAT_FLOAT :: FunPtr (SDL_PixelFormat -> IO CBool)
lithon_SDL_ISPIXELFORMAT_FLOAT =
IO (FunPtr (SDL_PixelFormat -> IO CBool))
-> FunPtr (SDL_PixelFormat -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_PixelFormat -> IO CBool))
hs_bindgen_032856c3c3b017c5
foreign import ccall unsafe "hs_bindgen_6c426e1aa20f7341"
hs_bindgen_6c426e1aa20f7341_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_6c426e1aa20f7341
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat -> IO BG.CBool))
hs_bindgen_6c426e1aa20f7341 :: IO (FunPtr (SDL_PixelFormat -> IO CBool))
hs_bindgen_6c426e1aa20f7341 =
(FunPtr Void -> FunPtr (SDL_PixelFormat -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (SDL_PixelFormat -> 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_PixelFormat -> IO CBool)
FFIType (FunPtr (SDL_PixelFormat -> IO CBool))
-> FunPtr (SDL_PixelFormat -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_6c426e1aa20f7341_base
{-# NOINLINE lithon_SDL_ISPIXELFORMAT_ALPHA #-}
lithon_SDL_ISPIXELFORMAT_ALPHA :: BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat -> IO BG.CBool)
lithon_SDL_ISPIXELFORMAT_ALPHA :: FunPtr (SDL_PixelFormat -> IO CBool)
lithon_SDL_ISPIXELFORMAT_ALPHA =
IO (FunPtr (SDL_PixelFormat -> IO CBool))
-> FunPtr (SDL_PixelFormat -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_PixelFormat -> IO CBool))
hs_bindgen_6c426e1aa20f7341
foreign import ccall unsafe "hs_bindgen_d08bb623c3ebc165"
hs_bindgen_d08bb623c3ebc165_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_d08bb623c3ebc165
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat -> IO BG.CBool))
hs_bindgen_d08bb623c3ebc165 :: IO (FunPtr (SDL_PixelFormat -> IO CBool))
hs_bindgen_d08bb623c3ebc165 =
(FunPtr Void -> FunPtr (SDL_PixelFormat -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (SDL_PixelFormat -> 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_PixelFormat -> IO CBool)
FFIType (FunPtr (SDL_PixelFormat -> IO CBool))
-> FunPtr (SDL_PixelFormat -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_d08bb623c3ebc165_base
{-# NOINLINE lithon_SDL_ISPIXELFORMAT_FOURCC #-}
lithon_SDL_ISPIXELFORMAT_FOURCC
:: BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat -> IO BG.CBool)
lithon_SDL_ISPIXELFORMAT_FOURCC :: FunPtr (SDL_PixelFormat -> IO CBool)
lithon_SDL_ISPIXELFORMAT_FOURCC =
IO (FunPtr (SDL_PixelFormat -> IO CBool))
-> FunPtr (SDL_PixelFormat -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_PixelFormat -> IO CBool))
hs_bindgen_d08bb623c3ebc165
foreign import ccall unsafe "hs_bindgen_e6f658b2c26218e1"
hs_bindgen_e6f658b2c26218e1_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_e6f658b2c26218e1
:: IO
( BG.FunPtr
( SDL3.Sys.Bindgen.Pixels.SDL_ColorType
-> SDL3.Sys.Bindgen.Pixels.SDL_ColorRange
-> SDL3.Sys.Bindgen.Pixels.SDL_ColorPrimaries
-> SDL3.Sys.Bindgen.Pixels.SDL_TransferCharacteristics
-> SDL3.Sys.Bindgen.Pixels.SDL_MatrixCoefficients
-> SDL3.Sys.Bindgen.Pixels.SDL_ChromaLocation
-> IO SDL3.Sys.Bindgen.Pixels.SDL_Colorspace
)
)
hs_bindgen_e6f658b2c26218e1 :: IO
(FunPtr
(SDL_ColorType
-> SDL_ColorRange
-> SDL_ColorPrimaries
-> SDL_TransferCharacteristics
-> SDL_MatrixCoefficients
-> SDL_ChromaLocation
-> IO SDL_Colorspace))
hs_bindgen_e6f658b2c26218e1 =
(FunPtr Void
-> FunPtr
(SDL_ColorType
-> SDL_ColorRange
-> SDL_ColorPrimaries
-> SDL_TransferCharacteristics
-> SDL_MatrixCoefficients
-> SDL_ChromaLocation
-> IO SDL_Colorspace))
-> IO (FunPtr Void)
-> IO
(FunPtr
(SDL_ColorType
-> SDL_ColorRange
-> SDL_ColorPrimaries
-> SDL_TransferCharacteristics
-> SDL_MatrixCoefficients
-> SDL_ChromaLocation
-> IO SDL_Colorspace))
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_ColorType
-> SDL_ColorRange
-> SDL_ColorPrimaries
-> SDL_TransferCharacteristics
-> SDL_MatrixCoefficients
-> SDL_ChromaLocation
-> IO SDL_Colorspace)
FFIType
(FunPtr
(SDL_ColorType
-> SDL_ColorRange
-> SDL_ColorPrimaries
-> SDL_TransferCharacteristics
-> SDL_MatrixCoefficients
-> SDL_ChromaLocation
-> IO SDL_Colorspace))
-> FunPtr
(SDL_ColorType
-> SDL_ColorRange
-> SDL_ColorPrimaries
-> SDL_TransferCharacteristics
-> SDL_MatrixCoefficients
-> SDL_ChromaLocation
-> IO SDL_Colorspace)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_e6f658b2c26218e1_base
{-# NOINLINE lithon_SDL_DEFINE_COLORSPACE #-}
lithon_SDL_DEFINE_COLORSPACE
:: BG.FunPtr
( SDL3.Sys.Bindgen.Pixels.SDL_ColorType
-> SDL3.Sys.Bindgen.Pixels.SDL_ColorRange
-> SDL3.Sys.Bindgen.Pixels.SDL_ColorPrimaries
-> SDL3.Sys.Bindgen.Pixels.SDL_TransferCharacteristics
-> SDL3.Sys.Bindgen.Pixels.SDL_MatrixCoefficients
-> SDL3.Sys.Bindgen.Pixels.SDL_ChromaLocation
-> IO SDL3.Sys.Bindgen.Pixels.SDL_Colorspace
)
lithon_SDL_DEFINE_COLORSPACE :: FunPtr
(SDL_ColorType
-> SDL_ColorRange
-> SDL_ColorPrimaries
-> SDL_TransferCharacteristics
-> SDL_MatrixCoefficients
-> SDL_ChromaLocation
-> IO SDL_Colorspace)
lithon_SDL_DEFINE_COLORSPACE =
IO
(FunPtr
(SDL_ColorType
-> SDL_ColorRange
-> SDL_ColorPrimaries
-> SDL_TransferCharacteristics
-> SDL_MatrixCoefficients
-> SDL_ChromaLocation
-> IO SDL_Colorspace))
-> FunPtr
(SDL_ColorType
-> SDL_ColorRange
-> SDL_ColorPrimaries
-> SDL_TransferCharacteristics
-> SDL_MatrixCoefficients
-> SDL_ChromaLocation
-> IO SDL_Colorspace)
forall a. IO a -> a
BG.unsafePerformIO IO
(FunPtr
(SDL_ColorType
-> SDL_ColorRange
-> SDL_ColorPrimaries
-> SDL_TransferCharacteristics
-> SDL_MatrixCoefficients
-> SDL_ChromaLocation
-> IO SDL_Colorspace))
hs_bindgen_e6f658b2c26218e1
foreign import ccall unsafe "hs_bindgen_eec66aaad367649c"
hs_bindgen_eec66aaad367649c_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_eec66aaad367649c
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_Colorspace -> IO SDL3.Sys.Bindgen.Pixels.SDL_ColorType))
hs_bindgen_eec66aaad367649c :: IO (FunPtr (SDL_Colorspace -> IO SDL_ColorType))
hs_bindgen_eec66aaad367649c =
(FunPtr Void -> FunPtr (SDL_Colorspace -> IO SDL_ColorType))
-> IO (FunPtr Void)
-> IO (FunPtr (SDL_Colorspace -> IO SDL_ColorType))
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_Colorspace -> IO SDL_ColorType)
FFIType (FunPtr (SDL_Colorspace -> IO SDL_ColorType))
-> FunPtr (SDL_Colorspace -> IO SDL_ColorType)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_eec66aaad367649c_base
{-# NOINLINE lithon_SDL_COLORSPACETYPE #-}
lithon_SDL_COLORSPACETYPE
:: BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_Colorspace -> IO SDL3.Sys.Bindgen.Pixels.SDL_ColorType)
lithon_SDL_COLORSPACETYPE :: FunPtr (SDL_Colorspace -> IO SDL_ColorType)
lithon_SDL_COLORSPACETYPE =
IO (FunPtr (SDL_Colorspace -> IO SDL_ColorType))
-> FunPtr (SDL_Colorspace -> IO SDL_ColorType)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_Colorspace -> IO SDL_ColorType))
hs_bindgen_eec66aaad367649c
foreign import ccall unsafe "hs_bindgen_80876d9836c72ca7"
hs_bindgen_80876d9836c72ca7_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_80876d9836c72ca7
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_Colorspace -> IO SDL3.Sys.Bindgen.Pixels.SDL_ColorRange))
hs_bindgen_80876d9836c72ca7 :: IO (FunPtr (SDL_Colorspace -> IO SDL_ColorRange))
hs_bindgen_80876d9836c72ca7 =
(FunPtr Void -> FunPtr (SDL_Colorspace -> IO SDL_ColorRange))
-> IO (FunPtr Void)
-> IO (FunPtr (SDL_Colorspace -> IO SDL_ColorRange))
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_Colorspace -> IO SDL_ColorRange)
FFIType (FunPtr (SDL_Colorspace -> IO SDL_ColorRange))
-> FunPtr (SDL_Colorspace -> IO SDL_ColorRange)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_80876d9836c72ca7_base
{-# NOINLINE lithon_SDL_COLORSPACERANGE #-}
lithon_SDL_COLORSPACERANGE
:: BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_Colorspace -> IO SDL3.Sys.Bindgen.Pixels.SDL_ColorRange)
lithon_SDL_COLORSPACERANGE :: FunPtr (SDL_Colorspace -> IO SDL_ColorRange)
lithon_SDL_COLORSPACERANGE =
IO (FunPtr (SDL_Colorspace -> IO SDL_ColorRange))
-> FunPtr (SDL_Colorspace -> IO SDL_ColorRange)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_Colorspace -> IO SDL_ColorRange))
hs_bindgen_80876d9836c72ca7
foreign import ccall unsafe "hs_bindgen_72559431bdc72d6f"
hs_bindgen_72559431bdc72d6f_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_72559431bdc72d6f
:: IO
(BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_Colorspace -> IO SDL3.Sys.Bindgen.Pixels.SDL_ChromaLocation))
hs_bindgen_72559431bdc72d6f :: IO (FunPtr (SDL_Colorspace -> IO SDL_ChromaLocation))
hs_bindgen_72559431bdc72d6f =
(FunPtr Void -> FunPtr (SDL_Colorspace -> IO SDL_ChromaLocation))
-> IO (FunPtr Void)
-> IO (FunPtr (SDL_Colorspace -> IO SDL_ChromaLocation))
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_Colorspace -> IO SDL_ChromaLocation)
FFIType (FunPtr (SDL_Colorspace -> IO SDL_ChromaLocation))
-> FunPtr (SDL_Colorspace -> IO SDL_ChromaLocation)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_72559431bdc72d6f_base
{-# NOINLINE lithon_SDL_COLORSPACECHROMA #-}
lithon_SDL_COLORSPACECHROMA
:: BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_Colorspace -> IO SDL3.Sys.Bindgen.Pixels.SDL_ChromaLocation)
lithon_SDL_COLORSPACECHROMA :: FunPtr (SDL_Colorspace -> IO SDL_ChromaLocation)
lithon_SDL_COLORSPACECHROMA =
IO (FunPtr (SDL_Colorspace -> IO SDL_ChromaLocation))
-> FunPtr (SDL_Colorspace -> IO SDL_ChromaLocation)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_Colorspace -> IO SDL_ChromaLocation))
hs_bindgen_72559431bdc72d6f
foreign import ccall unsafe "hs_bindgen_38530fb5411bf69a"
hs_bindgen_38530fb5411bf69a_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_38530fb5411bf69a
:: IO
(BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_Colorspace -> IO SDL3.Sys.Bindgen.Pixels.SDL_ColorPrimaries))
hs_bindgen_38530fb5411bf69a :: IO (FunPtr (SDL_Colorspace -> IO SDL_ColorPrimaries))
hs_bindgen_38530fb5411bf69a =
(FunPtr Void -> FunPtr (SDL_Colorspace -> IO SDL_ColorPrimaries))
-> IO (FunPtr Void)
-> IO (FunPtr (SDL_Colorspace -> IO SDL_ColorPrimaries))
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_Colorspace -> IO SDL_ColorPrimaries)
FFIType (FunPtr (SDL_Colorspace -> IO SDL_ColorPrimaries))
-> FunPtr (SDL_Colorspace -> IO SDL_ColorPrimaries)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_38530fb5411bf69a_base
{-# NOINLINE lithon_SDL_COLORSPACEPRIMARIES #-}
lithon_SDL_COLORSPACEPRIMARIES
:: BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_Colorspace -> IO SDL3.Sys.Bindgen.Pixels.SDL_ColorPrimaries)
lithon_SDL_COLORSPACEPRIMARIES :: FunPtr (SDL_Colorspace -> IO SDL_ColorPrimaries)
lithon_SDL_COLORSPACEPRIMARIES =
IO (FunPtr (SDL_Colorspace -> IO SDL_ColorPrimaries))
-> FunPtr (SDL_Colorspace -> IO SDL_ColorPrimaries)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_Colorspace -> IO SDL_ColorPrimaries))
hs_bindgen_38530fb5411bf69a
foreign import ccall unsafe "hs_bindgen_9d66e990e02b39a2"
hs_bindgen_9d66e990e02b39a2_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_9d66e990e02b39a2
:: IO
( BG.FunPtr
(SDL3.Sys.Bindgen.Pixels.SDL_Colorspace -> IO SDL3.Sys.Bindgen.Pixels.SDL_TransferCharacteristics)
)
hs_bindgen_9d66e990e02b39a2 :: IO (FunPtr (SDL_Colorspace -> IO SDL_TransferCharacteristics))
hs_bindgen_9d66e990e02b39a2 =
(FunPtr Void
-> FunPtr (SDL_Colorspace -> IO SDL_TransferCharacteristics))
-> IO (FunPtr Void)
-> IO (FunPtr (SDL_Colorspace -> IO SDL_TransferCharacteristics))
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_Colorspace -> IO SDL_TransferCharacteristics)
FFIType (FunPtr (SDL_Colorspace -> IO SDL_TransferCharacteristics))
-> FunPtr (SDL_Colorspace -> IO SDL_TransferCharacteristics)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_9d66e990e02b39a2_base
{-# NOINLINE lithon_SDL_COLORSPACETRANSFER #-}
lithon_SDL_COLORSPACETRANSFER
:: BG.FunPtr
(SDL3.Sys.Bindgen.Pixels.SDL_Colorspace -> IO SDL3.Sys.Bindgen.Pixels.SDL_TransferCharacteristics)
lithon_SDL_COLORSPACETRANSFER :: FunPtr (SDL_Colorspace -> IO SDL_TransferCharacteristics)
lithon_SDL_COLORSPACETRANSFER =
IO (FunPtr (SDL_Colorspace -> IO SDL_TransferCharacteristics))
-> FunPtr (SDL_Colorspace -> IO SDL_TransferCharacteristics)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_Colorspace -> IO SDL_TransferCharacteristics))
hs_bindgen_9d66e990e02b39a2
foreign import ccall unsafe "hs_bindgen_94623bcc9daaa8ee"
hs_bindgen_94623bcc9daaa8ee_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_94623bcc9daaa8ee
:: IO
( BG.FunPtr
(SDL3.Sys.Bindgen.Pixels.SDL_Colorspace -> IO SDL3.Sys.Bindgen.Pixels.SDL_MatrixCoefficients)
)
hs_bindgen_94623bcc9daaa8ee :: IO (FunPtr (SDL_Colorspace -> IO SDL_MatrixCoefficients))
hs_bindgen_94623bcc9daaa8ee =
(FunPtr Void
-> FunPtr (SDL_Colorspace -> IO SDL_MatrixCoefficients))
-> IO (FunPtr Void)
-> IO (FunPtr (SDL_Colorspace -> IO SDL_MatrixCoefficients))
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_Colorspace -> IO SDL_MatrixCoefficients)
FFIType (FunPtr (SDL_Colorspace -> IO SDL_MatrixCoefficients))
-> FunPtr (SDL_Colorspace -> IO SDL_MatrixCoefficients)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_94623bcc9daaa8ee_base
{-# NOINLINE lithon_SDL_COLORSPACEMATRIX #-}
lithon_SDL_COLORSPACEMATRIX
:: BG.FunPtr
(SDL3.Sys.Bindgen.Pixels.SDL_Colorspace -> IO SDL3.Sys.Bindgen.Pixels.SDL_MatrixCoefficients)
lithon_SDL_COLORSPACEMATRIX :: FunPtr (SDL_Colorspace -> IO SDL_MatrixCoefficients)
lithon_SDL_COLORSPACEMATRIX =
IO (FunPtr (SDL_Colorspace -> IO SDL_MatrixCoefficients))
-> FunPtr (SDL_Colorspace -> IO SDL_MatrixCoefficients)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_Colorspace -> IO SDL_MatrixCoefficients))
hs_bindgen_94623bcc9daaa8ee
foreign import ccall unsafe "hs_bindgen_23ed6403a69ca0bf"
hs_bindgen_23ed6403a69ca0bf_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_23ed6403a69ca0bf
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_Colorspace -> IO BG.CBool))
hs_bindgen_23ed6403a69ca0bf :: IO (FunPtr (SDL_Colorspace -> IO CBool))
hs_bindgen_23ed6403a69ca0bf =
(FunPtr Void -> FunPtr (SDL_Colorspace -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (SDL_Colorspace -> 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_Colorspace -> IO CBool)
FFIType (FunPtr (SDL_Colorspace -> IO CBool))
-> FunPtr (SDL_Colorspace -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_23ed6403a69ca0bf_base
{-# NOINLINE lithon_SDL_ISCOLORSPACE_MATRIX_BT601 #-}
lithon_SDL_ISCOLORSPACE_MATRIX_BT601
:: BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_Colorspace -> IO BG.CBool)
lithon_SDL_ISCOLORSPACE_MATRIX_BT601 :: FunPtr (SDL_Colorspace -> IO CBool)
lithon_SDL_ISCOLORSPACE_MATRIX_BT601 =
IO (FunPtr (SDL_Colorspace -> IO CBool))
-> FunPtr (SDL_Colorspace -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_Colorspace -> IO CBool))
hs_bindgen_23ed6403a69ca0bf
foreign import ccall unsafe "hs_bindgen_46d1d547630c76e0"
hs_bindgen_46d1d547630c76e0_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_46d1d547630c76e0
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_Colorspace -> IO BG.CBool))
hs_bindgen_46d1d547630c76e0 :: IO (FunPtr (SDL_Colorspace -> IO CBool))
hs_bindgen_46d1d547630c76e0 =
(FunPtr Void -> FunPtr (SDL_Colorspace -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (SDL_Colorspace -> 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_Colorspace -> IO CBool)
FFIType (FunPtr (SDL_Colorspace -> IO CBool))
-> FunPtr (SDL_Colorspace -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_46d1d547630c76e0_base
{-# NOINLINE lithon_SDL_ISCOLORSPACE_MATRIX_BT709 #-}
lithon_SDL_ISCOLORSPACE_MATRIX_BT709
:: BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_Colorspace -> IO BG.CBool)
lithon_SDL_ISCOLORSPACE_MATRIX_BT709 :: FunPtr (SDL_Colorspace -> IO CBool)
lithon_SDL_ISCOLORSPACE_MATRIX_BT709 =
IO (FunPtr (SDL_Colorspace -> IO CBool))
-> FunPtr (SDL_Colorspace -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_Colorspace -> IO CBool))
hs_bindgen_46d1d547630c76e0
foreign import ccall unsafe "hs_bindgen_bdde99e14eee3d4d"
hs_bindgen_bdde99e14eee3d4d_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_bdde99e14eee3d4d
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_Colorspace -> IO BG.CBool))
hs_bindgen_bdde99e14eee3d4d :: IO (FunPtr (SDL_Colorspace -> IO CBool))
hs_bindgen_bdde99e14eee3d4d =
(FunPtr Void -> FunPtr (SDL_Colorspace -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (SDL_Colorspace -> 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_Colorspace -> IO CBool)
FFIType (FunPtr (SDL_Colorspace -> IO CBool))
-> FunPtr (SDL_Colorspace -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_bdde99e14eee3d4d_base
{-# NOINLINE lithon_SDL_ISCOLORSPACE_MATRIX_BT2020_NCL #-}
lithon_SDL_ISCOLORSPACE_MATRIX_BT2020_NCL
:: BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_Colorspace -> IO BG.CBool)
lithon_SDL_ISCOLORSPACE_MATRIX_BT2020_NCL :: FunPtr (SDL_Colorspace -> IO CBool)
lithon_SDL_ISCOLORSPACE_MATRIX_BT2020_NCL =
IO (FunPtr (SDL_Colorspace -> IO CBool))
-> FunPtr (SDL_Colorspace -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_Colorspace -> IO CBool))
hs_bindgen_bdde99e14eee3d4d
foreign import ccall unsafe "hs_bindgen_7383ccedffa9acae"
hs_bindgen_7383ccedffa9acae_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_7383ccedffa9acae
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_Colorspace -> IO BG.CBool))
hs_bindgen_7383ccedffa9acae :: IO (FunPtr (SDL_Colorspace -> IO CBool))
hs_bindgen_7383ccedffa9acae =
(FunPtr Void -> FunPtr (SDL_Colorspace -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (SDL_Colorspace -> 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_Colorspace -> IO CBool)
FFIType (FunPtr (SDL_Colorspace -> IO CBool))
-> FunPtr (SDL_Colorspace -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_7383ccedffa9acae_base
{-# NOINLINE lithon_SDL_ISCOLORSPACE_LIMITED_RANGE #-}
lithon_SDL_ISCOLORSPACE_LIMITED_RANGE
:: BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_Colorspace -> IO BG.CBool)
lithon_SDL_ISCOLORSPACE_LIMITED_RANGE :: FunPtr (SDL_Colorspace -> IO CBool)
lithon_SDL_ISCOLORSPACE_LIMITED_RANGE =
IO (FunPtr (SDL_Colorspace -> IO CBool))
-> FunPtr (SDL_Colorspace -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_Colorspace -> IO CBool))
hs_bindgen_7383ccedffa9acae
foreign import ccall unsafe "hs_bindgen_2304b4d429bcb1a4"
hs_bindgen_2304b4d429bcb1a4_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_2304b4d429bcb1a4
:: IO (BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_Colorspace -> IO BG.CBool))
hs_bindgen_2304b4d429bcb1a4 :: IO (FunPtr (SDL_Colorspace -> IO CBool))
hs_bindgen_2304b4d429bcb1a4 =
(FunPtr Void -> FunPtr (SDL_Colorspace -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (SDL_Colorspace -> 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_Colorspace -> IO CBool)
FFIType (FunPtr (SDL_Colorspace -> IO CBool))
-> FunPtr (SDL_Colorspace -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_2304b4d429bcb1a4_base
{-# NOINLINE lithon_SDL_ISCOLORSPACE_FULL_RANGE #-}
lithon_SDL_ISCOLORSPACE_FULL_RANGE
:: BG.FunPtr (SDL3.Sys.Bindgen.Pixels.SDL_Colorspace -> IO BG.CBool)
lithon_SDL_ISCOLORSPACE_FULL_RANGE :: FunPtr (SDL_Colorspace -> IO CBool)
lithon_SDL_ISCOLORSPACE_FULL_RANGE =
IO (FunPtr (SDL_Colorspace -> IO CBool))
-> FunPtr (SDL_Colorspace -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (SDL_Colorspace -> IO CBool))
hs_bindgen_2304b4d429bcb1a4