{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Iostream.Safe (
SDL3.Sys.Bindgen.Iostream.Safe.sDL_IOFromFile,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_IOFromMem,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_IOFromConstMem,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_IOFromDynamicMem,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_OpenIO,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_CloseIO,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_GetIOProperties,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_GetIOStatus,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_GetIOSize,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_SeekIO,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_TellIO,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_ReadIO,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_WriteIO,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_FlushIO,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_LoadFile_IO,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_LoadFile,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_SaveFile_IO,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_SaveFile,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_ReadU8,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_ReadS8,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_ReadU16LE,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_ReadS16LE,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_ReadU16BE,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_ReadS16BE,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_ReadU32LE,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_ReadS32LE,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_ReadU32BE,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_ReadS32BE,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_ReadU64LE,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_ReadS64LE,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_ReadU64BE,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_ReadS64BE,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_WriteU8,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_WriteS8,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_WriteU16LE,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_WriteS16LE,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_WriteU16BE,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_WriteS16BE,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_WriteU32LE,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_WriteS32LE,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_WriteU32BE,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_WriteS32BE,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_WriteU64LE,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_WriteS64LE,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_WriteU64BE,
SDL3.Sys.Bindgen.Iostream.Safe.sDL_WriteS64BE,
)
where
import Prelude (IO, fmap)
import HsBindgen.Runtime.LibC qualified
import HsBindgen.Runtime.PtrConst qualified as PtrConst
import HsBindgen.Runtime.Support qualified as BG
import HsBindgen.Runtime.Support.CAPI qualified
import SDL3.Sys.Bindgen.Iostream
import SDL3.Sys.Bindgen.Properties 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/SDL_iostream.h>"
, "SDL_IOStream *hs_bindgen_34e479a8367942af ("
, " char const *arg1,"
, " char const *arg2"
, ")"
, "{"
, " return (SDL_IOFromFile)(arg1, arg2);"
, "}"
, "SDL_IOStream *hs_bindgen_cf3ad24eb5c5fc0a ("
, " void *arg1,"
, " size_t arg2"
, ")"
, "{"
, " return (SDL_IOFromMem)(arg1, arg2);"
, "}"
, "SDL_IOStream *hs_bindgen_5e86d852c63fbcca ("
, " void const *arg1,"
, " size_t arg2"
, ")"
, "{"
, " return (SDL_IOFromConstMem)(arg1, arg2);"
, "}"
, "SDL_IOStream *hs_bindgen_683cd141fd8245a6 (void)"
, "{"
, " return (SDL_IOFromDynamicMem)();"
, "}"
, "SDL_IOStream *hs_bindgen_03754d9f752b3672 ("
, " SDL_IOStreamInterface const *arg1,"
, " void *arg2"
, ")"
, "{"
, " return (SDL_OpenIO)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_3194e5e921bc697c ("
, " SDL_IOStream *arg1"
, ")"
, "{"
, " return (SDL_CloseIO)(arg1);"
, "}"
, "SDL_PropertiesID hs_bindgen_16a31766d73c85ef ("
, " SDL_IOStream *arg1"
, ")"
, "{"
, " return (SDL_GetIOProperties)(arg1);"
, "}"
, "SDL_IOStatus hs_bindgen_aa2e9a65d05ce21f ("
, " SDL_IOStream *arg1"
, ")"
, "{"
, " return (SDL_GetIOStatus)(arg1);"
, "}"
, "Sint64 hs_bindgen_54da1584c7a84cda ("
, " SDL_IOStream *arg1"
, ")"
, "{"
, " return (SDL_GetIOSize)(arg1);"
, "}"
, "Sint64 hs_bindgen_0c3b6f6c9596a5d8 ("
, " SDL_IOStream *arg1,"
, " Sint64 arg2,"
, " SDL_IOWhence arg3"
, ")"
, "{"
, " return (SDL_SeekIO)(arg1, arg2, arg3);"
, "}"
, "Sint64 hs_bindgen_094df7d1bb2e26ac ("
, " SDL_IOStream *arg1"
, ")"
, "{"
, " return (SDL_TellIO)(arg1);"
, "}"
, "size_t hs_bindgen_04c1c6ca873e76fc ("
, " SDL_IOStream *arg1,"
, " void *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return (SDL_ReadIO)(arg1, arg2, arg3);"
, "}"
, "size_t hs_bindgen_ec9c16b5e587afb8 ("
, " SDL_IOStream *arg1,"
, " void const *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return (SDL_WriteIO)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_bbb89fd7a1a95596 ("
, " SDL_IOStream *arg1"
, ")"
, "{"
, " return (SDL_FlushIO)(arg1);"
, "}"
, "void *hs_bindgen_8fefdb56bfbc407b ("
, " SDL_IOStream *arg1,"
, " size_t *arg2,"
, " _Bool arg3"
, ")"
, "{"
, " return (SDL_LoadFile_IO)(arg1, arg2, arg3);"
, "}"
, "void *hs_bindgen_3ffc176218094904 ("
, " char const *arg1,"
, " size_t *arg2"
, ")"
, "{"
, " return (SDL_LoadFile)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_ee2bf39575dd56cd ("
, " SDL_IOStream *arg1,"
, " void const *arg2,"
, " size_t arg3,"
, " _Bool arg4"
, ")"
, "{"
, " return (SDL_SaveFile_IO)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_1157ae79ba240b92 ("
, " char const *arg1,"
, " void const *arg2,"
, " size_t arg3"
, ")"
, "{"
, " return (SDL_SaveFile)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_9458dbc19d3102af ("
, " SDL_IOStream *arg1,"
, " Uint8 *arg2"
, ")"
, "{"
, " return (SDL_ReadU8)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_9ef691b554f38735 ("
, " SDL_IOStream *arg1,"
, " Sint8 *arg2"
, ")"
, "{"
, " return (SDL_ReadS8)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_312b11f2676e3c2f ("
, " SDL_IOStream *arg1,"
, " Uint16 *arg2"
, ")"
, "{"
, " return (SDL_ReadU16LE)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_bfc3c7dd523a2b73 ("
, " SDL_IOStream *arg1,"
, " Sint16 *arg2"
, ")"
, "{"
, " return (SDL_ReadS16LE)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_9b3b157e729c0965 ("
, " SDL_IOStream *arg1,"
, " Uint16 *arg2"
, ")"
, "{"
, " return (SDL_ReadU16BE)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_53f6414a33954d51 ("
, " SDL_IOStream *arg1,"
, " Sint16 *arg2"
, ")"
, "{"
, " return (SDL_ReadS16BE)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_cf9bb68f7e8594b1 ("
, " SDL_IOStream *arg1,"
, " Uint32 *arg2"
, ")"
, "{"
, " return (SDL_ReadU32LE)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_e2c2855a2483a810 ("
, " SDL_IOStream *arg1,"
, " Sint32 *arg2"
, ")"
, "{"
, " return (SDL_ReadS32LE)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_8cce948b1185d898 ("
, " SDL_IOStream *arg1,"
, " Uint32 *arg2"
, ")"
, "{"
, " return (SDL_ReadU32BE)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_74529309d09c0236 ("
, " SDL_IOStream *arg1,"
, " Sint32 *arg2"
, ")"
, "{"
, " return (SDL_ReadS32BE)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_a50de42944661366 ("
, " SDL_IOStream *arg1,"
, " Uint64 *arg2"
, ")"
, "{"
, " return (SDL_ReadU64LE)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_5dc23c0193ff348f ("
, " SDL_IOStream *arg1,"
, " Sint64 *arg2"
, ")"
, "{"
, " return (SDL_ReadS64LE)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_5c7313fe19df3bc5 ("
, " SDL_IOStream *arg1,"
, " Uint64 *arg2"
, ")"
, "{"
, " return (SDL_ReadU64BE)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_77cc43bf1b465b08 ("
, " SDL_IOStream *arg1,"
, " Sint64 *arg2"
, ")"
, "{"
, " return (SDL_ReadS64BE)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_06be6eeabea4ef7e ("
, " SDL_IOStream *arg1,"
, " Uint8 arg2"
, ")"
, "{"
, " return (SDL_WriteU8)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_b7f1551a531fd2e5 ("
, " SDL_IOStream *arg1,"
, " Sint8 arg2"
, ")"
, "{"
, " return (SDL_WriteS8)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_dc258899c026cf6f ("
, " SDL_IOStream *arg1,"
, " Uint16 arg2"
, ")"
, "{"
, " return (SDL_WriteU16LE)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_a1111b4c96df3259 ("
, " SDL_IOStream *arg1,"
, " Sint16 arg2"
, ")"
, "{"
, " return (SDL_WriteS16LE)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_a4cb3983fa64c5c7 ("
, " SDL_IOStream *arg1,"
, " Uint16 arg2"
, ")"
, "{"
, " return (SDL_WriteU16BE)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_161a5c3e908403a2 ("
, " SDL_IOStream *arg1,"
, " Sint16 arg2"
, ")"
, "{"
, " return (SDL_WriteS16BE)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_ae468e82155587e1 ("
, " SDL_IOStream *arg1,"
, " Uint32 arg2"
, ")"
, "{"
, " return (SDL_WriteU32LE)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_175539b403c6fd0c ("
, " SDL_IOStream *arg1,"
, " Sint32 arg2"
, ")"
, "{"
, " return (SDL_WriteS32LE)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_f6e00995ced904a6 ("
, " SDL_IOStream *arg1,"
, " Uint32 arg2"
, ")"
, "{"
, " return (SDL_WriteU32BE)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_7986b77b455fd8d4 ("
, " SDL_IOStream *arg1,"
, " Sint32 arg2"
, ")"
, "{"
, " return (SDL_WriteS32BE)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_065f64617e3e327c ("
, " SDL_IOStream *arg1,"
, " Uint64 arg2"
, ")"
, "{"
, " return (SDL_WriteU64LE)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_846e3f81a5b9c657 ("
, " SDL_IOStream *arg1,"
, " Sint64 arg2"
, ")"
, "{"
, " return (SDL_WriteS64LE)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_8f9d3f23bd1a20e7 ("
, " SDL_IOStream *arg1,"
, " Uint64 arg2"
, ")"
, "{"
, " return (SDL_WriteU64BE)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_ef095eaa3e7cb9b4 ("
, " SDL_IOStream *arg1,"
, " Sint64 arg2"
, ")"
, "{"
, " return (SDL_WriteS64BE)(arg1, arg2);"
, "}"
]
)
)
foreign import ccall safe "hs_bindgen_34e479a8367942af"
hs_bindgen_34e479a8367942af_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_34e479a8367942af
:: PtrConst.PtrConst BG.CChar
-> PtrConst.PtrConst BG.CChar
-> IO (BG.Ptr SDL_IOStream)
hs_bindgen_34e479a8367942af :: PtrConst CChar -> PtrConst CChar -> IO (Ptr SDL_IOStream)
hs_bindgen_34e479a8367942af =
\PtrConst CChar
x0 ->
\PtrConst CChar
x1 ->
(Ptr Void -> Ptr SDL_IOStream)
-> IO (Ptr Void) -> IO (Ptr SDL_IOStream)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_IOStream
FFIType (Ptr SDL_IOStream) -> Ptr SDL_IOStream
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO (Ptr Void)
hs_bindgen_34e479a8367942af_base (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x0) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x1))
sDL_IOFromFile
:: PtrConst.PtrConst BG.CChar
-> PtrConst.PtrConst BG.CChar
-> IO (BG.Ptr SDL_IOStream)
sDL_IOFromFile :: PtrConst CChar -> PtrConst CChar -> IO (Ptr SDL_IOStream)
sDL_IOFromFile = PtrConst CChar -> PtrConst CChar -> IO (Ptr SDL_IOStream)
hs_bindgen_34e479a8367942af
foreign import ccall safe "hs_bindgen_cf3ad24eb5c5fc0a"
hs_bindgen_cf3ad24eb5c5fc0a_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO (BG.Ptr BG.Void)
hs_bindgen_cf3ad24eb5c5fc0a
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO (BG.Ptr SDL_IOStream)
hs_bindgen_cf3ad24eb5c5fc0a :: Ptr Void -> CSize -> IO (Ptr SDL_IOStream)
hs_bindgen_cf3ad24eb5c5fc0a =
\Ptr Void
x0 ->
\CSize
x1 ->
(Ptr Void -> Ptr SDL_IOStream)
-> IO (Ptr Void) -> IO (Ptr SDL_IOStream)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_IOStream
FFIType (Ptr SDL_IOStream) -> Ptr SDL_IOStream
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> CSize -> IO (Ptr Void)
hs_bindgen_cf3ad24eb5c5fc0a_base (Ptr Void -> FFIType (Ptr Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Void
x0) (CSize -> FFIType CSize
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CSize
x1))
sDL_IOFromMem
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO (BG.Ptr SDL_IOStream)
sDL_IOFromMem :: Ptr Void -> CSize -> IO (Ptr SDL_IOStream)
sDL_IOFromMem = Ptr Void -> CSize -> IO (Ptr SDL_IOStream)
hs_bindgen_cf3ad24eb5c5fc0a
foreign import ccall safe "hs_bindgen_5e86d852c63fbcca"
hs_bindgen_5e86d852c63fbcca_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO (BG.Ptr BG.Void)
hs_bindgen_5e86d852c63fbcca
:: PtrConst.PtrConst BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO (BG.Ptr SDL_IOStream)
hs_bindgen_5e86d852c63fbcca :: PtrConst Void -> CSize -> IO (Ptr SDL_IOStream)
hs_bindgen_5e86d852c63fbcca =
\PtrConst Void
x0 ->
\CSize
x1 ->
(Ptr Void -> Ptr SDL_IOStream)
-> IO (Ptr Void) -> IO (Ptr SDL_IOStream)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_IOStream
FFIType (Ptr SDL_IOStream) -> Ptr SDL_IOStream
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> CSize -> IO (Ptr Void)
hs_bindgen_5e86d852c63fbcca_base (PtrConst Void -> FFIType (PtrConst Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst Void
x0) (CSize -> FFIType CSize
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CSize
x1))
sDL_IOFromConstMem
:: PtrConst.PtrConst BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO (BG.Ptr SDL_IOStream)
sDL_IOFromConstMem :: PtrConst Void -> CSize -> IO (Ptr SDL_IOStream)
sDL_IOFromConstMem = PtrConst Void -> CSize -> IO (Ptr SDL_IOStream)
hs_bindgen_5e86d852c63fbcca
foreign import ccall safe "hs_bindgen_683cd141fd8245a6"
hs_bindgen_683cd141fd8245a6_base
:: IO (BG.Ptr BG.Void)
hs_bindgen_683cd141fd8245a6 :: IO (BG.Ptr SDL_IOStream)
hs_bindgen_683cd141fd8245a6 :: IO (Ptr SDL_IOStream)
hs_bindgen_683cd141fd8245a6 =
(Ptr Void -> Ptr SDL_IOStream)
-> IO (Ptr Void) -> IO (Ptr SDL_IOStream)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_IOStream
FFIType (Ptr SDL_IOStream) -> Ptr SDL_IOStream
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (Ptr Void)
hs_bindgen_683cd141fd8245a6_base
sDL_IOFromDynamicMem :: IO (BG.Ptr SDL_IOStream)
sDL_IOFromDynamicMem :: IO (Ptr SDL_IOStream)
sDL_IOFromDynamicMem = IO (Ptr SDL_IOStream)
hs_bindgen_683cd141fd8245a6
foreign import ccall safe "hs_bindgen_03754d9f752b3672"
hs_bindgen_03754d9f752b3672_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_03754d9f752b3672
:: PtrConst.PtrConst SDL_IOStreamInterface
-> BG.Ptr BG.Void
-> IO (BG.Ptr SDL_IOStream)
hs_bindgen_03754d9f752b3672 :: PtrConst SDL_IOStreamInterface -> Ptr Void -> IO (Ptr SDL_IOStream)
hs_bindgen_03754d9f752b3672 =
\PtrConst SDL_IOStreamInterface
x0 ->
\Ptr Void
x1 ->
(Ptr Void -> Ptr SDL_IOStream)
-> IO (Ptr Void) -> IO (Ptr SDL_IOStream)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_IOStream
FFIType (Ptr SDL_IOStream) -> Ptr SDL_IOStream
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO (Ptr Void)
hs_bindgen_03754d9f752b3672_base (PtrConst SDL_IOStreamInterface
-> FFIType (PtrConst SDL_IOStreamInterface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_IOStreamInterface
x0) (Ptr Void -> FFIType (Ptr Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Void
x1))
sDL_OpenIO
:: PtrConst.PtrConst SDL_IOStreamInterface
-> BG.Ptr BG.Void
-> IO (BG.Ptr SDL_IOStream)
sDL_OpenIO :: PtrConst SDL_IOStreamInterface -> Ptr Void -> IO (Ptr SDL_IOStream)
sDL_OpenIO = PtrConst SDL_IOStreamInterface -> Ptr Void -> IO (Ptr SDL_IOStream)
hs_bindgen_03754d9f752b3672
foreign import ccall safe "hs_bindgen_3194e5e921bc697c"
hs_bindgen_3194e5e921bc697c_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_3194e5e921bc697c
:: BG.Ptr SDL_IOStream
-> IO BG.CBool
hs_bindgen_3194e5e921bc697c :: Ptr SDL_IOStream -> IO CBool
hs_bindgen_3194e5e921bc697c =
\Ptr SDL_IOStream
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_3194e5e921bc697c_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0))
sDL_CloseIO
:: BG.Ptr SDL_IOStream
-> IO BG.CBool
sDL_CloseIO :: Ptr SDL_IOStream -> IO CBool
sDL_CloseIO = Ptr SDL_IOStream -> IO CBool
hs_bindgen_3194e5e921bc697c
foreign import ccall safe "hs_bindgen_16a31766d73c85ef"
hs_bindgen_16a31766d73c85ef_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_16a31766d73c85ef
:: BG.Ptr SDL_IOStream
-> IO SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
hs_bindgen_16a31766d73c85ef :: Ptr SDL_IOStream -> IO SDL_PropertiesID
hs_bindgen_16a31766d73c85ef =
\Ptr SDL_IOStream
x0 ->
(Word32 -> SDL_PropertiesID) -> IO Word32 -> IO SDL_PropertiesID
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Word32 -> SDL_PropertiesID
FFIType SDL_PropertiesID -> SDL_PropertiesID
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO Word32
hs_bindgen_16a31766d73c85ef_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0))
sDL_GetIOProperties
:: BG.Ptr SDL_IOStream
-> IO SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
sDL_GetIOProperties :: Ptr SDL_IOStream -> IO SDL_PropertiesID
sDL_GetIOProperties = Ptr SDL_IOStream -> IO SDL_PropertiesID
hs_bindgen_16a31766d73c85ef
foreign import ccall safe "hs_bindgen_aa2e9a65d05ce21f"
hs_bindgen_aa2e9a65d05ce21f_base
:: BG.Ptr BG.Void
-> IO BG.CUInt
hs_bindgen_aa2e9a65d05ce21f
:: BG.Ptr SDL_IOStream
-> IO SDL_IOStatus
hs_bindgen_aa2e9a65d05ce21f :: Ptr SDL_IOStream -> IO SDL_IOStatus
hs_bindgen_aa2e9a65d05ce21f =
\Ptr SDL_IOStream
x0 ->
(CUInt -> SDL_IOStatus) -> IO CUInt -> IO SDL_IOStatus
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CUInt -> SDL_IOStatus
FFIType SDL_IOStatus -> SDL_IOStatus
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CUInt
hs_bindgen_aa2e9a65d05ce21f_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0))
sDL_GetIOStatus
:: BG.Ptr SDL_IOStream
-> IO SDL_IOStatus
sDL_GetIOStatus :: Ptr SDL_IOStream -> IO SDL_IOStatus
sDL_GetIOStatus = Ptr SDL_IOStream -> IO SDL_IOStatus
hs_bindgen_aa2e9a65d05ce21f
foreign import ccall safe "hs_bindgen_54da1584c7a84cda"
hs_bindgen_54da1584c7a84cda_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Int64
hs_bindgen_54da1584c7a84cda
:: BG.Ptr SDL_IOStream
-> IO SDL3.Sys.Bindgen.Stdinc.Sint64
hs_bindgen_54da1584c7a84cda :: Ptr SDL_IOStream -> IO Sint64
hs_bindgen_54da1584c7a84cda =
\Ptr SDL_IOStream
x0 ->
(Int64 -> Sint64) -> IO Int64 -> IO Sint64
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Int64 -> Sint64
FFIType Sint64 -> Sint64
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO Int64
hs_bindgen_54da1584c7a84cda_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0))
sDL_GetIOSize
:: BG.Ptr SDL_IOStream
-> IO SDL3.Sys.Bindgen.Stdinc.Sint64
sDL_GetIOSize :: Ptr SDL_IOStream -> IO Sint64
sDL_GetIOSize = Ptr SDL_IOStream -> IO Sint64
hs_bindgen_54da1584c7a84cda
foreign import ccall safe "hs_bindgen_0c3b6f6c9596a5d8"
hs_bindgen_0c3b6f6c9596a5d8_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Int64
-> BG.CUInt
-> IO HsBindgen.Runtime.LibC.Int64
hs_bindgen_0c3b6f6c9596a5d8
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Sint64
-> SDL_IOWhence
-> IO SDL3.Sys.Bindgen.Stdinc.Sint64
hs_bindgen_0c3b6f6c9596a5d8 :: Ptr SDL_IOStream -> Sint64 -> SDL_IOWhence -> IO Sint64
hs_bindgen_0c3b6f6c9596a5d8 =
\Ptr SDL_IOStream
x0 ->
\Sint64
x1 ->
\SDL_IOWhence
x2 ->
(Int64 -> Sint64) -> IO Int64 -> IO Sint64
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
Int64 -> Sint64
FFIType Sint64 -> Sint64
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Int64 -> CUInt -> IO Int64
hs_bindgen_0c3b6f6c9596a5d8_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Sint64 -> FFIType Sint64
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Sint64
x1) (SDL_IOWhence -> FFIType SDL_IOWhence
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_IOWhence
x2))
sDL_SeekIO
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Sint64
-> SDL_IOWhence
-> IO SDL3.Sys.Bindgen.Stdinc.Sint64
sDL_SeekIO :: Ptr SDL_IOStream -> Sint64 -> SDL_IOWhence -> IO Sint64
sDL_SeekIO = Ptr SDL_IOStream -> Sint64 -> SDL_IOWhence -> IO Sint64
hs_bindgen_0c3b6f6c9596a5d8
foreign import ccall safe "hs_bindgen_094df7d1bb2e26ac"
hs_bindgen_094df7d1bb2e26ac_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Int64
hs_bindgen_094df7d1bb2e26ac
:: BG.Ptr SDL_IOStream
-> IO SDL3.Sys.Bindgen.Stdinc.Sint64
hs_bindgen_094df7d1bb2e26ac :: Ptr SDL_IOStream -> IO Sint64
hs_bindgen_094df7d1bb2e26ac =
\Ptr SDL_IOStream
x0 ->
(Int64 -> Sint64) -> IO Int64 -> IO Sint64
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Int64 -> Sint64
FFIType Sint64 -> Sint64
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO Int64
hs_bindgen_094df7d1bb2e26ac_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0))
sDL_TellIO
:: BG.Ptr SDL_IOStream
-> IO SDL3.Sys.Bindgen.Stdinc.Sint64
sDL_TellIO :: Ptr SDL_IOStream -> IO Sint64
sDL_TellIO = Ptr SDL_IOStream -> IO Sint64
hs_bindgen_094df7d1bb2e26ac
foreign import ccall safe "hs_bindgen_04c1c6ca873e76fc"
hs_bindgen_04c1c6ca873e76fc_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO HsBindgen.Runtime.LibC.CSize
hs_bindgen_04c1c6ca873e76fc
:: BG.Ptr SDL_IOStream
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO HsBindgen.Runtime.LibC.CSize
hs_bindgen_04c1c6ca873e76fc :: Ptr SDL_IOStream -> Ptr Void -> CSize -> IO CSize
hs_bindgen_04c1c6ca873e76fc =
\Ptr SDL_IOStream
x0 ->
\Ptr Void
x1 ->
\CSize
x2 ->
(CSize -> CSize) -> IO CSize -> IO CSize
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CSize -> CSize
FFIType CSize -> CSize
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> CSize -> IO CSize
hs_bindgen_04c1c6ca873e76fc_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Ptr Void -> FFIType (Ptr Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Void
x1) (CSize -> FFIType CSize
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CSize
x2))
sDL_ReadIO
:: BG.Ptr SDL_IOStream
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO HsBindgen.Runtime.LibC.CSize
sDL_ReadIO :: Ptr SDL_IOStream -> Ptr Void -> CSize -> IO CSize
sDL_ReadIO = Ptr SDL_IOStream -> Ptr Void -> CSize -> IO CSize
hs_bindgen_04c1c6ca873e76fc
foreign import ccall safe "hs_bindgen_ec9c16b5e587afb8"
hs_bindgen_ec9c16b5e587afb8_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO HsBindgen.Runtime.LibC.CSize
hs_bindgen_ec9c16b5e587afb8
:: BG.Ptr SDL_IOStream
-> PtrConst.PtrConst BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO HsBindgen.Runtime.LibC.CSize
hs_bindgen_ec9c16b5e587afb8 :: Ptr SDL_IOStream -> PtrConst Void -> CSize -> IO CSize
hs_bindgen_ec9c16b5e587afb8 =
\Ptr SDL_IOStream
x0 ->
\PtrConst Void
x1 ->
\CSize
x2 ->
(CSize -> CSize) -> IO CSize -> IO CSize
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CSize -> CSize
FFIType CSize -> CSize
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> CSize -> IO CSize
hs_bindgen_ec9c16b5e587afb8_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (PtrConst Void -> FFIType (PtrConst Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst Void
x1) (CSize -> FFIType CSize
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CSize
x2))
sDL_WriteIO
:: BG.Ptr SDL_IOStream
-> PtrConst.PtrConst BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO HsBindgen.Runtime.LibC.CSize
sDL_WriteIO :: Ptr SDL_IOStream -> PtrConst Void -> CSize -> IO CSize
sDL_WriteIO = Ptr SDL_IOStream -> PtrConst Void -> CSize -> IO CSize
hs_bindgen_ec9c16b5e587afb8
foreign import ccall safe "hs_bindgen_bbb89fd7a1a95596"
hs_bindgen_bbb89fd7a1a95596_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_bbb89fd7a1a95596
:: BG.Ptr SDL_IOStream
-> IO BG.CBool
hs_bindgen_bbb89fd7a1a95596 :: Ptr SDL_IOStream -> IO CBool
hs_bindgen_bbb89fd7a1a95596 =
\Ptr SDL_IOStream
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_bbb89fd7a1a95596_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0))
sDL_FlushIO
:: BG.Ptr SDL_IOStream
-> IO BG.CBool
sDL_FlushIO :: Ptr SDL_IOStream -> IO CBool
sDL_FlushIO = Ptr SDL_IOStream -> IO CBool
hs_bindgen_bbb89fd7a1a95596
foreign import ccall safe "hs_bindgen_8fefdb56bfbc407b"
hs_bindgen_8fefdb56bfbc407b_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CBool
-> IO (BG.Ptr BG.Void)
hs_bindgen_8fefdb56bfbc407b
:: BG.Ptr SDL_IOStream
-> BG.Ptr HsBindgen.Runtime.LibC.CSize
-> BG.CBool
-> IO (BG.Ptr BG.Void)
hs_bindgen_8fefdb56bfbc407b :: Ptr SDL_IOStream -> Ptr CSize -> CBool -> IO (Ptr Void)
hs_bindgen_8fefdb56bfbc407b =
\Ptr SDL_IOStream
x0 ->
\Ptr CSize
x1 ->
\CBool
x2 ->
(Ptr Void -> Ptr Void) -> IO (Ptr Void) -> IO (Ptr Void)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
Ptr Void -> Ptr Void
FFIType (Ptr Void) -> Ptr Void
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> CBool -> IO (Ptr Void)
hs_bindgen_8fefdb56bfbc407b_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Ptr CSize -> FFIType (Ptr CSize)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CSize
x1) (CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x2))
sDL_LoadFile_IO
:: BG.Ptr SDL_IOStream
-> BG.Ptr HsBindgen.Runtime.LibC.CSize
-> BG.CBool
-> IO (BG.Ptr BG.Void)
sDL_LoadFile_IO :: Ptr SDL_IOStream -> Ptr CSize -> CBool -> IO (Ptr Void)
sDL_LoadFile_IO = Ptr SDL_IOStream -> Ptr CSize -> CBool -> IO (Ptr Void)
hs_bindgen_8fefdb56bfbc407b
foreign import ccall safe "hs_bindgen_3ffc176218094904"
hs_bindgen_3ffc176218094904_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_3ffc176218094904
:: PtrConst.PtrConst BG.CChar
-> BG.Ptr HsBindgen.Runtime.LibC.CSize
-> IO (BG.Ptr BG.Void)
hs_bindgen_3ffc176218094904 :: PtrConst CChar -> Ptr CSize -> IO (Ptr Void)
hs_bindgen_3ffc176218094904 =
\PtrConst CChar
x0 ->
\Ptr CSize
x1 ->
(Ptr Void -> Ptr Void) -> IO (Ptr Void) -> IO (Ptr Void)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr Void
FFIType (Ptr Void) -> Ptr Void
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO (Ptr Void)
hs_bindgen_3ffc176218094904_base (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x0) (Ptr CSize -> FFIType (Ptr CSize)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CSize
x1))
sDL_LoadFile
:: PtrConst.PtrConst BG.CChar
-> BG.Ptr HsBindgen.Runtime.LibC.CSize
-> IO (BG.Ptr BG.Void)
sDL_LoadFile :: PtrConst CChar -> Ptr CSize -> IO (Ptr Void)
sDL_LoadFile = PtrConst CChar -> Ptr CSize -> IO (Ptr Void)
hs_bindgen_3ffc176218094904
foreign import ccall safe "hs_bindgen_ee2bf39575dd56cd"
hs_bindgen_ee2bf39575dd56cd_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> BG.CBool
-> IO BG.CBool
hs_bindgen_ee2bf39575dd56cd
:: BG.Ptr SDL_IOStream
-> PtrConst.PtrConst BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> BG.CBool
-> IO BG.CBool
hs_bindgen_ee2bf39575dd56cd :: Ptr SDL_IOStream -> PtrConst Void -> CSize -> CBool -> IO CBool
hs_bindgen_ee2bf39575dd56cd =
\Ptr SDL_IOStream
x0 ->
\PtrConst Void
x1 ->
\CSize
x2 ->
\CBool
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 -> Ptr Void -> CSize -> CBool -> IO CBool
hs_bindgen_ee2bf39575dd56cd_base
(Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0)
(PtrConst Void -> FFIType (PtrConst Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst Void
x1)
(CSize -> FFIType CSize
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CSize
x2)
(CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x3)
)
sDL_SaveFile_IO
:: BG.Ptr SDL_IOStream
-> PtrConst.PtrConst BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> BG.CBool
-> IO BG.CBool
sDL_SaveFile_IO :: Ptr SDL_IOStream -> PtrConst Void -> CSize -> CBool -> IO CBool
sDL_SaveFile_IO = Ptr SDL_IOStream -> PtrConst Void -> CSize -> CBool -> IO CBool
hs_bindgen_ee2bf39575dd56cd
foreign import ccall safe "hs_bindgen_1157ae79ba240b92"
hs_bindgen_1157ae79ba240b92_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CBool
hs_bindgen_1157ae79ba240b92
:: PtrConst.PtrConst BG.CChar
-> PtrConst.PtrConst BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CBool
hs_bindgen_1157ae79ba240b92 :: PtrConst CChar -> PtrConst Void -> CSize -> IO CBool
hs_bindgen_1157ae79ba240b92 =
\PtrConst CChar
x0 ->
\PtrConst Void
x1 ->
\CSize
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 -> CSize -> IO CBool
hs_bindgen_1157ae79ba240b92_base (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x0) (PtrConst Void -> FFIType (PtrConst Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst Void
x1) (CSize -> FFIType CSize
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CSize
x2))
sDL_SaveFile
:: PtrConst.PtrConst BG.CChar
-> PtrConst.PtrConst BG.Void
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CBool
sDL_SaveFile :: PtrConst CChar -> PtrConst Void -> CSize -> IO CBool
sDL_SaveFile = PtrConst CChar -> PtrConst Void -> CSize -> IO CBool
hs_bindgen_1157ae79ba240b92
foreign import ccall safe "hs_bindgen_9458dbc19d3102af"
hs_bindgen_9458dbc19d3102af_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_9458dbc19d3102af
:: BG.Ptr SDL_IOStream
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
hs_bindgen_9458dbc19d3102af :: Ptr SDL_IOStream -> Ptr Uint8 -> IO CBool
hs_bindgen_9458dbc19d3102af =
\Ptr SDL_IOStream
x0 ->
\Ptr Uint8
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_9458dbc19d3102af_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Ptr Uint8 -> FFIType (Ptr Uint8)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Uint8
x1))
sDL_ReadU8
:: BG.Ptr SDL_IOStream
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
sDL_ReadU8 :: Ptr SDL_IOStream -> Ptr Uint8 -> IO CBool
sDL_ReadU8 = Ptr SDL_IOStream -> Ptr Uint8 -> IO CBool
hs_bindgen_9458dbc19d3102af
foreign import ccall safe "hs_bindgen_9ef691b554f38735"
hs_bindgen_9ef691b554f38735_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_9ef691b554f38735
:: BG.Ptr SDL_IOStream
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Sint8
-> IO BG.CBool
hs_bindgen_9ef691b554f38735 :: Ptr SDL_IOStream -> Ptr Sint8 -> IO CBool
hs_bindgen_9ef691b554f38735 =
\Ptr SDL_IOStream
x0 ->
\Ptr Sint8
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_9ef691b554f38735_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Ptr Sint8 -> FFIType (Ptr Sint8)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Sint8
x1))
sDL_ReadS8
:: BG.Ptr SDL_IOStream
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Sint8
-> IO BG.CBool
sDL_ReadS8 :: Ptr SDL_IOStream -> Ptr Sint8 -> IO CBool
sDL_ReadS8 = Ptr SDL_IOStream -> Ptr Sint8 -> IO CBool
hs_bindgen_9ef691b554f38735
foreign import ccall safe "hs_bindgen_312b11f2676e3c2f"
hs_bindgen_312b11f2676e3c2f_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_312b11f2676e3c2f
:: BG.Ptr SDL_IOStream
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint16
-> IO BG.CBool
hs_bindgen_312b11f2676e3c2f :: Ptr SDL_IOStream -> Ptr Uint16 -> IO CBool
hs_bindgen_312b11f2676e3c2f =
\Ptr SDL_IOStream
x0 ->
\Ptr Uint16
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_312b11f2676e3c2f_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Ptr Uint16 -> FFIType (Ptr Uint16)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Uint16
x1))
sDL_ReadU16LE
:: BG.Ptr SDL_IOStream
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint16
-> IO BG.CBool
sDL_ReadU16LE :: Ptr SDL_IOStream -> Ptr Uint16 -> IO CBool
sDL_ReadU16LE = Ptr SDL_IOStream -> Ptr Uint16 -> IO CBool
hs_bindgen_312b11f2676e3c2f
foreign import ccall safe "hs_bindgen_bfc3c7dd523a2b73"
hs_bindgen_bfc3c7dd523a2b73_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_bfc3c7dd523a2b73
:: BG.Ptr SDL_IOStream
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Sint16
-> IO BG.CBool
hs_bindgen_bfc3c7dd523a2b73 :: Ptr SDL_IOStream -> Ptr Sint16 -> IO CBool
hs_bindgen_bfc3c7dd523a2b73 =
\Ptr SDL_IOStream
x0 ->
\Ptr Sint16
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_bfc3c7dd523a2b73_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Ptr Sint16 -> FFIType (Ptr Sint16)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Sint16
x1))
sDL_ReadS16LE
:: BG.Ptr SDL_IOStream
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Sint16
-> IO BG.CBool
sDL_ReadS16LE :: Ptr SDL_IOStream -> Ptr Sint16 -> IO CBool
sDL_ReadS16LE = Ptr SDL_IOStream -> Ptr Sint16 -> IO CBool
hs_bindgen_bfc3c7dd523a2b73
foreign import ccall safe "hs_bindgen_9b3b157e729c0965"
hs_bindgen_9b3b157e729c0965_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_9b3b157e729c0965
:: BG.Ptr SDL_IOStream
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint16
-> IO BG.CBool
hs_bindgen_9b3b157e729c0965 :: Ptr SDL_IOStream -> Ptr Uint16 -> IO CBool
hs_bindgen_9b3b157e729c0965 =
\Ptr SDL_IOStream
x0 ->
\Ptr Uint16
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_9b3b157e729c0965_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Ptr Uint16 -> FFIType (Ptr Uint16)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Uint16
x1))
sDL_ReadU16BE
:: BG.Ptr SDL_IOStream
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint16
-> IO BG.CBool
sDL_ReadU16BE :: Ptr SDL_IOStream -> Ptr Uint16 -> IO CBool
sDL_ReadU16BE = Ptr SDL_IOStream -> Ptr Uint16 -> IO CBool
hs_bindgen_9b3b157e729c0965
foreign import ccall safe "hs_bindgen_53f6414a33954d51"
hs_bindgen_53f6414a33954d51_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_53f6414a33954d51
:: BG.Ptr SDL_IOStream
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Sint16
-> IO BG.CBool
hs_bindgen_53f6414a33954d51 :: Ptr SDL_IOStream -> Ptr Sint16 -> IO CBool
hs_bindgen_53f6414a33954d51 =
\Ptr SDL_IOStream
x0 ->
\Ptr Sint16
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_53f6414a33954d51_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Ptr Sint16 -> FFIType (Ptr Sint16)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Sint16
x1))
sDL_ReadS16BE
:: BG.Ptr SDL_IOStream
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Sint16
-> IO BG.CBool
sDL_ReadS16BE :: Ptr SDL_IOStream -> Ptr Sint16 -> IO CBool
sDL_ReadS16BE = Ptr SDL_IOStream -> Ptr Sint16 -> IO CBool
hs_bindgen_53f6414a33954d51
foreign import ccall safe "hs_bindgen_cf9bb68f7e8594b1"
hs_bindgen_cf9bb68f7e8594b1_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_cf9bb68f7e8594b1
:: BG.Ptr SDL_IOStream
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_cf9bb68f7e8594b1 :: Ptr SDL_IOStream -> Ptr Uint32 -> IO CBool
hs_bindgen_cf9bb68f7e8594b1 =
\Ptr SDL_IOStream
x0 ->
\Ptr Uint32
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_cf9bb68f7e8594b1_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Ptr Uint32 -> FFIType (Ptr Uint32)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Uint32
x1))
sDL_ReadU32LE
:: BG.Ptr SDL_IOStream
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
sDL_ReadU32LE :: Ptr SDL_IOStream -> Ptr Uint32 -> IO CBool
sDL_ReadU32LE = Ptr SDL_IOStream -> Ptr Uint32 -> IO CBool
hs_bindgen_cf9bb68f7e8594b1
foreign import ccall safe "hs_bindgen_e2c2855a2483a810"
hs_bindgen_e2c2855a2483a810_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_e2c2855a2483a810
:: BG.Ptr SDL_IOStream
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Sint32
-> IO BG.CBool
hs_bindgen_e2c2855a2483a810 :: Ptr SDL_IOStream -> Ptr Sint32 -> IO CBool
hs_bindgen_e2c2855a2483a810 =
\Ptr SDL_IOStream
x0 ->
\Ptr Sint32
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_e2c2855a2483a810_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Ptr Sint32 -> FFIType (Ptr Sint32)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Sint32
x1))
sDL_ReadS32LE
:: BG.Ptr SDL_IOStream
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Sint32
-> IO BG.CBool
sDL_ReadS32LE :: Ptr SDL_IOStream -> Ptr Sint32 -> IO CBool
sDL_ReadS32LE = Ptr SDL_IOStream -> Ptr Sint32 -> IO CBool
hs_bindgen_e2c2855a2483a810
foreign import ccall safe "hs_bindgen_8cce948b1185d898"
hs_bindgen_8cce948b1185d898_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_8cce948b1185d898
:: BG.Ptr SDL_IOStream
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_8cce948b1185d898 :: Ptr SDL_IOStream -> Ptr Uint32 -> IO CBool
hs_bindgen_8cce948b1185d898 =
\Ptr SDL_IOStream
x0 ->
\Ptr Uint32
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_8cce948b1185d898_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Ptr Uint32 -> FFIType (Ptr Uint32)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Uint32
x1))
sDL_ReadU32BE
:: BG.Ptr SDL_IOStream
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
sDL_ReadU32BE :: Ptr SDL_IOStream -> Ptr Uint32 -> IO CBool
sDL_ReadU32BE = Ptr SDL_IOStream -> Ptr Uint32 -> IO CBool
hs_bindgen_8cce948b1185d898
foreign import ccall safe "hs_bindgen_74529309d09c0236"
hs_bindgen_74529309d09c0236_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_74529309d09c0236
:: BG.Ptr SDL_IOStream
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Sint32
-> IO BG.CBool
hs_bindgen_74529309d09c0236 :: Ptr SDL_IOStream -> Ptr Sint32 -> IO CBool
hs_bindgen_74529309d09c0236 =
\Ptr SDL_IOStream
x0 ->
\Ptr Sint32
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_74529309d09c0236_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Ptr Sint32 -> FFIType (Ptr Sint32)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Sint32
x1))
sDL_ReadS32BE
:: BG.Ptr SDL_IOStream
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Sint32
-> IO BG.CBool
sDL_ReadS32BE :: Ptr SDL_IOStream -> Ptr Sint32 -> IO CBool
sDL_ReadS32BE = Ptr SDL_IOStream -> Ptr Sint32 -> IO CBool
hs_bindgen_74529309d09c0236
foreign import ccall safe "hs_bindgen_a50de42944661366"
hs_bindgen_a50de42944661366_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_a50de42944661366
:: BG.Ptr SDL_IOStream
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint64
-> IO BG.CBool
hs_bindgen_a50de42944661366 :: Ptr SDL_IOStream -> Ptr Uint64 -> IO CBool
hs_bindgen_a50de42944661366 =
\Ptr SDL_IOStream
x0 ->
\Ptr Uint64
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_a50de42944661366_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Ptr Uint64 -> FFIType (Ptr Uint64)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Uint64
x1))
sDL_ReadU64LE
:: BG.Ptr SDL_IOStream
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint64
-> IO BG.CBool
sDL_ReadU64LE :: Ptr SDL_IOStream -> Ptr Uint64 -> IO CBool
sDL_ReadU64LE = Ptr SDL_IOStream -> Ptr Uint64 -> IO CBool
hs_bindgen_a50de42944661366
foreign import ccall safe "hs_bindgen_5dc23c0193ff348f"
hs_bindgen_5dc23c0193ff348f_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_5dc23c0193ff348f
:: BG.Ptr SDL_IOStream
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Sint64
-> IO BG.CBool
hs_bindgen_5dc23c0193ff348f :: Ptr SDL_IOStream -> Ptr Sint64 -> IO CBool
hs_bindgen_5dc23c0193ff348f =
\Ptr SDL_IOStream
x0 ->
\Ptr Sint64
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_5dc23c0193ff348f_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Ptr Sint64 -> FFIType (Ptr Sint64)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Sint64
x1))
sDL_ReadS64LE
:: BG.Ptr SDL_IOStream
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Sint64
-> IO BG.CBool
sDL_ReadS64LE :: Ptr SDL_IOStream -> Ptr Sint64 -> IO CBool
sDL_ReadS64LE = Ptr SDL_IOStream -> Ptr Sint64 -> IO CBool
hs_bindgen_5dc23c0193ff348f
foreign import ccall safe "hs_bindgen_5c7313fe19df3bc5"
hs_bindgen_5c7313fe19df3bc5_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_5c7313fe19df3bc5
:: BG.Ptr SDL_IOStream
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint64
-> IO BG.CBool
hs_bindgen_5c7313fe19df3bc5 :: Ptr SDL_IOStream -> Ptr Uint64 -> IO CBool
hs_bindgen_5c7313fe19df3bc5 =
\Ptr SDL_IOStream
x0 ->
\Ptr Uint64
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_5c7313fe19df3bc5_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Ptr Uint64 -> FFIType (Ptr Uint64)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Uint64
x1))
sDL_ReadU64BE
:: BG.Ptr SDL_IOStream
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint64
-> IO BG.CBool
sDL_ReadU64BE :: Ptr SDL_IOStream -> Ptr Uint64 -> IO CBool
sDL_ReadU64BE = Ptr SDL_IOStream -> Ptr Uint64 -> IO CBool
hs_bindgen_5c7313fe19df3bc5
foreign import ccall safe "hs_bindgen_77cc43bf1b465b08"
hs_bindgen_77cc43bf1b465b08_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_77cc43bf1b465b08
:: BG.Ptr SDL_IOStream
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Sint64
-> IO BG.CBool
hs_bindgen_77cc43bf1b465b08 :: Ptr SDL_IOStream -> Ptr Sint64 -> IO CBool
hs_bindgen_77cc43bf1b465b08 =
\Ptr SDL_IOStream
x0 ->
\Ptr Sint64
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_77cc43bf1b465b08_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Ptr Sint64 -> FFIType (Ptr Sint64)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Sint64
x1))
sDL_ReadS64BE
:: BG.Ptr SDL_IOStream
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Sint64
-> IO BG.CBool
sDL_ReadS64BE :: Ptr SDL_IOStream -> Ptr Sint64 -> IO CBool
sDL_ReadS64BE = Ptr SDL_IOStream -> Ptr Sint64 -> IO CBool
hs_bindgen_77cc43bf1b465b08
foreign import ccall safe "hs_bindgen_06be6eeabea4ef7e"
hs_bindgen_06be6eeabea4ef7e_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word8
-> IO BG.CBool
hs_bindgen_06be6eeabea4ef7e
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
hs_bindgen_06be6eeabea4ef7e :: Ptr SDL_IOStream -> Uint8 -> IO CBool
hs_bindgen_06be6eeabea4ef7e =
\Ptr SDL_IOStream
x0 ->
\Uint8
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 -> Word8 -> IO CBool
hs_bindgen_06be6eeabea4ef7e_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Uint8 -> FFIType Uint8
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint8
x1))
sDL_WriteU8
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
sDL_WriteU8 :: Ptr SDL_IOStream -> Uint8 -> IO CBool
sDL_WriteU8 = Ptr SDL_IOStream -> Uint8 -> IO CBool
hs_bindgen_06be6eeabea4ef7e
foreign import ccall safe "hs_bindgen_b7f1551a531fd2e5"
hs_bindgen_b7f1551a531fd2e5_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Int8
-> IO BG.CBool
hs_bindgen_b7f1551a531fd2e5
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Sint8
-> IO BG.CBool
hs_bindgen_b7f1551a531fd2e5 :: Ptr SDL_IOStream -> Sint8 -> IO CBool
hs_bindgen_b7f1551a531fd2e5 =
\Ptr SDL_IOStream
x0 ->
\Sint8
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 -> Int8 -> IO CBool
hs_bindgen_b7f1551a531fd2e5_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Sint8 -> FFIType Sint8
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Sint8
x1))
sDL_WriteS8
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Sint8
-> IO BG.CBool
sDL_WriteS8 :: Ptr SDL_IOStream -> Sint8 -> IO CBool
sDL_WriteS8 = Ptr SDL_IOStream -> Sint8 -> IO CBool
hs_bindgen_b7f1551a531fd2e5
foreign import ccall safe "hs_bindgen_dc258899c026cf6f"
hs_bindgen_dc258899c026cf6f_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word16
-> IO BG.CBool
hs_bindgen_dc258899c026cf6f
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> IO BG.CBool
hs_bindgen_dc258899c026cf6f :: Ptr SDL_IOStream -> Uint16 -> IO CBool
hs_bindgen_dc258899c026cf6f =
\Ptr SDL_IOStream
x0 ->
\Uint16
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 -> Word16 -> IO CBool
hs_bindgen_dc258899c026cf6f_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Uint16 -> FFIType Uint16
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint16
x1))
sDL_WriteU16LE
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> IO BG.CBool
sDL_WriteU16LE :: Ptr SDL_IOStream -> Uint16 -> IO CBool
sDL_WriteU16LE = Ptr SDL_IOStream -> Uint16 -> IO CBool
hs_bindgen_dc258899c026cf6f
foreign import ccall safe "hs_bindgen_a1111b4c96df3259"
hs_bindgen_a1111b4c96df3259_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Int16
-> IO BG.CBool
hs_bindgen_a1111b4c96df3259
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Sint16
-> IO BG.CBool
hs_bindgen_a1111b4c96df3259 :: Ptr SDL_IOStream -> Sint16 -> IO CBool
hs_bindgen_a1111b4c96df3259 =
\Ptr SDL_IOStream
x0 ->
\Sint16
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 -> Int16 -> IO CBool
hs_bindgen_a1111b4c96df3259_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Sint16 -> FFIType Sint16
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Sint16
x1))
sDL_WriteS16LE
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Sint16
-> IO BG.CBool
sDL_WriteS16LE :: Ptr SDL_IOStream -> Sint16 -> IO CBool
sDL_WriteS16LE = Ptr SDL_IOStream -> Sint16 -> IO CBool
hs_bindgen_a1111b4c96df3259
foreign import ccall safe "hs_bindgen_a4cb3983fa64c5c7"
hs_bindgen_a4cb3983fa64c5c7_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word16
-> IO BG.CBool
hs_bindgen_a4cb3983fa64c5c7
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> IO BG.CBool
hs_bindgen_a4cb3983fa64c5c7 :: Ptr SDL_IOStream -> Uint16 -> IO CBool
hs_bindgen_a4cb3983fa64c5c7 =
\Ptr SDL_IOStream
x0 ->
\Uint16
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 -> Word16 -> IO CBool
hs_bindgen_a4cb3983fa64c5c7_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Uint16 -> FFIType Uint16
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint16
x1))
sDL_WriteU16BE
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Uint16
-> IO BG.CBool
sDL_WriteU16BE :: Ptr SDL_IOStream -> Uint16 -> IO CBool
sDL_WriteU16BE = Ptr SDL_IOStream -> Uint16 -> IO CBool
hs_bindgen_a4cb3983fa64c5c7
foreign import ccall safe "hs_bindgen_161a5c3e908403a2"
hs_bindgen_161a5c3e908403a2_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Int16
-> IO BG.CBool
hs_bindgen_161a5c3e908403a2
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Sint16
-> IO BG.CBool
hs_bindgen_161a5c3e908403a2 :: Ptr SDL_IOStream -> Sint16 -> IO CBool
hs_bindgen_161a5c3e908403a2 =
\Ptr SDL_IOStream
x0 ->
\Sint16
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 -> Int16 -> IO CBool
hs_bindgen_161a5c3e908403a2_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Sint16 -> FFIType Sint16
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Sint16
x1))
sDL_WriteS16BE
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Sint16
-> IO BG.CBool
sDL_WriteS16BE :: Ptr SDL_IOStream -> Sint16 -> IO CBool
sDL_WriteS16BE = Ptr SDL_IOStream -> Sint16 -> IO CBool
hs_bindgen_161a5c3e908403a2
foreign import ccall safe "hs_bindgen_ae468e82155587e1"
hs_bindgen_ae468e82155587e1_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_ae468e82155587e1
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_ae468e82155587e1 :: Ptr SDL_IOStream -> Uint32 -> IO CBool
hs_bindgen_ae468e82155587e1 =
\Ptr SDL_IOStream
x0 ->
\Uint32
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 -> Word32 -> IO CBool
hs_bindgen_ae468e82155587e1_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x1))
sDL_WriteU32LE
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
sDL_WriteU32LE :: Ptr SDL_IOStream -> Uint32 -> IO CBool
sDL_WriteU32LE = Ptr SDL_IOStream -> Uint32 -> IO CBool
hs_bindgen_ae468e82155587e1
foreign import ccall safe "hs_bindgen_175539b403c6fd0c"
hs_bindgen_175539b403c6fd0c_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Int32
-> IO BG.CBool
hs_bindgen_175539b403c6fd0c
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Sint32
-> IO BG.CBool
hs_bindgen_175539b403c6fd0c :: Ptr SDL_IOStream -> Sint32 -> IO CBool
hs_bindgen_175539b403c6fd0c =
\Ptr SDL_IOStream
x0 ->
\Sint32
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 -> Int32 -> IO CBool
hs_bindgen_175539b403c6fd0c_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Sint32 -> FFIType Sint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Sint32
x1))
sDL_WriteS32LE
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Sint32
-> IO BG.CBool
sDL_WriteS32LE :: Ptr SDL_IOStream -> Sint32 -> IO CBool
sDL_WriteS32LE = Ptr SDL_IOStream -> Sint32 -> IO CBool
hs_bindgen_175539b403c6fd0c
foreign import ccall safe "hs_bindgen_f6e00995ced904a6"
hs_bindgen_f6e00995ced904a6_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_f6e00995ced904a6
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_f6e00995ced904a6 :: Ptr SDL_IOStream -> Uint32 -> IO CBool
hs_bindgen_f6e00995ced904a6 =
\Ptr SDL_IOStream
x0 ->
\Uint32
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 -> Word32 -> IO CBool
hs_bindgen_f6e00995ced904a6_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x1))
sDL_WriteU32BE
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
sDL_WriteU32BE :: Ptr SDL_IOStream -> Uint32 -> IO CBool
sDL_WriteU32BE = Ptr SDL_IOStream -> Uint32 -> IO CBool
hs_bindgen_f6e00995ced904a6
foreign import ccall safe "hs_bindgen_7986b77b455fd8d4"
hs_bindgen_7986b77b455fd8d4_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Int32
-> IO BG.CBool
hs_bindgen_7986b77b455fd8d4
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Sint32
-> IO BG.CBool
hs_bindgen_7986b77b455fd8d4 :: Ptr SDL_IOStream -> Sint32 -> IO CBool
hs_bindgen_7986b77b455fd8d4 =
\Ptr SDL_IOStream
x0 ->
\Sint32
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 -> Int32 -> IO CBool
hs_bindgen_7986b77b455fd8d4_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Sint32 -> FFIType Sint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Sint32
x1))
sDL_WriteS32BE
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Sint32
-> IO BG.CBool
sDL_WriteS32BE :: Ptr SDL_IOStream -> Sint32 -> IO CBool
sDL_WriteS32BE = Ptr SDL_IOStream -> Sint32 -> IO CBool
hs_bindgen_7986b77b455fd8d4
foreign import ccall safe "hs_bindgen_065f64617e3e327c"
hs_bindgen_065f64617e3e327c_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word64
-> IO BG.CBool
hs_bindgen_065f64617e3e327c
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Uint64
-> IO BG.CBool
hs_bindgen_065f64617e3e327c :: Ptr SDL_IOStream -> Uint64 -> IO CBool
hs_bindgen_065f64617e3e327c =
\Ptr SDL_IOStream
x0 ->
\Uint64
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 -> Word64 -> IO CBool
hs_bindgen_065f64617e3e327c_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Uint64 -> FFIType Uint64
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint64
x1))
sDL_WriteU64LE
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Uint64
-> IO BG.CBool
sDL_WriteU64LE :: Ptr SDL_IOStream -> Uint64 -> IO CBool
sDL_WriteU64LE = Ptr SDL_IOStream -> Uint64 -> IO CBool
hs_bindgen_065f64617e3e327c
foreign import ccall safe "hs_bindgen_846e3f81a5b9c657"
hs_bindgen_846e3f81a5b9c657_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Int64
-> IO BG.CBool
hs_bindgen_846e3f81a5b9c657
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Sint64
-> IO BG.CBool
hs_bindgen_846e3f81a5b9c657 :: Ptr SDL_IOStream -> Sint64 -> IO CBool
hs_bindgen_846e3f81a5b9c657 =
\Ptr SDL_IOStream
x0 ->
\Sint64
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 -> Int64 -> IO CBool
hs_bindgen_846e3f81a5b9c657_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Sint64 -> FFIType Sint64
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Sint64
x1))
sDL_WriteS64LE
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Sint64
-> IO BG.CBool
sDL_WriteS64LE :: Ptr SDL_IOStream -> Sint64 -> IO CBool
sDL_WriteS64LE = Ptr SDL_IOStream -> Sint64 -> IO CBool
hs_bindgen_846e3f81a5b9c657
foreign import ccall safe "hs_bindgen_8f9d3f23bd1a20e7"
hs_bindgen_8f9d3f23bd1a20e7_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word64
-> IO BG.CBool
hs_bindgen_8f9d3f23bd1a20e7
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Uint64
-> IO BG.CBool
hs_bindgen_8f9d3f23bd1a20e7 :: Ptr SDL_IOStream -> Uint64 -> IO CBool
hs_bindgen_8f9d3f23bd1a20e7 =
\Ptr SDL_IOStream
x0 ->
\Uint64
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 -> Word64 -> IO CBool
hs_bindgen_8f9d3f23bd1a20e7_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Uint64 -> FFIType Uint64
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint64
x1))
sDL_WriteU64BE
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Uint64
-> IO BG.CBool
sDL_WriteU64BE :: Ptr SDL_IOStream -> Uint64 -> IO CBool
sDL_WriteU64BE = Ptr SDL_IOStream -> Uint64 -> IO CBool
hs_bindgen_8f9d3f23bd1a20e7
foreign import ccall safe "hs_bindgen_ef095eaa3e7cb9b4"
hs_bindgen_ef095eaa3e7cb9b4_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Int64
-> IO BG.CBool
hs_bindgen_ef095eaa3e7cb9b4
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Sint64
-> IO BG.CBool
hs_bindgen_ef095eaa3e7cb9b4 :: Ptr SDL_IOStream -> Sint64 -> IO CBool
hs_bindgen_ef095eaa3e7cb9b4 =
\Ptr SDL_IOStream
x0 ->
\Sint64
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 -> Int64 -> IO CBool
hs_bindgen_ef095eaa3e7cb9b4_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (Sint64 -> FFIType Sint64
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Sint64
x1))
sDL_WriteS64BE
:: BG.Ptr SDL_IOStream
-> SDL3.Sys.Bindgen.Stdinc.Sint64
-> IO BG.CBool
sDL_WriteS64BE :: Ptr SDL_IOStream -> Sint64 -> IO CBool
sDL_WriteS64BE = Ptr SDL_IOStream -> Sint64 -> IO CBool
hs_bindgen_ef095eaa3e7cb9b4