{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Surface.Safe (
SDL3.Sys.Bindgen.Surface.Safe.sDL_CreateSurface,
SDL3.Sys.Bindgen.Surface.Safe.sDL_CreateSurfaceFrom,
SDL3.Sys.Bindgen.Surface.Safe.sDL_DestroySurface,
SDL3.Sys.Bindgen.Surface.Safe.sDL_GetSurfaceProperties,
SDL3.Sys.Bindgen.Surface.Safe.sDL_SetSurfaceColorspace,
SDL3.Sys.Bindgen.Surface.Safe.sDL_GetSurfaceColorspace,
SDL3.Sys.Bindgen.Surface.Safe.sDL_CreateSurfacePalette,
SDL3.Sys.Bindgen.Surface.Safe.sDL_SetSurfacePalette,
SDL3.Sys.Bindgen.Surface.Safe.sDL_GetSurfacePalette,
SDL3.Sys.Bindgen.Surface.Safe.sDL_AddSurfaceAlternateImage,
SDL3.Sys.Bindgen.Surface.Safe.sDL_SurfaceHasAlternateImages,
SDL3.Sys.Bindgen.Surface.Safe.sDL_GetSurfaceImages,
SDL3.Sys.Bindgen.Surface.Safe.sDL_RemoveSurfaceAlternateImages,
SDL3.Sys.Bindgen.Surface.Safe.sDL_LockSurface,
SDL3.Sys.Bindgen.Surface.Safe.sDL_UnlockSurface,
SDL3.Sys.Bindgen.Surface.Safe.sDL_LoadSurface_IO,
SDL3.Sys.Bindgen.Surface.Safe.sDL_LoadSurface,
SDL3.Sys.Bindgen.Surface.Safe.sDL_LoadBMP_IO,
SDL3.Sys.Bindgen.Surface.Safe.sDL_LoadBMP,
SDL3.Sys.Bindgen.Surface.Safe.sDL_SaveBMP_IO,
SDL3.Sys.Bindgen.Surface.Safe.sDL_SaveBMP,
SDL3.Sys.Bindgen.Surface.Safe.sDL_LoadPNG_IO,
SDL3.Sys.Bindgen.Surface.Safe.sDL_LoadPNG,
SDL3.Sys.Bindgen.Surface.Safe.sDL_SavePNG_IO,
SDL3.Sys.Bindgen.Surface.Safe.sDL_SavePNG,
SDL3.Sys.Bindgen.Surface.Safe.sDL_SetSurfaceRLE,
SDL3.Sys.Bindgen.Surface.Safe.sDL_SurfaceHasRLE,
SDL3.Sys.Bindgen.Surface.Safe.sDL_SetSurfaceColorKey,
SDL3.Sys.Bindgen.Surface.Safe.sDL_SurfaceHasColorKey,
SDL3.Sys.Bindgen.Surface.Safe.sDL_GetSurfaceColorKey,
SDL3.Sys.Bindgen.Surface.Safe.sDL_SetSurfaceColorMod,
SDL3.Sys.Bindgen.Surface.Safe.sDL_GetSurfaceColorMod,
SDL3.Sys.Bindgen.Surface.Safe.sDL_SetSurfaceAlphaMod,
SDL3.Sys.Bindgen.Surface.Safe.sDL_GetSurfaceAlphaMod,
SDL3.Sys.Bindgen.Surface.Safe.sDL_SetSurfaceBlendMode,
SDL3.Sys.Bindgen.Surface.Safe.sDL_GetSurfaceBlendMode,
SDL3.Sys.Bindgen.Surface.Safe.sDL_SetSurfaceClipRect,
SDL3.Sys.Bindgen.Surface.Safe.sDL_GetSurfaceClipRect,
SDL3.Sys.Bindgen.Surface.Safe.sDL_FlipSurface,
SDL3.Sys.Bindgen.Surface.Safe.sDL_RotateSurface,
SDL3.Sys.Bindgen.Surface.Safe.sDL_DuplicateSurface,
SDL3.Sys.Bindgen.Surface.Safe.sDL_ScaleSurface,
SDL3.Sys.Bindgen.Surface.Safe.sDL_ConvertSurface,
SDL3.Sys.Bindgen.Surface.Safe.sDL_ConvertSurfaceAndColorspace,
SDL3.Sys.Bindgen.Surface.Safe.sDL_ConvertPixels,
SDL3.Sys.Bindgen.Surface.Safe.sDL_ConvertPixelsAndColorspace,
SDL3.Sys.Bindgen.Surface.Safe.sDL_PremultiplyAlpha,
SDL3.Sys.Bindgen.Surface.Safe.sDL_PremultiplySurfaceAlpha,
SDL3.Sys.Bindgen.Surface.Safe.sDL_ClearSurface,
SDL3.Sys.Bindgen.Surface.Safe.sDL_FillSurfaceRect,
SDL3.Sys.Bindgen.Surface.Safe.sDL_FillSurfaceRects,
SDL3.Sys.Bindgen.Surface.Safe.sDL_BlitSurface,
SDL3.Sys.Bindgen.Surface.Safe.sDL_BlitSurfaceUnchecked,
SDL3.Sys.Bindgen.Surface.Safe.sDL_BlitSurfaceScaled,
SDL3.Sys.Bindgen.Surface.Safe.sDL_BlitSurfaceUncheckedScaled,
SDL3.Sys.Bindgen.Surface.Safe.sDL_StretchSurface,
SDL3.Sys.Bindgen.Surface.Safe.sDL_BlitSurfaceTiled,
SDL3.Sys.Bindgen.Surface.Safe.sDL_BlitSurfaceTiledWithScale,
SDL3.Sys.Bindgen.Surface.Safe.sDL_BlitSurface9Grid,
SDL3.Sys.Bindgen.Surface.Safe.sDL_MapSurfaceRGB,
SDL3.Sys.Bindgen.Surface.Safe.sDL_MapSurfaceRGBA,
SDL3.Sys.Bindgen.Surface.Safe.sDL_ReadSurfacePixel,
SDL3.Sys.Bindgen.Surface.Safe.sDL_ReadSurfacePixelFloat,
SDL3.Sys.Bindgen.Surface.Safe.sDL_WriteSurfacePixel,
SDL3.Sys.Bindgen.Surface.Safe.sDL_WriteSurfacePixelFloat,
)
where
import Prelude (IO, fmap)
import HsBindgen.Runtime.LibC qualified
import HsBindgen.Runtime.PtrConst qualified as PtrConst
import HsBindgen.Runtime.Support qualified
import HsBindgen.Runtime.Support qualified as BG
import HsBindgen.Runtime.Support.CAPI qualified
import SDL3.Sys.Bindgen.Blendmode qualified
import SDL3.Sys.Bindgen.Iostream qualified
import SDL3.Sys.Bindgen.Pixels qualified
import SDL3.Sys.Bindgen.Properties qualified
import SDL3.Sys.Bindgen.Rect qualified
import SDL3.Sys.Bindgen.Stdinc qualified
import SDL3.Sys.Bindgen.Surface
$( 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_surface.h>"
, "SDL_Surface *hs_bindgen_f5d9dffb67ed3a02 ("
, " signed int arg1,"
, " signed int arg2,"
, " SDL_PixelFormat arg3"
, ")"
, "{"
, " return (SDL_CreateSurface)(arg1, arg2, arg3);"
, "}"
, "SDL_Surface *hs_bindgen_049fe6b29b9f6b0c ("
, " signed int arg1,"
, " signed int arg2,"
, " SDL_PixelFormat arg3,"
, " void *arg4,"
, " signed int arg5"
, ")"
, "{"
, " return (SDL_CreateSurfaceFrom)(arg1, arg2, arg3, arg4, arg5);"
, "}"
, "void hs_bindgen_96adc31ed3b85b0e ("
, " SDL_Surface *arg1"
, ")"
, "{"
, " (SDL_DestroySurface)(arg1);"
, "}"
, "SDL_PropertiesID hs_bindgen_67ff85788cdc8372 ("
, " SDL_Surface *arg1"
, ")"
, "{"
, " return (SDL_GetSurfaceProperties)(arg1);"
, "}"
, "_Bool hs_bindgen_598d48691dcd3ff1 ("
, " SDL_Surface *arg1,"
, " SDL_Colorspace arg2"
, ")"
, "{"
, " return (SDL_SetSurfaceColorspace)(arg1, arg2);"
, "}"
, "SDL_Colorspace hs_bindgen_ecbc9fcba66d62a3 ("
, " SDL_Surface *arg1"
, ")"
, "{"
, " return (SDL_GetSurfaceColorspace)(arg1);"
, "}"
, "SDL_Palette *hs_bindgen_5932b732849a1735 ("
, " SDL_Surface *arg1"
, ")"
, "{"
, " return (SDL_CreateSurfacePalette)(arg1);"
, "}"
, "_Bool hs_bindgen_3d3e0724db0ed7ce ("
, " SDL_Surface *arg1,"
, " SDL_Palette *arg2"
, ")"
, "{"
, " return (SDL_SetSurfacePalette)(arg1, arg2);"
, "}"
, "SDL_Palette *hs_bindgen_5876f907103f7e2a ("
, " SDL_Surface *arg1"
, ")"
, "{"
, " return (SDL_GetSurfacePalette)(arg1);"
, "}"
, "_Bool hs_bindgen_0b7cea3e32121db6 ("
, " SDL_Surface *arg1,"
, " SDL_Surface *arg2"
, ")"
, "{"
, " return (SDL_AddSurfaceAlternateImage)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_bb885b70690a833c ("
, " SDL_Surface *arg1"
, ")"
, "{"
, " return (SDL_SurfaceHasAlternateImages)(arg1);"
, "}"
, "SDL_Surface **hs_bindgen_a622f58d7ad78b73 ("
, " SDL_Surface *arg1,"
, " signed int *arg2"
, ")"
, "{"
, " return (SDL_GetSurfaceImages)(arg1, arg2);"
, "}"
, "void hs_bindgen_9d874c9b10aefa86 ("
, " SDL_Surface *arg1"
, ")"
, "{"
, " (SDL_RemoveSurfaceAlternateImages)(arg1);"
, "}"
, "_Bool hs_bindgen_db64a610fba08fca ("
, " SDL_Surface *arg1"
, ")"
, "{"
, " return (SDL_LockSurface)(arg1);"
, "}"
, "void hs_bindgen_8f1af892d2fe009c ("
, " SDL_Surface *arg1"
, ")"
, "{"
, " (SDL_UnlockSurface)(arg1);"
, "}"
, "#include <SDL3/SDL_version.h>"
, "#include <SDL3/SDL_error.h>"
, "SDL_Surface *hs_bindgen_35d3f5b89da7d967 ("
, " SDL_IOStream *arg1,"
, " _Bool arg2"
, ")"
, "{"
, "#if SDL_VERSION_ATLEAST(3, 4, 0)"
, " return (SDL_LoadSurface_IO)(arg1, arg2);"
, "#else"
, " (void)arg1; (void)arg2; SDL_SetError(\"SDL_LoadSurface_IO requires SDL >= 3.4.0\"); return 0;"
, "#endif"
, "}"
, "#include <SDL3/SDL_version.h>"
, "#include <SDL3/SDL_error.h>"
, "SDL_Surface *hs_bindgen_3fecd62d86ccada1 ("
, " char const *arg1"
, ")"
, "{"
, "#if SDL_VERSION_ATLEAST(3, 4, 0)"
, " return (SDL_LoadSurface)(arg1);"
, "#else"
, " (void)arg1; SDL_SetError(\"SDL_LoadSurface requires SDL >= 3.4.0\"); return 0;"
, "#endif"
, "}"
, "SDL_Surface *hs_bindgen_8327ab2e34d76ef3 ("
, " SDL_IOStream *arg1,"
, " _Bool arg2"
, ")"
, "{"
, " return (SDL_LoadBMP_IO)(arg1, arg2);"
, "}"
, "SDL_Surface *hs_bindgen_fced4187c12f6580 ("
, " char const *arg1"
, ")"
, "{"
, " return (SDL_LoadBMP)(arg1);"
, "}"
, "_Bool hs_bindgen_a8c9380df03494fa ("
, " SDL_Surface *arg1,"
, " SDL_IOStream *arg2,"
, " _Bool arg3"
, ")"
, "{"
, " return (SDL_SaveBMP_IO)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_9f5c906fe39b463b ("
, " SDL_Surface *arg1,"
, " char const *arg2"
, ")"
, "{"
, " return (SDL_SaveBMP)(arg1, arg2);"
, "}"
, "#include <SDL3/SDL_version.h>"
, "#include <SDL3/SDL_error.h>"
, "SDL_Surface *hs_bindgen_5438f82ebfd0db2d ("
, " SDL_IOStream *arg1,"
, " _Bool arg2"
, ")"
, "{"
, "#if SDL_VERSION_ATLEAST(3, 4, 0)"
, " return (SDL_LoadPNG_IO)(arg1, arg2);"
, "#else"
, " (void)arg1; (void)arg2; SDL_SetError(\"SDL_LoadPNG_IO requires SDL >= 3.4.0\"); return 0;"
, "#endif"
, "}"
, "#include <SDL3/SDL_version.h>"
, "#include <SDL3/SDL_error.h>"
, "SDL_Surface *hs_bindgen_75a60dd30aa46884 ("
, " char const *arg1"
, ")"
, "{"
, "#if SDL_VERSION_ATLEAST(3, 4, 0)"
, " return (SDL_LoadPNG)(arg1);"
, "#else"
, " (void)arg1; SDL_SetError(\"SDL_LoadPNG requires SDL >= 3.4.0\"); return 0;"
, "#endif"
, "}"
, "#include <SDL3/SDL_version.h>"
, "#include <SDL3/SDL_error.h>"
, "_Bool hs_bindgen_9e770fcf56e4fd03 ("
, " SDL_Surface *arg1,"
, " SDL_IOStream *arg2,"
, " _Bool arg3"
, ")"
, "{"
, "#if SDL_VERSION_ATLEAST(3, 4, 0)"
, " return (SDL_SavePNG_IO)(arg1, arg2, arg3);"
, "#else"
, " (void)arg1; (void)arg2; (void)arg3; SDL_SetError(\"SDL_SavePNG_IO requires SDL >= 3.4.0\"); return 0;"
, "#endif"
, "}"
, "#include <SDL3/SDL_version.h>"
, "#include <SDL3/SDL_error.h>"
, "_Bool hs_bindgen_6bc28b4b1f4a9d05 ("
, " SDL_Surface *arg1,"
, " char const *arg2"
, ")"
, "{"
, "#if SDL_VERSION_ATLEAST(3, 4, 0)"
, " return (SDL_SavePNG)(arg1, arg2);"
, "#else"
, " (void)arg1; (void)arg2; SDL_SetError(\"SDL_SavePNG requires SDL >= 3.4.0\"); return 0;"
, "#endif"
, "}"
, "_Bool hs_bindgen_15ba59ca0ef8e4ad ("
, " SDL_Surface *arg1,"
, " _Bool arg2"
, ")"
, "{"
, " return (SDL_SetSurfaceRLE)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_d627111ac7084ad7 ("
, " SDL_Surface *arg1"
, ")"
, "{"
, " return (SDL_SurfaceHasRLE)(arg1);"
, "}"
, "_Bool hs_bindgen_f4def14a31ba1ed7 ("
, " SDL_Surface *arg1,"
, " _Bool arg2,"
, " Uint32 arg3"
, ")"
, "{"
, " return (SDL_SetSurfaceColorKey)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_4d3f9b51f9d999a8 ("
, " SDL_Surface *arg1"
, ")"
, "{"
, " return (SDL_SurfaceHasColorKey)(arg1);"
, "}"
, "_Bool hs_bindgen_a54e363a1e1eaa5a ("
, " SDL_Surface *arg1,"
, " Uint32 *arg2"
, ")"
, "{"
, " return (SDL_GetSurfaceColorKey)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_8b27208d3c207793 ("
, " SDL_Surface *arg1,"
, " Uint8 arg2,"
, " Uint8 arg3,"
, " Uint8 arg4"
, ")"
, "{"
, " return (SDL_SetSurfaceColorMod)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_34ffb5b1c38e964a ("
, " SDL_Surface *arg1,"
, " Uint8 *arg2,"
, " Uint8 *arg3,"
, " Uint8 *arg4"
, ")"
, "{"
, " return (SDL_GetSurfaceColorMod)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_c9f8378e1f43a4b5 ("
, " SDL_Surface *arg1,"
, " Uint8 arg2"
, ")"
, "{"
, " return (SDL_SetSurfaceAlphaMod)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_c58e7719cc38fbb7 ("
, " SDL_Surface *arg1,"
, " Uint8 *arg2"
, ")"
, "{"
, " return (SDL_GetSurfaceAlphaMod)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_8e7ff2b3301fecfa ("
, " SDL_Surface *arg1,"
, " SDL_BlendMode arg2"
, ")"
, "{"
, " return (SDL_SetSurfaceBlendMode)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_79a3cd778c72f8e2 ("
, " SDL_Surface *arg1,"
, " SDL_BlendMode *arg2"
, ")"
, "{"
, " return (SDL_GetSurfaceBlendMode)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_2820354795314f60 ("
, " SDL_Surface *arg1,"
, " SDL_Rect const *arg2"
, ")"
, "{"
, " return (SDL_SetSurfaceClipRect)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_b910b24fe46481d6 ("
, " SDL_Surface *arg1,"
, " SDL_Rect *arg2"
, ")"
, "{"
, " return (SDL_GetSurfaceClipRect)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_c88156522122ee98 ("
, " SDL_Surface *arg1,"
, " SDL_FlipMode arg2"
, ")"
, "{"
, " return (SDL_FlipSurface)(arg1, arg2);"
, "}"
, "#include <SDL3/SDL_version.h>"
, "#include <SDL3/SDL_error.h>"
, "SDL_Surface *hs_bindgen_a1316efcfef047d4 ("
, " SDL_Surface *arg1,"
, " float arg2"
, ")"
, "{"
, "#if SDL_VERSION_ATLEAST(3, 4, 0)"
, " return (SDL_RotateSurface)(arg1, arg2);"
, "#else"
, " (void)arg1; (void)arg2; SDL_SetError(\"SDL_RotateSurface requires SDL >= 3.4.0\"); return 0;"
, "#endif"
, "}"
, "SDL_Surface *hs_bindgen_6d95029f36464bfd ("
, " SDL_Surface *arg1"
, ")"
, "{"
, " return (SDL_DuplicateSurface)(arg1);"
, "}"
, "SDL_Surface *hs_bindgen_face97baca762cbd ("
, " SDL_Surface *arg1,"
, " signed int arg2,"
, " signed int arg3,"
, " SDL_ScaleMode arg4"
, ")"
, "{"
, " return (SDL_ScaleSurface)(arg1, arg2, arg3, arg4);"
, "}"
, "SDL_Surface *hs_bindgen_73e1e8c13e580d46 ("
, " SDL_Surface *arg1,"
, " SDL_PixelFormat arg2"
, ")"
, "{"
, " return (SDL_ConvertSurface)(arg1, arg2);"
, "}"
, "SDL_Surface *hs_bindgen_e534837314acf47f ("
, " SDL_Surface *arg1,"
, " SDL_PixelFormat arg2,"
, " SDL_Palette *arg3,"
, " SDL_Colorspace arg4,"
, " SDL_PropertiesID arg5"
, ")"
, "{"
, " return (SDL_ConvertSurfaceAndColorspace)(arg1, arg2, arg3, arg4, arg5);"
, "}"
, "_Bool hs_bindgen_435765f57837af03 ("
, " signed int arg1,"
, " signed int arg2,"
, " SDL_PixelFormat arg3,"
, " void const *arg4,"
, " signed int arg5,"
, " SDL_PixelFormat arg6,"
, " void *arg7,"
, " signed int arg8"
, ")"
, "{"
, " return (SDL_ConvertPixels)(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);"
, "}"
, "_Bool hs_bindgen_c1b70c1ec2328788 ("
, " signed int arg1,"
, " signed int arg2,"
, " SDL_PixelFormat arg3,"
, " SDL_Colorspace arg4,"
, " SDL_PropertiesID arg5,"
, " void const *arg6,"
, " signed int arg7,"
, " SDL_PixelFormat arg8,"
, " SDL_Colorspace arg9,"
, " SDL_PropertiesID arg10,"
, " void *arg11,"
, " signed int arg12"
, ")"
, "{"
, " return (SDL_ConvertPixelsAndColorspace)(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12);"
, "}"
, "_Bool hs_bindgen_8e4daa78971d0cb7 ("
, " signed int arg1,"
, " signed int arg2,"
, " SDL_PixelFormat arg3,"
, " void const *arg4,"
, " signed int arg5,"
, " SDL_PixelFormat arg6,"
, " void *arg7,"
, " signed int arg8,"
, " _Bool arg9"
, ")"
, "{"
, " return (SDL_PremultiplyAlpha)(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);"
, "}"
, "_Bool hs_bindgen_56aa84cbef3d8f40 ("
, " SDL_Surface *arg1,"
, " _Bool arg2"
, ")"
, "{"
, " return (SDL_PremultiplySurfaceAlpha)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_e97c19a44df98438 ("
, " SDL_Surface *arg1,"
, " float arg2,"
, " float arg3,"
, " float arg4,"
, " float arg5"
, ")"
, "{"
, " return (SDL_ClearSurface)(arg1, arg2, arg3, arg4, arg5);"
, "}"
, "_Bool hs_bindgen_5dccf89603882fe7 ("
, " SDL_Surface *arg1,"
, " SDL_Rect const *arg2,"
, " Uint32 arg3"
, ")"
, "{"
, " return (SDL_FillSurfaceRect)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_a2b5b19e2436d28a ("
, " SDL_Surface *arg1,"
, " SDL_Rect const *arg2,"
, " signed int arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " return (SDL_FillSurfaceRects)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_b1a30c4f5f8d91a8 ("
, " SDL_Surface *arg1,"
, " SDL_Rect const *arg2,"
, " SDL_Surface *arg3,"
, " SDL_Rect const *arg4"
, ")"
, "{"
, " return (SDL_BlitSurface)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_f01f13adea578bc6 ("
, " SDL_Surface *arg1,"
, " SDL_Rect const *arg2,"
, " SDL_Surface *arg3,"
, " SDL_Rect const *arg4"
, ")"
, "{"
, " return (SDL_BlitSurfaceUnchecked)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_ff01194286dad7f2 ("
, " SDL_Surface *arg1,"
, " SDL_Rect const *arg2,"
, " SDL_Surface *arg3,"
, " SDL_Rect const *arg4,"
, " SDL_ScaleMode arg5"
, ")"
, "{"
, " return (SDL_BlitSurfaceScaled)(arg1, arg2, arg3, arg4, arg5);"
, "}"
, "_Bool hs_bindgen_203cef09fdf11016 ("
, " SDL_Surface *arg1,"
, " SDL_Rect const *arg2,"
, " SDL_Surface *arg3,"
, " SDL_Rect const *arg4,"
, " SDL_ScaleMode arg5"
, ")"
, "{"
, " return (SDL_BlitSurfaceUncheckedScaled)(arg1, arg2, arg3, arg4, arg5);"
, "}"
, "#include <SDL3/SDL_version.h>"
, "#include <SDL3/SDL_error.h>"
, "_Bool hs_bindgen_3f0e13150dff4407 ("
, " SDL_Surface *arg1,"
, " SDL_Rect const *arg2,"
, " SDL_Surface *arg3,"
, " SDL_Rect const *arg4,"
, " SDL_ScaleMode arg5"
, ")"
, "{"
, "#if SDL_VERSION_ATLEAST(3, 2, 4)"
, " return (SDL_StretchSurface)(arg1, arg2, arg3, arg4, arg5);"
, "#else"
, " (void)arg1; (void)arg2; (void)arg3; (void)arg4; (void)arg5; SDL_SetError(\"SDL_StretchSurface requires SDL >= 3.2.4\"); return 0;"
, "#endif"
, "}"
, "_Bool hs_bindgen_d87d2c7a0fc3e08c ("
, " SDL_Surface *arg1,"
, " SDL_Rect const *arg2,"
, " SDL_Surface *arg3,"
, " SDL_Rect const *arg4"
, ")"
, "{"
, " return (SDL_BlitSurfaceTiled)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_a0b5a4d660b97157 ("
, " SDL_Surface *arg1,"
, " SDL_Rect const *arg2,"
, " float arg3,"
, " SDL_ScaleMode arg4,"
, " SDL_Surface *arg5,"
, " SDL_Rect const *arg6"
, ")"
, "{"
, " return (SDL_BlitSurfaceTiledWithScale)(arg1, arg2, arg3, arg4, arg5, arg6);"
, "}"
, "_Bool hs_bindgen_c841a6c05cf5fdff ("
, " SDL_Surface *arg1,"
, " SDL_Rect const *arg2,"
, " signed int arg3,"
, " signed int arg4,"
, " signed int arg5,"
, " signed int arg6,"
, " float arg7,"
, " SDL_ScaleMode arg8,"
, " SDL_Surface *arg9,"
, " SDL_Rect const *arg10"
, ")"
, "{"
, " return (SDL_BlitSurface9Grid)(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10);"
, "}"
, "Uint32 hs_bindgen_c74008884f7b6019 ("
, " SDL_Surface *arg1,"
, " Uint8 arg2,"
, " Uint8 arg3,"
, " Uint8 arg4"
, ")"
, "{"
, " return (SDL_MapSurfaceRGB)(arg1, arg2, arg3, arg4);"
, "}"
, "Uint32 hs_bindgen_d299991f35295874 ("
, " SDL_Surface *arg1,"
, " Uint8 arg2,"
, " Uint8 arg3,"
, " Uint8 arg4,"
, " Uint8 arg5"
, ")"
, "{"
, " return (SDL_MapSurfaceRGBA)(arg1, arg2, arg3, arg4, arg5);"
, "}"
, "_Bool hs_bindgen_a30b6c841f82ebcc ("
, " SDL_Surface *arg1,"
, " signed int arg2,"
, " signed int arg3,"
, " Uint8 *arg4,"
, " Uint8 *arg5,"
, " Uint8 *arg6,"
, " Uint8 *arg7"
, ")"
, "{"
, " return (SDL_ReadSurfacePixel)(arg1, arg2, arg3, arg4, arg5, arg6, arg7);"
, "}"
, "_Bool hs_bindgen_1a263d49fd0125f6 ("
, " SDL_Surface *arg1,"
, " signed int arg2,"
, " signed int arg3,"
, " float *arg4,"
, " float *arg5,"
, " float *arg6,"
, " float *arg7"
, ")"
, "{"
, " return (SDL_ReadSurfacePixelFloat)(arg1, arg2, arg3, arg4, arg5, arg6, arg7);"
, "}"
, "_Bool hs_bindgen_51ee7af8b74364b9 ("
, " SDL_Surface *arg1,"
, " signed int arg2,"
, " signed int arg3,"
, " Uint8 arg4,"
, " Uint8 arg5,"
, " Uint8 arg6,"
, " Uint8 arg7"
, ")"
, "{"
, " return (SDL_WriteSurfacePixel)(arg1, arg2, arg3, arg4, arg5, arg6, arg7);"
, "}"
, "_Bool hs_bindgen_0a72c0432b672135 ("
, " SDL_Surface *arg1,"
, " signed int arg2,"
, " signed int arg3,"
, " float arg4,"
, " float arg5,"
, " float arg6,"
, " float arg7"
, ")"
, "{"
, " return (SDL_WriteSurfacePixelFloat)(arg1, arg2, arg3, arg4, arg5, arg6, arg7);"
, "}"
]
)
)
foreign import ccall safe "hs_bindgen_f5d9dffb67ed3a02"
hs_bindgen_f5d9dffb67ed3a02_base
:: BG.CInt
-> BG.CInt
-> HsBindgen.Runtime.Support.CUInt
-> IO (BG.Ptr BG.Void)
hs_bindgen_f5d9dffb67ed3a02
:: BG.CInt
-> BG.CInt
-> SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
-> IO (BG.Ptr SDL_Surface)
hs_bindgen_f5d9dffb67ed3a02 :: CInt -> CInt -> SDL_PixelFormat -> IO (Ptr SDL_Surface)
hs_bindgen_f5d9dffb67ed3a02 =
\CInt
x0 ->
\CInt
x1 ->
\SDL_PixelFormat
x2 ->
(Ptr Void -> Ptr SDL_Surface)
-> IO (Ptr Void) -> IO (Ptr SDL_Surface)
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_Surface
FFIType (Ptr SDL_Surface) -> Ptr SDL_Surface
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(CInt -> CInt -> CUInt -> IO (Ptr Void)
hs_bindgen_f5d9dffb67ed3a02_base (CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x0) (CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1) (SDL_PixelFormat -> FFIType SDL_PixelFormat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PixelFormat
x2))
sDL_CreateSurface
:: BG.CInt
-> BG.CInt
-> SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
-> IO (BG.Ptr SDL_Surface)
sDL_CreateSurface :: CInt -> CInt -> SDL_PixelFormat -> IO (Ptr SDL_Surface)
sDL_CreateSurface = CInt -> CInt -> SDL_PixelFormat -> IO (Ptr SDL_Surface)
hs_bindgen_f5d9dffb67ed3a02
foreign import ccall safe "hs_bindgen_049fe6b29b9f6b0c"
hs_bindgen_049fe6b29b9f6b0c_base
:: BG.CInt
-> BG.CInt
-> HsBindgen.Runtime.Support.CUInt
-> BG.Ptr BG.Void
-> BG.CInt
-> IO (BG.Ptr BG.Void)
hs_bindgen_049fe6b29b9f6b0c
:: BG.CInt
-> BG.CInt
-> SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
-> BG.Ptr BG.Void
-> BG.CInt
-> IO (BG.Ptr SDL_Surface)
hs_bindgen_049fe6b29b9f6b0c :: CInt
-> CInt
-> SDL_PixelFormat
-> Ptr Void
-> CInt
-> IO (Ptr SDL_Surface)
hs_bindgen_049fe6b29b9f6b0c =
\CInt
x0 ->
\CInt
x1 ->
\SDL_PixelFormat
x2 ->
\Ptr Void
x3 ->
\CInt
x4 ->
(Ptr Void -> Ptr SDL_Surface)
-> IO (Ptr Void) -> IO (Ptr SDL_Surface)
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_Surface
FFIType (Ptr SDL_Surface) -> Ptr SDL_Surface
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( CInt -> CInt -> CUInt -> Ptr Void -> CInt -> IO (Ptr Void)
hs_bindgen_049fe6b29b9f6b0c_base
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x0)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1)
(SDL_PixelFormat -> FFIType SDL_PixelFormat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PixelFormat
x2)
(Ptr Void -> FFIType (Ptr Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Void
x3)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x4)
)
sDL_CreateSurfaceFrom
:: BG.CInt
-> BG.CInt
-> SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
-> BG.Ptr BG.Void
-> BG.CInt
-> IO (BG.Ptr SDL_Surface)
sDL_CreateSurfaceFrom :: CInt
-> CInt
-> SDL_PixelFormat
-> Ptr Void
-> CInt
-> IO (Ptr SDL_Surface)
sDL_CreateSurfaceFrom = CInt
-> CInt
-> SDL_PixelFormat
-> Ptr Void
-> CInt
-> IO (Ptr SDL_Surface)
hs_bindgen_049fe6b29b9f6b0c
foreign import ccall safe "hs_bindgen_96adc31ed3b85b0e"
hs_bindgen_96adc31ed3b85b0e_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_96adc31ed3b85b0e
:: BG.Ptr SDL_Surface
-> IO ()
hs_bindgen_96adc31ed3b85b0e :: Ptr SDL_Surface -> IO ()
hs_bindgen_96adc31ed3b85b0e =
\Ptr SDL_Surface
x0 ->
Ptr Void -> IO ()
hs_bindgen_96adc31ed3b85b0e_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0)
sDL_DestroySurface
:: BG.Ptr SDL_Surface
-> IO ()
sDL_DestroySurface :: Ptr SDL_Surface -> IO ()
sDL_DestroySurface = Ptr SDL_Surface -> IO ()
hs_bindgen_96adc31ed3b85b0e
foreign import ccall safe "hs_bindgen_67ff85788cdc8372"
hs_bindgen_67ff85788cdc8372_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_67ff85788cdc8372
:: BG.Ptr SDL_Surface
-> IO SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
hs_bindgen_67ff85788cdc8372 :: Ptr SDL_Surface -> IO SDL_PropertiesID
hs_bindgen_67ff85788cdc8372 =
\Ptr SDL_Surface
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_67ff85788cdc8372_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0))
sDL_GetSurfaceProperties
:: BG.Ptr SDL_Surface
-> IO SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
sDL_GetSurfaceProperties :: Ptr SDL_Surface -> IO SDL_PropertiesID
sDL_GetSurfaceProperties =
Ptr SDL_Surface -> IO SDL_PropertiesID
hs_bindgen_67ff85788cdc8372
foreign import ccall safe "hs_bindgen_598d48691dcd3ff1"
hs_bindgen_598d48691dcd3ff1_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.Support.CUInt
-> IO BG.CBool
hs_bindgen_598d48691dcd3ff1
:: BG.Ptr SDL_Surface
-> SDL3.Sys.Bindgen.Pixels.SDL_Colorspace
-> IO BG.CBool
hs_bindgen_598d48691dcd3ff1 :: Ptr SDL_Surface -> SDL_Colorspace -> IO CBool
hs_bindgen_598d48691dcd3ff1 =
\Ptr SDL_Surface
x0 ->
\SDL_Colorspace
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 -> CUInt -> IO CBool
hs_bindgen_598d48691dcd3ff1_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0) (SDL_Colorspace -> FFIType SDL_Colorspace
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_Colorspace
x1))
sDL_SetSurfaceColorspace
:: BG.Ptr SDL_Surface
-> SDL3.Sys.Bindgen.Pixels.SDL_Colorspace
-> IO BG.CBool
sDL_SetSurfaceColorspace :: Ptr SDL_Surface -> SDL_Colorspace -> IO CBool
sDL_SetSurfaceColorspace =
Ptr SDL_Surface -> SDL_Colorspace -> IO CBool
hs_bindgen_598d48691dcd3ff1
foreign import ccall safe "hs_bindgen_ecbc9fcba66d62a3"
hs_bindgen_ecbc9fcba66d62a3_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.Support.CUInt
hs_bindgen_ecbc9fcba66d62a3
:: BG.Ptr SDL_Surface
-> IO SDL3.Sys.Bindgen.Pixels.SDL_Colorspace
hs_bindgen_ecbc9fcba66d62a3 :: Ptr SDL_Surface -> IO SDL_Colorspace
hs_bindgen_ecbc9fcba66d62a3 =
\Ptr SDL_Surface
x0 ->
(CUInt -> SDL_Colorspace) -> IO CUInt -> 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 CUInt -> SDL_Colorspace
FFIType SDL_Colorspace -> SDL_Colorspace
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CUInt
hs_bindgen_ecbc9fcba66d62a3_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0))
sDL_GetSurfaceColorspace
:: BG.Ptr SDL_Surface
-> IO SDL3.Sys.Bindgen.Pixels.SDL_Colorspace
sDL_GetSurfaceColorspace :: Ptr SDL_Surface -> IO SDL_Colorspace
sDL_GetSurfaceColorspace =
Ptr SDL_Surface -> IO SDL_Colorspace
hs_bindgen_ecbc9fcba66d62a3
foreign import ccall safe "hs_bindgen_5932b732849a1735"
hs_bindgen_5932b732849a1735_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_5932b732849a1735
:: BG.Ptr SDL_Surface
-> IO (BG.Ptr SDL3.Sys.Bindgen.Pixels.SDL_Palette)
hs_bindgen_5932b732849a1735 :: Ptr SDL_Surface -> IO (Ptr SDL_Palette)
hs_bindgen_5932b732849a1735 =
\Ptr SDL_Surface
x0 ->
(Ptr Void -> Ptr SDL_Palette)
-> IO (Ptr Void) -> IO (Ptr SDL_Palette)
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_Palette
FFIType (Ptr SDL_Palette) -> Ptr SDL_Palette
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_5932b732849a1735_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0))
sDL_CreateSurfacePalette
:: BG.Ptr SDL_Surface
-> IO (BG.Ptr SDL3.Sys.Bindgen.Pixels.SDL_Palette)
sDL_CreateSurfacePalette :: Ptr SDL_Surface -> IO (Ptr SDL_Palette)
sDL_CreateSurfacePalette =
Ptr SDL_Surface -> IO (Ptr SDL_Palette)
hs_bindgen_5932b732849a1735
foreign import ccall safe "hs_bindgen_3d3e0724db0ed7ce"
hs_bindgen_3d3e0724db0ed7ce_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_3d3e0724db0ed7ce
:: BG.Ptr SDL_Surface
-> BG.Ptr SDL3.Sys.Bindgen.Pixels.SDL_Palette
-> IO BG.CBool
hs_bindgen_3d3e0724db0ed7ce :: Ptr SDL_Surface -> Ptr SDL_Palette -> IO CBool
hs_bindgen_3d3e0724db0ed7ce =
\Ptr SDL_Surface
x0 ->
\Ptr SDL_Palette
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_3d3e0724db0ed7ce_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0) (Ptr SDL_Palette -> FFIType (Ptr SDL_Palette)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Palette
x1))
sDL_SetSurfacePalette
:: BG.Ptr SDL_Surface
-> BG.Ptr SDL3.Sys.Bindgen.Pixels.SDL_Palette
-> IO BG.CBool
sDL_SetSurfacePalette :: Ptr SDL_Surface -> Ptr SDL_Palette -> IO CBool
sDL_SetSurfacePalette = Ptr SDL_Surface -> Ptr SDL_Palette -> IO CBool
hs_bindgen_3d3e0724db0ed7ce
foreign import ccall safe "hs_bindgen_5876f907103f7e2a"
hs_bindgen_5876f907103f7e2a_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_5876f907103f7e2a
:: BG.Ptr SDL_Surface
-> IO (BG.Ptr SDL3.Sys.Bindgen.Pixels.SDL_Palette)
hs_bindgen_5876f907103f7e2a :: Ptr SDL_Surface -> IO (Ptr SDL_Palette)
hs_bindgen_5876f907103f7e2a =
\Ptr SDL_Surface
x0 ->
(Ptr Void -> Ptr SDL_Palette)
-> IO (Ptr Void) -> IO (Ptr SDL_Palette)
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_Palette
FFIType (Ptr SDL_Palette) -> Ptr SDL_Palette
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_5876f907103f7e2a_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0))
sDL_GetSurfacePalette
:: BG.Ptr SDL_Surface
-> IO (BG.Ptr SDL3.Sys.Bindgen.Pixels.SDL_Palette)
sDL_GetSurfacePalette :: Ptr SDL_Surface -> IO (Ptr SDL_Palette)
sDL_GetSurfacePalette = Ptr SDL_Surface -> IO (Ptr SDL_Palette)
hs_bindgen_5876f907103f7e2a
foreign import ccall safe "hs_bindgen_0b7cea3e32121db6"
hs_bindgen_0b7cea3e32121db6_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_0b7cea3e32121db6
:: BG.Ptr SDL_Surface
-> BG.Ptr SDL_Surface
-> IO BG.CBool
hs_bindgen_0b7cea3e32121db6 :: Ptr SDL_Surface -> Ptr SDL_Surface -> IO CBool
hs_bindgen_0b7cea3e32121db6 =
\Ptr SDL_Surface
x0 ->
\Ptr SDL_Surface
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_0b7cea3e32121db6_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0) (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x1))
sDL_AddSurfaceAlternateImage
:: BG.Ptr SDL_Surface
-> BG.Ptr SDL_Surface
-> IO BG.CBool
sDL_AddSurfaceAlternateImage :: Ptr SDL_Surface -> Ptr SDL_Surface -> IO CBool
sDL_AddSurfaceAlternateImage =
Ptr SDL_Surface -> Ptr SDL_Surface -> IO CBool
hs_bindgen_0b7cea3e32121db6
foreign import ccall safe "hs_bindgen_bb885b70690a833c"
hs_bindgen_bb885b70690a833c_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_bb885b70690a833c
:: BG.Ptr SDL_Surface
-> IO BG.CBool
hs_bindgen_bb885b70690a833c :: Ptr SDL_Surface -> IO CBool
hs_bindgen_bb885b70690a833c =
\Ptr SDL_Surface
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_bb885b70690a833c_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0))
sDL_SurfaceHasAlternateImages
:: BG.Ptr SDL_Surface
-> IO BG.CBool
sDL_SurfaceHasAlternateImages :: Ptr SDL_Surface -> IO CBool
sDL_SurfaceHasAlternateImages =
Ptr SDL_Surface -> IO CBool
hs_bindgen_bb885b70690a833c
foreign import ccall safe "hs_bindgen_a622f58d7ad78b73"
hs_bindgen_a622f58d7ad78b73_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_a622f58d7ad78b73
:: BG.Ptr SDL_Surface
-> BG.Ptr BG.CInt
-> IO (BG.Ptr (BG.Ptr SDL_Surface))
hs_bindgen_a622f58d7ad78b73 :: Ptr SDL_Surface -> Ptr CInt -> IO (Ptr (Ptr SDL_Surface))
hs_bindgen_a622f58d7ad78b73 =
\Ptr SDL_Surface
x0 ->
\Ptr CInt
x1 ->
(Ptr Void -> Ptr (Ptr SDL_Surface))
-> IO (Ptr Void) -> IO (Ptr (Ptr SDL_Surface))
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 (Ptr SDL_Surface)
FFIType (Ptr (Ptr SDL_Surface)) -> Ptr (Ptr SDL_Surface)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO (Ptr Void)
hs_bindgen_a622f58d7ad78b73_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0) (Ptr CInt -> FFIType (Ptr CInt)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CInt
x1))
sDL_GetSurfaceImages
:: BG.Ptr SDL_Surface
-> BG.Ptr BG.CInt
-> IO (BG.Ptr (BG.Ptr SDL_Surface))
sDL_GetSurfaceImages :: Ptr SDL_Surface -> Ptr CInt -> IO (Ptr (Ptr SDL_Surface))
sDL_GetSurfaceImages = Ptr SDL_Surface -> Ptr CInt -> IO (Ptr (Ptr SDL_Surface))
hs_bindgen_a622f58d7ad78b73
foreign import ccall safe "hs_bindgen_9d874c9b10aefa86"
hs_bindgen_9d874c9b10aefa86_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_9d874c9b10aefa86
:: BG.Ptr SDL_Surface
-> IO ()
hs_bindgen_9d874c9b10aefa86 :: Ptr SDL_Surface -> IO ()
hs_bindgen_9d874c9b10aefa86 =
\Ptr SDL_Surface
x0 ->
Ptr Void -> IO ()
hs_bindgen_9d874c9b10aefa86_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0)
sDL_RemoveSurfaceAlternateImages
:: BG.Ptr SDL_Surface
-> IO ()
sDL_RemoveSurfaceAlternateImages :: Ptr SDL_Surface -> IO ()
sDL_RemoveSurfaceAlternateImages =
Ptr SDL_Surface -> IO ()
hs_bindgen_9d874c9b10aefa86
foreign import ccall safe "hs_bindgen_db64a610fba08fca"
hs_bindgen_db64a610fba08fca_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_db64a610fba08fca
:: BG.Ptr SDL_Surface
-> IO BG.CBool
hs_bindgen_db64a610fba08fca :: Ptr SDL_Surface -> IO CBool
hs_bindgen_db64a610fba08fca =
\Ptr SDL_Surface
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_db64a610fba08fca_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0))
sDL_LockSurface
:: BG.Ptr SDL_Surface
-> IO BG.CBool
sDL_LockSurface :: Ptr SDL_Surface -> IO CBool
sDL_LockSurface = Ptr SDL_Surface -> IO CBool
hs_bindgen_db64a610fba08fca
foreign import ccall safe "hs_bindgen_8f1af892d2fe009c"
hs_bindgen_8f1af892d2fe009c_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_8f1af892d2fe009c
:: BG.Ptr SDL_Surface
-> IO ()
hs_bindgen_8f1af892d2fe009c :: Ptr SDL_Surface -> IO ()
hs_bindgen_8f1af892d2fe009c =
\Ptr SDL_Surface
x0 ->
Ptr Void -> IO ()
hs_bindgen_8f1af892d2fe009c_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0)
sDL_UnlockSurface
:: BG.Ptr SDL_Surface
-> IO ()
sDL_UnlockSurface :: Ptr SDL_Surface -> IO ()
sDL_UnlockSurface = Ptr SDL_Surface -> IO ()
hs_bindgen_8f1af892d2fe009c
foreign import ccall safe "hs_bindgen_35d3f5b89da7d967"
hs_bindgen_35d3f5b89da7d967_base
:: BG.Ptr BG.Void
-> BG.CBool
-> IO (BG.Ptr BG.Void)
hs_bindgen_35d3f5b89da7d967
:: BG.Ptr SDL3.Sys.Bindgen.Iostream.SDL_IOStream
-> BG.CBool
-> IO (BG.Ptr SDL_Surface)
hs_bindgen_35d3f5b89da7d967 :: Ptr SDL_IOStream -> CBool -> IO (Ptr SDL_Surface)
hs_bindgen_35d3f5b89da7d967 =
\Ptr SDL_IOStream
x0 ->
\CBool
x1 ->
(Ptr Void -> Ptr SDL_Surface)
-> IO (Ptr Void) -> IO (Ptr SDL_Surface)
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_Surface
FFIType (Ptr SDL_Surface) -> Ptr SDL_Surface
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> CBool -> IO (Ptr Void)
hs_bindgen_35d3f5b89da7d967_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x1))
sDL_LoadSurface_IO
:: BG.Ptr SDL3.Sys.Bindgen.Iostream.SDL_IOStream
-> BG.CBool
-> IO (BG.Ptr SDL_Surface)
sDL_LoadSurface_IO :: Ptr SDL_IOStream -> CBool -> IO (Ptr SDL_Surface)
sDL_LoadSurface_IO = Ptr SDL_IOStream -> CBool -> IO (Ptr SDL_Surface)
hs_bindgen_35d3f5b89da7d967
foreign import ccall safe "hs_bindgen_3fecd62d86ccada1"
hs_bindgen_3fecd62d86ccada1_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_3fecd62d86ccada1
:: PtrConst.PtrConst BG.CChar
-> IO (BG.Ptr SDL_Surface)
hs_bindgen_3fecd62d86ccada1 :: PtrConst CChar -> IO (Ptr SDL_Surface)
hs_bindgen_3fecd62d86ccada1 =
\PtrConst CChar
x0 ->
(Ptr Void -> Ptr SDL_Surface)
-> IO (Ptr Void) -> IO (Ptr SDL_Surface)
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_Surface
FFIType (Ptr SDL_Surface) -> Ptr SDL_Surface
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_3fecd62d86ccada1_base (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x0))
sDL_LoadSurface
:: PtrConst.PtrConst BG.CChar
-> IO (BG.Ptr SDL_Surface)
sDL_LoadSurface :: PtrConst CChar -> IO (Ptr SDL_Surface)
sDL_LoadSurface = PtrConst CChar -> IO (Ptr SDL_Surface)
hs_bindgen_3fecd62d86ccada1
foreign import ccall safe "hs_bindgen_8327ab2e34d76ef3"
hs_bindgen_8327ab2e34d76ef3_base
:: BG.Ptr BG.Void
-> BG.CBool
-> IO (BG.Ptr BG.Void)
hs_bindgen_8327ab2e34d76ef3
:: BG.Ptr SDL3.Sys.Bindgen.Iostream.SDL_IOStream
-> BG.CBool
-> IO (BG.Ptr SDL_Surface)
hs_bindgen_8327ab2e34d76ef3 :: Ptr SDL_IOStream -> CBool -> IO (Ptr SDL_Surface)
hs_bindgen_8327ab2e34d76ef3 =
\Ptr SDL_IOStream
x0 ->
\CBool
x1 ->
(Ptr Void -> Ptr SDL_Surface)
-> IO (Ptr Void) -> IO (Ptr SDL_Surface)
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_Surface
FFIType (Ptr SDL_Surface) -> Ptr SDL_Surface
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> CBool -> IO (Ptr Void)
hs_bindgen_8327ab2e34d76ef3_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x1))
sDL_LoadBMP_IO
:: BG.Ptr SDL3.Sys.Bindgen.Iostream.SDL_IOStream
-> BG.CBool
-> IO (BG.Ptr SDL_Surface)
sDL_LoadBMP_IO :: Ptr SDL_IOStream -> CBool -> IO (Ptr SDL_Surface)
sDL_LoadBMP_IO = Ptr SDL_IOStream -> CBool -> IO (Ptr SDL_Surface)
hs_bindgen_8327ab2e34d76ef3
foreign import ccall safe "hs_bindgen_fced4187c12f6580"
hs_bindgen_fced4187c12f6580_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_fced4187c12f6580
:: PtrConst.PtrConst BG.CChar
-> IO (BG.Ptr SDL_Surface)
hs_bindgen_fced4187c12f6580 :: PtrConst CChar -> IO (Ptr SDL_Surface)
hs_bindgen_fced4187c12f6580 =
\PtrConst CChar
x0 ->
(Ptr Void -> Ptr SDL_Surface)
-> IO (Ptr Void) -> IO (Ptr SDL_Surface)
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_Surface
FFIType (Ptr SDL_Surface) -> Ptr SDL_Surface
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_fced4187c12f6580_base (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x0))
sDL_LoadBMP
:: PtrConst.PtrConst BG.CChar
-> IO (BG.Ptr SDL_Surface)
sDL_LoadBMP :: PtrConst CChar -> IO (Ptr SDL_Surface)
sDL_LoadBMP = PtrConst CChar -> IO (Ptr SDL_Surface)
hs_bindgen_fced4187c12f6580
foreign import ccall safe "hs_bindgen_a8c9380df03494fa"
hs_bindgen_a8c9380df03494fa_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CBool
-> IO BG.CBool
hs_bindgen_a8c9380df03494fa
:: BG.Ptr SDL_Surface
-> BG.Ptr SDL3.Sys.Bindgen.Iostream.SDL_IOStream
-> BG.CBool
-> IO BG.CBool
hs_bindgen_a8c9380df03494fa :: Ptr SDL_Surface -> Ptr SDL_IOStream -> CBool -> IO CBool
hs_bindgen_a8c9380df03494fa =
\Ptr SDL_Surface
x0 ->
\Ptr SDL_IOStream
x1 ->
\CBool
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 -> CBool -> IO CBool
hs_bindgen_a8c9380df03494fa_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0) (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x1) (CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x2))
sDL_SaveBMP_IO
:: BG.Ptr SDL_Surface
-> BG.Ptr SDL3.Sys.Bindgen.Iostream.SDL_IOStream
-> BG.CBool
-> IO BG.CBool
sDL_SaveBMP_IO :: Ptr SDL_Surface -> Ptr SDL_IOStream -> CBool -> IO CBool
sDL_SaveBMP_IO = Ptr SDL_Surface -> Ptr SDL_IOStream -> CBool -> IO CBool
hs_bindgen_a8c9380df03494fa
foreign import ccall safe "hs_bindgen_9f5c906fe39b463b"
hs_bindgen_9f5c906fe39b463b_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_9f5c906fe39b463b
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst BG.CChar
-> IO BG.CBool
hs_bindgen_9f5c906fe39b463b :: Ptr SDL_Surface -> PtrConst CChar -> IO CBool
hs_bindgen_9f5c906fe39b463b =
\Ptr SDL_Surface
x0 ->
\PtrConst CChar
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_9f5c906fe39b463b_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x1))
sDL_SaveBMP
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst BG.CChar
-> IO BG.CBool
sDL_SaveBMP :: Ptr SDL_Surface -> PtrConst CChar -> IO CBool
sDL_SaveBMP = Ptr SDL_Surface -> PtrConst CChar -> IO CBool
hs_bindgen_9f5c906fe39b463b
foreign import ccall safe "hs_bindgen_5438f82ebfd0db2d"
hs_bindgen_5438f82ebfd0db2d_base
:: BG.Ptr BG.Void
-> BG.CBool
-> IO (BG.Ptr BG.Void)
hs_bindgen_5438f82ebfd0db2d
:: BG.Ptr SDL3.Sys.Bindgen.Iostream.SDL_IOStream
-> BG.CBool
-> IO (BG.Ptr SDL_Surface)
hs_bindgen_5438f82ebfd0db2d :: Ptr SDL_IOStream -> CBool -> IO (Ptr SDL_Surface)
hs_bindgen_5438f82ebfd0db2d =
\Ptr SDL_IOStream
x0 ->
\CBool
x1 ->
(Ptr Void -> Ptr SDL_Surface)
-> IO (Ptr Void) -> IO (Ptr SDL_Surface)
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_Surface
FFIType (Ptr SDL_Surface) -> Ptr SDL_Surface
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> CBool -> IO (Ptr Void)
hs_bindgen_5438f82ebfd0db2d_base (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x0) (CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x1))
sDL_LoadPNG_IO
:: BG.Ptr SDL3.Sys.Bindgen.Iostream.SDL_IOStream
-> BG.CBool
-> IO (BG.Ptr SDL_Surface)
sDL_LoadPNG_IO :: Ptr SDL_IOStream -> CBool -> IO (Ptr SDL_Surface)
sDL_LoadPNG_IO = Ptr SDL_IOStream -> CBool -> IO (Ptr SDL_Surface)
hs_bindgen_5438f82ebfd0db2d
foreign import ccall safe "hs_bindgen_75a60dd30aa46884"
hs_bindgen_75a60dd30aa46884_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_75a60dd30aa46884
:: PtrConst.PtrConst BG.CChar
-> IO (BG.Ptr SDL_Surface)
hs_bindgen_75a60dd30aa46884 :: PtrConst CChar -> IO (Ptr SDL_Surface)
hs_bindgen_75a60dd30aa46884 =
\PtrConst CChar
x0 ->
(Ptr Void -> Ptr SDL_Surface)
-> IO (Ptr Void) -> IO (Ptr SDL_Surface)
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_Surface
FFIType (Ptr SDL_Surface) -> Ptr SDL_Surface
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_75a60dd30aa46884_base (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x0))
sDL_LoadPNG
:: PtrConst.PtrConst BG.CChar
-> IO (BG.Ptr SDL_Surface)
sDL_LoadPNG :: PtrConst CChar -> IO (Ptr SDL_Surface)
sDL_LoadPNG = PtrConst CChar -> IO (Ptr SDL_Surface)
hs_bindgen_75a60dd30aa46884
foreign import ccall safe "hs_bindgen_9e770fcf56e4fd03"
hs_bindgen_9e770fcf56e4fd03_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CBool
-> IO BG.CBool
hs_bindgen_9e770fcf56e4fd03
:: BG.Ptr SDL_Surface
-> BG.Ptr SDL3.Sys.Bindgen.Iostream.SDL_IOStream
-> BG.CBool
-> IO BG.CBool
hs_bindgen_9e770fcf56e4fd03 :: Ptr SDL_Surface -> Ptr SDL_IOStream -> CBool -> IO CBool
hs_bindgen_9e770fcf56e4fd03 =
\Ptr SDL_Surface
x0 ->
\Ptr SDL_IOStream
x1 ->
\CBool
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 -> CBool -> IO CBool
hs_bindgen_9e770fcf56e4fd03_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0) (Ptr SDL_IOStream -> FFIType (Ptr SDL_IOStream)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_IOStream
x1) (CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x2))
sDL_SavePNG_IO
:: BG.Ptr SDL_Surface
-> BG.Ptr SDL3.Sys.Bindgen.Iostream.SDL_IOStream
-> BG.CBool
-> IO BG.CBool
sDL_SavePNG_IO :: Ptr SDL_Surface -> Ptr SDL_IOStream -> CBool -> IO CBool
sDL_SavePNG_IO = Ptr SDL_Surface -> Ptr SDL_IOStream -> CBool -> IO CBool
hs_bindgen_9e770fcf56e4fd03
foreign import ccall safe "hs_bindgen_6bc28b4b1f4a9d05"
hs_bindgen_6bc28b4b1f4a9d05_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_6bc28b4b1f4a9d05
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst BG.CChar
-> IO BG.CBool
hs_bindgen_6bc28b4b1f4a9d05 :: Ptr SDL_Surface -> PtrConst CChar -> IO CBool
hs_bindgen_6bc28b4b1f4a9d05 =
\Ptr SDL_Surface
x0 ->
\PtrConst CChar
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_6bc28b4b1f4a9d05_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x1))
sDL_SavePNG
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst BG.CChar
-> IO BG.CBool
sDL_SavePNG :: Ptr SDL_Surface -> PtrConst CChar -> IO CBool
sDL_SavePNG = Ptr SDL_Surface -> PtrConst CChar -> IO CBool
hs_bindgen_6bc28b4b1f4a9d05
foreign import ccall safe "hs_bindgen_15ba59ca0ef8e4ad"
hs_bindgen_15ba59ca0ef8e4ad_base
:: BG.Ptr BG.Void
-> BG.CBool
-> IO BG.CBool
hs_bindgen_15ba59ca0ef8e4ad
:: BG.Ptr SDL_Surface
-> BG.CBool
-> IO BG.CBool
hs_bindgen_15ba59ca0ef8e4ad :: Ptr SDL_Surface -> CBool -> IO CBool
hs_bindgen_15ba59ca0ef8e4ad =
\Ptr SDL_Surface
x0 ->
\CBool
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 -> CBool -> IO CBool
hs_bindgen_15ba59ca0ef8e4ad_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0) (CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x1))
sDL_SetSurfaceRLE
:: BG.Ptr SDL_Surface
-> BG.CBool
-> IO BG.CBool
sDL_SetSurfaceRLE :: Ptr SDL_Surface -> CBool -> IO CBool
sDL_SetSurfaceRLE = Ptr SDL_Surface -> CBool -> IO CBool
hs_bindgen_15ba59ca0ef8e4ad
foreign import ccall safe "hs_bindgen_d627111ac7084ad7"
hs_bindgen_d627111ac7084ad7_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_d627111ac7084ad7
:: BG.Ptr SDL_Surface
-> IO BG.CBool
hs_bindgen_d627111ac7084ad7 :: Ptr SDL_Surface -> IO CBool
hs_bindgen_d627111ac7084ad7 =
\Ptr SDL_Surface
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_d627111ac7084ad7_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0))
sDL_SurfaceHasRLE
:: BG.Ptr SDL_Surface
-> IO BG.CBool
sDL_SurfaceHasRLE :: Ptr SDL_Surface -> IO CBool
sDL_SurfaceHasRLE = Ptr SDL_Surface -> IO CBool
hs_bindgen_d627111ac7084ad7
foreign import ccall safe "hs_bindgen_f4def14a31ba1ed7"
hs_bindgen_f4def14a31ba1ed7_base
:: BG.Ptr BG.Void
-> BG.CBool
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_f4def14a31ba1ed7
:: BG.Ptr SDL_Surface
-> BG.CBool
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_f4def14a31ba1ed7 :: Ptr SDL_Surface -> CBool -> Uint32 -> IO CBool
hs_bindgen_f4def14a31ba1ed7 =
\Ptr SDL_Surface
x0 ->
\CBool
x1 ->
\Uint32
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 -> CBool -> Word32 -> IO CBool
hs_bindgen_f4def14a31ba1ed7_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0) (CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x1) (Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x2))
sDL_SetSurfaceColorKey
:: BG.Ptr SDL_Surface
-> BG.CBool
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
sDL_SetSurfaceColorKey :: Ptr SDL_Surface -> CBool -> Uint32 -> IO CBool
sDL_SetSurfaceColorKey = Ptr SDL_Surface -> CBool -> Uint32 -> IO CBool
hs_bindgen_f4def14a31ba1ed7
foreign import ccall safe "hs_bindgen_4d3f9b51f9d999a8"
hs_bindgen_4d3f9b51f9d999a8_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_4d3f9b51f9d999a8
:: BG.Ptr SDL_Surface
-> IO BG.CBool
hs_bindgen_4d3f9b51f9d999a8 :: Ptr SDL_Surface -> IO CBool
hs_bindgen_4d3f9b51f9d999a8 =
\Ptr SDL_Surface
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_4d3f9b51f9d999a8_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0))
sDL_SurfaceHasColorKey
:: BG.Ptr SDL_Surface
-> IO BG.CBool
sDL_SurfaceHasColorKey :: Ptr SDL_Surface -> IO CBool
sDL_SurfaceHasColorKey = Ptr SDL_Surface -> IO CBool
hs_bindgen_4d3f9b51f9d999a8
foreign import ccall safe "hs_bindgen_a54e363a1e1eaa5a"
hs_bindgen_a54e363a1e1eaa5a_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_a54e363a1e1eaa5a
:: BG.Ptr SDL_Surface
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_a54e363a1e1eaa5a :: Ptr SDL_Surface -> Ptr Uint32 -> IO CBool
hs_bindgen_a54e363a1e1eaa5a =
\Ptr SDL_Surface
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_a54e363a1e1eaa5a_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0) (Ptr Uint32 -> FFIType (Ptr Uint32)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Uint32
x1))
sDL_GetSurfaceColorKey
:: BG.Ptr SDL_Surface
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
sDL_GetSurfaceColorKey :: Ptr SDL_Surface -> Ptr Uint32 -> IO CBool
sDL_GetSurfaceColorKey = Ptr SDL_Surface -> Ptr Uint32 -> IO CBool
hs_bindgen_a54e363a1e1eaa5a
foreign import ccall safe "hs_bindgen_8b27208d3c207793"
hs_bindgen_8b27208d3c207793_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word8
-> HsBindgen.Runtime.LibC.Word8
-> HsBindgen.Runtime.LibC.Word8
-> IO BG.CBool
hs_bindgen_8b27208d3c207793
:: BG.Ptr SDL_Surface
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
hs_bindgen_8b27208d3c207793 :: Ptr SDL_Surface -> Uint8 -> Uint8 -> Uint8 -> IO CBool
hs_bindgen_8b27208d3c207793 =
\Ptr SDL_Surface
x0 ->
\Uint8
x1 ->
\Uint8
x2 ->
\Uint8
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 -> Word8 -> Word8 -> Word8 -> IO CBool
hs_bindgen_8b27208d3c207793_base
(Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0)
(Uint8 -> FFIType Uint8
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint8
x1)
(Uint8 -> FFIType Uint8
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint8
x2)
(Uint8 -> FFIType Uint8
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint8
x3)
)
sDL_SetSurfaceColorMod
:: BG.Ptr SDL_Surface
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
sDL_SetSurfaceColorMod :: Ptr SDL_Surface -> Uint8 -> Uint8 -> Uint8 -> IO CBool
sDL_SetSurfaceColorMod = Ptr SDL_Surface -> Uint8 -> Uint8 -> Uint8 -> IO CBool
hs_bindgen_8b27208d3c207793
foreign import ccall safe "hs_bindgen_34ffb5b1c38e964a"
hs_bindgen_34ffb5b1c38e964a_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_34ffb5b1c38e964a
:: BG.Ptr SDL_Surface
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint8
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint8
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
hs_bindgen_34ffb5b1c38e964a :: Ptr SDL_Surface -> Ptr Uint8 -> Ptr Uint8 -> Ptr Uint8 -> IO CBool
hs_bindgen_34ffb5b1c38e964a =
\Ptr SDL_Surface
x0 ->
\Ptr Uint8
x1 ->
\Ptr Uint8
x2 ->
\Ptr Uint8
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 -> Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_34ffb5b1c38e964a_base
(Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0)
(Ptr Uint8 -> FFIType (Ptr Uint8)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Uint8
x1)
(Ptr Uint8 -> FFIType (Ptr Uint8)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Uint8
x2)
(Ptr Uint8 -> FFIType (Ptr Uint8)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Uint8
x3)
)
sDL_GetSurfaceColorMod
:: BG.Ptr SDL_Surface
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint8
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint8
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
sDL_GetSurfaceColorMod :: Ptr SDL_Surface -> Ptr Uint8 -> Ptr Uint8 -> Ptr Uint8 -> IO CBool
sDL_GetSurfaceColorMod = Ptr SDL_Surface -> Ptr Uint8 -> Ptr Uint8 -> Ptr Uint8 -> IO CBool
hs_bindgen_34ffb5b1c38e964a
foreign import ccall safe "hs_bindgen_c9f8378e1f43a4b5"
hs_bindgen_c9f8378e1f43a4b5_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word8
-> IO BG.CBool
hs_bindgen_c9f8378e1f43a4b5
:: BG.Ptr SDL_Surface
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
hs_bindgen_c9f8378e1f43a4b5 :: Ptr SDL_Surface -> Uint8 -> IO CBool
hs_bindgen_c9f8378e1f43a4b5 =
\Ptr SDL_Surface
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_c9f8378e1f43a4b5_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0) (Uint8 -> FFIType Uint8
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint8
x1))
sDL_SetSurfaceAlphaMod
:: BG.Ptr SDL_Surface
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
sDL_SetSurfaceAlphaMod :: Ptr SDL_Surface -> Uint8 -> IO CBool
sDL_SetSurfaceAlphaMod = Ptr SDL_Surface -> Uint8 -> IO CBool
hs_bindgen_c9f8378e1f43a4b5
foreign import ccall safe "hs_bindgen_c58e7719cc38fbb7"
hs_bindgen_c58e7719cc38fbb7_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_c58e7719cc38fbb7
:: BG.Ptr SDL_Surface
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
hs_bindgen_c58e7719cc38fbb7 :: Ptr SDL_Surface -> Ptr Uint8 -> IO CBool
hs_bindgen_c58e7719cc38fbb7 =
\Ptr SDL_Surface
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_c58e7719cc38fbb7_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0) (Ptr Uint8 -> FFIType (Ptr Uint8)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Uint8
x1))
sDL_GetSurfaceAlphaMod
:: BG.Ptr SDL_Surface
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
sDL_GetSurfaceAlphaMod :: Ptr SDL_Surface -> Ptr Uint8 -> IO CBool
sDL_GetSurfaceAlphaMod = Ptr SDL_Surface -> Ptr Uint8 -> IO CBool
hs_bindgen_c58e7719cc38fbb7
foreign import ccall safe "hs_bindgen_8e7ff2b3301fecfa"
hs_bindgen_8e7ff2b3301fecfa_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_8e7ff2b3301fecfa
:: BG.Ptr SDL_Surface
-> SDL3.Sys.Bindgen.Blendmode.SDL_BlendMode
-> IO BG.CBool
hs_bindgen_8e7ff2b3301fecfa :: Ptr SDL_Surface -> SDL_BlendMode -> IO CBool
hs_bindgen_8e7ff2b3301fecfa =
\Ptr SDL_Surface
x0 ->
\SDL_BlendMode
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_8e7ff2b3301fecfa_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0) (SDL_BlendMode -> FFIType SDL_BlendMode
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_BlendMode
x1))
sDL_SetSurfaceBlendMode
:: BG.Ptr SDL_Surface
-> SDL3.Sys.Bindgen.Blendmode.SDL_BlendMode
-> IO BG.CBool
sDL_SetSurfaceBlendMode :: Ptr SDL_Surface -> SDL_BlendMode -> IO CBool
sDL_SetSurfaceBlendMode = Ptr SDL_Surface -> SDL_BlendMode -> IO CBool
hs_bindgen_8e7ff2b3301fecfa
foreign import ccall safe "hs_bindgen_79a3cd778c72f8e2"
hs_bindgen_79a3cd778c72f8e2_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_79a3cd778c72f8e2
:: BG.Ptr SDL_Surface
-> BG.Ptr SDL3.Sys.Bindgen.Blendmode.SDL_BlendMode
-> IO BG.CBool
hs_bindgen_79a3cd778c72f8e2 :: Ptr SDL_Surface -> Ptr SDL_BlendMode -> IO CBool
hs_bindgen_79a3cd778c72f8e2 =
\Ptr SDL_Surface
x0 ->
\Ptr SDL_BlendMode
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_79a3cd778c72f8e2_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0) (Ptr SDL_BlendMode -> FFIType (Ptr SDL_BlendMode)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_BlendMode
x1))
sDL_GetSurfaceBlendMode
:: BG.Ptr SDL_Surface
-> BG.Ptr SDL3.Sys.Bindgen.Blendmode.SDL_BlendMode
-> IO BG.CBool
sDL_GetSurfaceBlendMode :: Ptr SDL_Surface -> Ptr SDL_BlendMode -> IO CBool
sDL_GetSurfaceBlendMode = Ptr SDL_Surface -> Ptr SDL_BlendMode -> IO CBool
hs_bindgen_79a3cd778c72f8e2
foreign import ccall safe "hs_bindgen_2820354795314f60"
hs_bindgen_2820354795314f60_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_2820354795314f60
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> IO BG.CBool
hs_bindgen_2820354795314f60 :: Ptr SDL_Surface -> PtrConst SDL_Rect -> IO CBool
hs_bindgen_2820354795314f60 =
\Ptr SDL_Surface
x0 ->
\PtrConst SDL_Rect
x1 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_2820354795314f60_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0) (PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x1))
sDL_SetSurfaceClipRect
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> IO BG.CBool
sDL_SetSurfaceClipRect :: Ptr SDL_Surface -> PtrConst SDL_Rect -> IO CBool
sDL_SetSurfaceClipRect = Ptr SDL_Surface -> PtrConst SDL_Rect -> IO CBool
hs_bindgen_2820354795314f60
foreign import ccall safe "hs_bindgen_b910b24fe46481d6"
hs_bindgen_b910b24fe46481d6_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_b910b24fe46481d6
:: BG.Ptr SDL_Surface
-> BG.Ptr SDL3.Sys.Bindgen.Rect.SDL_Rect
-> IO BG.CBool
hs_bindgen_b910b24fe46481d6 :: Ptr SDL_Surface -> Ptr SDL_Rect -> IO CBool
hs_bindgen_b910b24fe46481d6 =
\Ptr SDL_Surface
x0 ->
\Ptr SDL_Rect
x1 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_b910b24fe46481d6_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0) (Ptr SDL_Rect -> FFIType (Ptr SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Rect
x1))
sDL_GetSurfaceClipRect
:: BG.Ptr SDL_Surface
-> BG.Ptr SDL3.Sys.Bindgen.Rect.SDL_Rect
-> IO BG.CBool
sDL_GetSurfaceClipRect :: Ptr SDL_Surface -> Ptr SDL_Rect -> IO CBool
sDL_GetSurfaceClipRect = Ptr SDL_Surface -> Ptr SDL_Rect -> IO CBool
hs_bindgen_b910b24fe46481d6
foreign import ccall safe "hs_bindgen_c88156522122ee98"
hs_bindgen_c88156522122ee98_base
:: BG.Ptr BG.Void
-> BG.CUInt
-> IO BG.CBool
hs_bindgen_c88156522122ee98
:: BG.Ptr SDL_Surface
-> SDL_FlipMode
-> IO BG.CBool
hs_bindgen_c88156522122ee98 :: Ptr SDL_Surface -> SDL_FlipMode -> IO CBool
hs_bindgen_c88156522122ee98 =
\Ptr SDL_Surface
x0 ->
\SDL_FlipMode
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 -> CUInt -> IO CBool
hs_bindgen_c88156522122ee98_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0) (SDL_FlipMode -> FFIType SDL_FlipMode
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_FlipMode
x1))
sDL_FlipSurface
:: BG.Ptr SDL_Surface
-> SDL_FlipMode
-> IO BG.CBool
sDL_FlipSurface :: Ptr SDL_Surface -> SDL_FlipMode -> IO CBool
sDL_FlipSurface = Ptr SDL_Surface -> SDL_FlipMode -> IO CBool
hs_bindgen_c88156522122ee98
foreign import ccall safe "hs_bindgen_a1316efcfef047d4"
hs_bindgen_a1316efcfef047d4_base
:: BG.Ptr BG.Void
-> BG.CFloat
-> IO (BG.Ptr BG.Void)
hs_bindgen_a1316efcfef047d4
:: BG.Ptr SDL_Surface
-> BG.CFloat
-> IO (BG.Ptr SDL_Surface)
hs_bindgen_a1316efcfef047d4 :: Ptr SDL_Surface -> CFloat -> IO (Ptr SDL_Surface)
hs_bindgen_a1316efcfef047d4 =
\Ptr SDL_Surface
x0 ->
\CFloat
x1 ->
(Ptr Void -> Ptr SDL_Surface)
-> IO (Ptr Void) -> IO (Ptr SDL_Surface)
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_Surface
FFIType (Ptr SDL_Surface) -> Ptr SDL_Surface
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> CFloat -> IO (Ptr Void)
hs_bindgen_a1316efcfef047d4_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0) (CFloat -> FFIType CFloat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CFloat
x1))
sDL_RotateSurface
:: BG.Ptr SDL_Surface
-> BG.CFloat
-> IO (BG.Ptr SDL_Surface)
sDL_RotateSurface :: Ptr SDL_Surface -> CFloat -> IO (Ptr SDL_Surface)
sDL_RotateSurface = Ptr SDL_Surface -> CFloat -> IO (Ptr SDL_Surface)
hs_bindgen_a1316efcfef047d4
foreign import ccall safe "hs_bindgen_6d95029f36464bfd"
hs_bindgen_6d95029f36464bfd_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_6d95029f36464bfd
:: BG.Ptr SDL_Surface
-> IO (BG.Ptr SDL_Surface)
hs_bindgen_6d95029f36464bfd :: Ptr SDL_Surface -> IO (Ptr SDL_Surface)
hs_bindgen_6d95029f36464bfd =
\Ptr SDL_Surface
x0 ->
(Ptr Void -> Ptr SDL_Surface)
-> IO (Ptr Void) -> IO (Ptr SDL_Surface)
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_Surface
FFIType (Ptr SDL_Surface) -> Ptr SDL_Surface
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_6d95029f36464bfd_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0))
sDL_DuplicateSurface
:: BG.Ptr SDL_Surface
-> IO (BG.Ptr SDL_Surface)
sDL_DuplicateSurface :: Ptr SDL_Surface -> IO (Ptr SDL_Surface)
sDL_DuplicateSurface = Ptr SDL_Surface -> IO (Ptr SDL_Surface)
hs_bindgen_6d95029f36464bfd
foreign import ccall safe "hs_bindgen_face97baca762cbd"
hs_bindgen_face97baca762cbd_base
:: BG.Ptr BG.Void
-> BG.CInt
-> BG.CInt
-> BG.CInt
-> IO (BG.Ptr BG.Void)
hs_bindgen_face97baca762cbd
:: BG.Ptr SDL_Surface
-> BG.CInt
-> BG.CInt
-> SDL_ScaleMode
-> IO (BG.Ptr SDL_Surface)
hs_bindgen_face97baca762cbd :: Ptr SDL_Surface
-> CInt -> CInt -> SDL_ScaleMode -> IO (Ptr SDL_Surface)
hs_bindgen_face97baca762cbd =
\Ptr SDL_Surface
x0 ->
\CInt
x1 ->
\CInt
x2 ->
\SDL_ScaleMode
x3 ->
(Ptr Void -> Ptr SDL_Surface)
-> IO (Ptr Void) -> IO (Ptr SDL_Surface)
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_Surface
FFIType (Ptr SDL_Surface) -> Ptr SDL_Surface
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void -> CInt -> CInt -> CInt -> IO (Ptr Void)
hs_bindgen_face97baca762cbd_base
(Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x2)
(SDL_ScaleMode -> FFIType SDL_ScaleMode
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_ScaleMode
x3)
)
sDL_ScaleSurface
:: BG.Ptr SDL_Surface
-> BG.CInt
-> BG.CInt
-> SDL_ScaleMode
-> IO (BG.Ptr SDL_Surface)
sDL_ScaleSurface :: Ptr SDL_Surface
-> CInt -> CInt -> SDL_ScaleMode -> IO (Ptr SDL_Surface)
sDL_ScaleSurface = Ptr SDL_Surface
-> CInt -> CInt -> SDL_ScaleMode -> IO (Ptr SDL_Surface)
hs_bindgen_face97baca762cbd
foreign import ccall safe "hs_bindgen_73e1e8c13e580d46"
hs_bindgen_73e1e8c13e580d46_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.Support.CUInt
-> IO (BG.Ptr BG.Void)
hs_bindgen_73e1e8c13e580d46
:: BG.Ptr SDL_Surface
-> SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
-> IO (BG.Ptr SDL_Surface)
hs_bindgen_73e1e8c13e580d46 :: Ptr SDL_Surface -> SDL_PixelFormat -> IO (Ptr SDL_Surface)
hs_bindgen_73e1e8c13e580d46 =
\Ptr SDL_Surface
x0 ->
\SDL_PixelFormat
x1 ->
(Ptr Void -> Ptr SDL_Surface)
-> IO (Ptr Void) -> IO (Ptr SDL_Surface)
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_Surface
FFIType (Ptr SDL_Surface) -> Ptr SDL_Surface
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> CUInt -> IO (Ptr Void)
hs_bindgen_73e1e8c13e580d46_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0) (SDL_PixelFormat -> FFIType SDL_PixelFormat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PixelFormat
x1))
sDL_ConvertSurface
:: BG.Ptr SDL_Surface
-> SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
-> IO (BG.Ptr SDL_Surface)
sDL_ConvertSurface :: Ptr SDL_Surface -> SDL_PixelFormat -> IO (Ptr SDL_Surface)
sDL_ConvertSurface = Ptr SDL_Surface -> SDL_PixelFormat -> IO (Ptr SDL_Surface)
hs_bindgen_73e1e8c13e580d46
foreign import ccall safe "hs_bindgen_e534837314acf47f"
hs_bindgen_e534837314acf47f_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.Support.CUInt
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.Support.CUInt
-> HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_e534837314acf47f
:: BG.Ptr SDL_Surface
-> SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
-> BG.Ptr SDL3.Sys.Bindgen.Pixels.SDL_Palette
-> SDL3.Sys.Bindgen.Pixels.SDL_Colorspace
-> SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
-> IO (BG.Ptr SDL_Surface)
hs_bindgen_e534837314acf47f :: Ptr SDL_Surface
-> SDL_PixelFormat
-> Ptr SDL_Palette
-> SDL_Colorspace
-> SDL_PropertiesID
-> IO (Ptr SDL_Surface)
hs_bindgen_e534837314acf47f =
\Ptr SDL_Surface
x0 ->
\SDL_PixelFormat
x1 ->
\Ptr SDL_Palette
x2 ->
\SDL_Colorspace
x3 ->
\SDL_PropertiesID
x4 ->
(Ptr Void -> Ptr SDL_Surface)
-> IO (Ptr Void) -> IO (Ptr SDL_Surface)
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_Surface
FFIType (Ptr SDL_Surface) -> Ptr SDL_Surface
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void -> CUInt -> Ptr Void -> CUInt -> Word32 -> IO (Ptr Void)
hs_bindgen_e534837314acf47f_base
(Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0)
(SDL_PixelFormat -> FFIType SDL_PixelFormat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PixelFormat
x1)
(Ptr SDL_Palette -> FFIType (Ptr SDL_Palette)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Palette
x2)
(SDL_Colorspace -> FFIType SDL_Colorspace
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_Colorspace
x3)
(SDL_PropertiesID -> FFIType SDL_PropertiesID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PropertiesID
x4)
)
sDL_ConvertSurfaceAndColorspace
:: BG.Ptr SDL_Surface
-> SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
-> BG.Ptr SDL3.Sys.Bindgen.Pixels.SDL_Palette
-> SDL3.Sys.Bindgen.Pixels.SDL_Colorspace
-> SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
-> IO (BG.Ptr SDL_Surface)
sDL_ConvertSurfaceAndColorspace :: Ptr SDL_Surface
-> SDL_PixelFormat
-> Ptr SDL_Palette
-> SDL_Colorspace
-> SDL_PropertiesID
-> IO (Ptr SDL_Surface)
sDL_ConvertSurfaceAndColorspace =
Ptr SDL_Surface
-> SDL_PixelFormat
-> Ptr SDL_Palette
-> SDL_Colorspace
-> SDL_PropertiesID
-> IO (Ptr SDL_Surface)
hs_bindgen_e534837314acf47f
foreign import ccall safe "hs_bindgen_435765f57837af03"
hs_bindgen_435765f57837af03_base
:: BG.CInt
-> BG.CInt
-> HsBindgen.Runtime.Support.CUInt
-> BG.Ptr BG.Void
-> BG.CInt
-> HsBindgen.Runtime.Support.CUInt
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_435765f57837af03
:: BG.CInt
-> BG.CInt
-> SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
-> PtrConst.PtrConst BG.Void
-> BG.CInt
-> SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_435765f57837af03 :: CInt
-> CInt
-> SDL_PixelFormat
-> PtrConst Void
-> CInt
-> SDL_PixelFormat
-> Ptr Void
-> CInt
-> IO CBool
hs_bindgen_435765f57837af03 =
\CInt
x0 ->
\CInt
x1 ->
\SDL_PixelFormat
x2 ->
\PtrConst Void
x3 ->
\CInt
x4 ->
\SDL_PixelFormat
x5 ->
\Ptr Void
x6 ->
\CInt
x7 ->
(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
( CInt
-> CInt
-> CUInt
-> Ptr Void
-> CInt
-> CUInt
-> Ptr Void
-> CInt
-> IO CBool
hs_bindgen_435765f57837af03_base
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x0)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1)
(SDL_PixelFormat -> FFIType SDL_PixelFormat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PixelFormat
x2)
(PtrConst Void -> FFIType (PtrConst Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst Void
x3)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x4)
(SDL_PixelFormat -> FFIType SDL_PixelFormat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PixelFormat
x5)
(Ptr Void -> FFIType (Ptr Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Void
x6)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x7)
)
sDL_ConvertPixels
:: BG.CInt
-> BG.CInt
-> SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
-> PtrConst.PtrConst BG.Void
-> BG.CInt
-> SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
sDL_ConvertPixels :: CInt
-> CInt
-> SDL_PixelFormat
-> PtrConst Void
-> CInt
-> SDL_PixelFormat
-> Ptr Void
-> CInt
-> IO CBool
sDL_ConvertPixels = CInt
-> CInt
-> SDL_PixelFormat
-> PtrConst Void
-> CInt
-> SDL_PixelFormat
-> Ptr Void
-> CInt
-> IO CBool
hs_bindgen_435765f57837af03
foreign import ccall safe "hs_bindgen_c1b70c1ec2328788"
hs_bindgen_c1b70c1ec2328788_base
:: BG.CInt
-> BG.CInt
-> HsBindgen.Runtime.Support.CUInt
-> HsBindgen.Runtime.Support.CUInt
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> BG.CInt
-> HsBindgen.Runtime.Support.CUInt
-> HsBindgen.Runtime.Support.CUInt
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_c1b70c1ec2328788
:: BG.CInt
-> BG.CInt
-> SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
-> SDL3.Sys.Bindgen.Pixels.SDL_Colorspace
-> SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
-> PtrConst.PtrConst BG.Void
-> BG.CInt
-> SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
-> SDL3.Sys.Bindgen.Pixels.SDL_Colorspace
-> SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_c1b70c1ec2328788 :: CInt
-> CInt
-> SDL_PixelFormat
-> SDL_Colorspace
-> SDL_PropertiesID
-> PtrConst Void
-> CInt
-> SDL_PixelFormat
-> SDL_Colorspace
-> SDL_PropertiesID
-> Ptr Void
-> CInt
-> IO CBool
hs_bindgen_c1b70c1ec2328788 =
\CInt
x0 ->
\CInt
x1 ->
\SDL_PixelFormat
x2 ->
\SDL_Colorspace
x3 ->
\SDL_PropertiesID
x4 ->
\PtrConst Void
x5 ->
\CInt
x6 ->
\SDL_PixelFormat
x7 ->
\SDL_Colorspace
x8 ->
\SDL_PropertiesID
x9 ->
\Ptr Void
x10 ->
\CInt
x11 ->
(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
( CInt
-> CInt
-> CUInt
-> CUInt
-> Word32
-> Ptr Void
-> CInt
-> CUInt
-> CUInt
-> Word32
-> Ptr Void
-> CInt
-> IO CBool
hs_bindgen_c1b70c1ec2328788_base
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x0)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1)
(SDL_PixelFormat -> FFIType SDL_PixelFormat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PixelFormat
x2)
(SDL_Colorspace -> FFIType SDL_Colorspace
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_Colorspace
x3)
(SDL_PropertiesID -> FFIType SDL_PropertiesID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PropertiesID
x4)
(PtrConst Void -> FFIType (PtrConst Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst Void
x5)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x6)
(SDL_PixelFormat -> FFIType SDL_PixelFormat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PixelFormat
x7)
(SDL_Colorspace -> FFIType SDL_Colorspace
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_Colorspace
x8)
(SDL_PropertiesID -> FFIType SDL_PropertiesID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PropertiesID
x9)
(Ptr Void -> FFIType (Ptr Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Void
x10)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x11)
)
sDL_ConvertPixelsAndColorspace
:: BG.CInt
-> BG.CInt
-> SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
-> SDL3.Sys.Bindgen.Pixels.SDL_Colorspace
-> SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
-> PtrConst.PtrConst BG.Void
-> BG.CInt
-> SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
-> SDL3.Sys.Bindgen.Pixels.SDL_Colorspace
-> SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
sDL_ConvertPixelsAndColorspace :: CInt
-> CInt
-> SDL_PixelFormat
-> SDL_Colorspace
-> SDL_PropertiesID
-> PtrConst Void
-> CInt
-> SDL_PixelFormat
-> SDL_Colorspace
-> SDL_PropertiesID
-> Ptr Void
-> CInt
-> IO CBool
sDL_ConvertPixelsAndColorspace =
CInt
-> CInt
-> SDL_PixelFormat
-> SDL_Colorspace
-> SDL_PropertiesID
-> PtrConst Void
-> CInt
-> SDL_PixelFormat
-> SDL_Colorspace
-> SDL_PropertiesID
-> Ptr Void
-> CInt
-> IO CBool
hs_bindgen_c1b70c1ec2328788
foreign import ccall safe "hs_bindgen_8e4daa78971d0cb7"
hs_bindgen_8e4daa78971d0cb7_base
:: BG.CInt
-> BG.CInt
-> HsBindgen.Runtime.Support.CUInt
-> BG.Ptr BG.Void
-> BG.CInt
-> HsBindgen.Runtime.Support.CUInt
-> BG.Ptr BG.Void
-> BG.CInt
-> BG.CBool
-> IO BG.CBool
hs_bindgen_8e4daa78971d0cb7
:: BG.CInt
-> BG.CInt
-> SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
-> PtrConst.PtrConst BG.Void
-> BG.CInt
-> SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
-> BG.Ptr BG.Void
-> BG.CInt
-> BG.CBool
-> IO BG.CBool
hs_bindgen_8e4daa78971d0cb7 :: CInt
-> CInt
-> SDL_PixelFormat
-> PtrConst Void
-> CInt
-> SDL_PixelFormat
-> Ptr Void
-> CInt
-> CBool
-> IO CBool
hs_bindgen_8e4daa78971d0cb7 =
\CInt
x0 ->
\CInt
x1 ->
\SDL_PixelFormat
x2 ->
\PtrConst Void
x3 ->
\CInt
x4 ->
\SDL_PixelFormat
x5 ->
\Ptr Void
x6 ->
\CInt
x7 ->
\CBool
x8 ->
(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
( CInt
-> CInt
-> CUInt
-> Ptr Void
-> CInt
-> CUInt
-> Ptr Void
-> CInt
-> CBool
-> IO CBool
hs_bindgen_8e4daa78971d0cb7_base
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x0)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1)
(SDL_PixelFormat -> FFIType SDL_PixelFormat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PixelFormat
x2)
(PtrConst Void -> FFIType (PtrConst Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst Void
x3)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x4)
(SDL_PixelFormat -> FFIType SDL_PixelFormat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PixelFormat
x5)
(Ptr Void -> FFIType (Ptr Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Void
x6)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x7)
(CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x8)
)
sDL_PremultiplyAlpha
:: BG.CInt
-> BG.CInt
-> SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
-> PtrConst.PtrConst BG.Void
-> BG.CInt
-> SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
-> BG.Ptr BG.Void
-> BG.CInt
-> BG.CBool
-> IO BG.CBool
sDL_PremultiplyAlpha :: CInt
-> CInt
-> SDL_PixelFormat
-> PtrConst Void
-> CInt
-> SDL_PixelFormat
-> Ptr Void
-> CInt
-> CBool
-> IO CBool
sDL_PremultiplyAlpha = CInt
-> CInt
-> SDL_PixelFormat
-> PtrConst Void
-> CInt
-> SDL_PixelFormat
-> Ptr Void
-> CInt
-> CBool
-> IO CBool
hs_bindgen_8e4daa78971d0cb7
foreign import ccall safe "hs_bindgen_56aa84cbef3d8f40"
hs_bindgen_56aa84cbef3d8f40_base
:: BG.Ptr BG.Void
-> BG.CBool
-> IO BG.CBool
hs_bindgen_56aa84cbef3d8f40
:: BG.Ptr SDL_Surface
-> BG.CBool
-> IO BG.CBool
hs_bindgen_56aa84cbef3d8f40 :: Ptr SDL_Surface -> CBool -> IO CBool
hs_bindgen_56aa84cbef3d8f40 =
\Ptr SDL_Surface
x0 ->
\CBool
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 -> CBool -> IO CBool
hs_bindgen_56aa84cbef3d8f40_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0) (CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x1))
sDL_PremultiplySurfaceAlpha
:: BG.Ptr SDL_Surface
-> BG.CBool
-> IO BG.CBool
sDL_PremultiplySurfaceAlpha :: Ptr SDL_Surface -> CBool -> IO CBool
sDL_PremultiplySurfaceAlpha =
Ptr SDL_Surface -> CBool -> IO CBool
hs_bindgen_56aa84cbef3d8f40
foreign import ccall safe "hs_bindgen_e97c19a44df98438"
hs_bindgen_e97c19a44df98438_base
:: BG.Ptr BG.Void
-> BG.CFloat
-> BG.CFloat
-> BG.CFloat
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_e97c19a44df98438
:: BG.Ptr SDL_Surface
-> BG.CFloat
-> BG.CFloat
-> BG.CFloat
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_e97c19a44df98438 :: Ptr SDL_Surface -> CFloat -> CFloat -> CFloat -> CFloat -> IO CBool
hs_bindgen_e97c19a44df98438 =
\Ptr SDL_Surface
x0 ->
\CFloat
x1 ->
\CFloat
x2 ->
\CFloat
x3 ->
\CFloat
x4 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void -> CFloat -> CFloat -> CFloat -> CFloat -> IO CBool
hs_bindgen_e97c19a44df98438_base
(Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0)
(CFloat -> FFIType CFloat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CFloat
x1)
(CFloat -> FFIType CFloat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CFloat
x2)
(CFloat -> FFIType CFloat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CFloat
x3)
(CFloat -> FFIType CFloat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CFloat
x4)
)
sDL_ClearSurface
:: BG.Ptr SDL_Surface
-> BG.CFloat
-> BG.CFloat
-> BG.CFloat
-> BG.CFloat
-> IO BG.CBool
sDL_ClearSurface :: Ptr SDL_Surface -> CFloat -> CFloat -> CFloat -> CFloat -> IO CBool
sDL_ClearSurface = Ptr SDL_Surface -> CFloat -> CFloat -> CFloat -> CFloat -> IO CBool
hs_bindgen_e97c19a44df98438
foreign import ccall safe "hs_bindgen_5dccf89603882fe7"
hs_bindgen_5dccf89603882fe7_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_5dccf89603882fe7
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_5dccf89603882fe7 :: Ptr SDL_Surface -> PtrConst SDL_Rect -> Uint32 -> IO CBool
hs_bindgen_5dccf89603882fe7 =
\Ptr SDL_Surface
x0 ->
\PtrConst SDL_Rect
x1 ->
\Uint32
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 -> Word32 -> IO CBool
hs_bindgen_5dccf89603882fe7_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0) (PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x1) (Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x2))
sDL_FillSurfaceRect
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
sDL_FillSurfaceRect :: Ptr SDL_Surface -> PtrConst SDL_Rect -> Uint32 -> IO CBool
sDL_FillSurfaceRect = Ptr SDL_Surface -> PtrConst SDL_Rect -> Uint32 -> IO CBool
hs_bindgen_5dccf89603882fe7
foreign import ccall safe "hs_bindgen_a2b5b19e2436d28a"
hs_bindgen_a2b5b19e2436d28a_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CInt
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_a2b5b19e2436d28a
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> BG.CInt
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_a2b5b19e2436d28a :: Ptr SDL_Surface -> PtrConst SDL_Rect -> CInt -> Uint32 -> IO CBool
hs_bindgen_a2b5b19e2436d28a =
\Ptr SDL_Surface
x0 ->
\PtrConst SDL_Rect
x1 ->
\CInt
x2 ->
\Uint32
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 -> CInt -> Word32 -> IO CBool
hs_bindgen_a2b5b19e2436d28a_base
(Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0)
(PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x1)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x2)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x3)
)
sDL_FillSurfaceRects
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> BG.CInt
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
sDL_FillSurfaceRects :: Ptr SDL_Surface -> PtrConst SDL_Rect -> CInt -> Uint32 -> IO CBool
sDL_FillSurfaceRects = Ptr SDL_Surface -> PtrConst SDL_Rect -> CInt -> Uint32 -> IO CBool
hs_bindgen_a2b5b19e2436d28a
foreign import ccall safe "hs_bindgen_b1a30c4f5f8d91a8"
hs_bindgen_b1a30c4f5f8d91a8_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_b1a30c4f5f8d91a8
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> IO BG.CBool
hs_bindgen_b1a30c4f5f8d91a8 :: Ptr SDL_Surface
-> PtrConst SDL_Rect
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> IO CBool
hs_bindgen_b1a30c4f5f8d91a8 =
\Ptr SDL_Surface
x0 ->
\PtrConst SDL_Rect
x1 ->
\Ptr SDL_Surface
x2 ->
\PtrConst SDL_Rect
x3 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void -> Ptr Void -> Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_b1a30c4f5f8d91a8_base
(Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0)
(PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x1)
(Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x2)
(PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x3)
)
sDL_BlitSurface
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> IO BG.CBool
sDL_BlitSurface :: Ptr SDL_Surface
-> PtrConst SDL_Rect
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> IO CBool
sDL_BlitSurface = Ptr SDL_Surface
-> PtrConst SDL_Rect
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> IO CBool
hs_bindgen_b1a30c4f5f8d91a8
foreign import ccall safe "hs_bindgen_f01f13adea578bc6"
hs_bindgen_f01f13adea578bc6_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_f01f13adea578bc6
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> IO BG.CBool
hs_bindgen_f01f13adea578bc6 :: Ptr SDL_Surface
-> PtrConst SDL_Rect
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> IO CBool
hs_bindgen_f01f13adea578bc6 =
\Ptr SDL_Surface
x0 ->
\PtrConst SDL_Rect
x1 ->
\Ptr SDL_Surface
x2 ->
\PtrConst SDL_Rect
x3 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void -> Ptr Void -> Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_f01f13adea578bc6_base
(Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0)
(PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x1)
(Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x2)
(PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x3)
)
sDL_BlitSurfaceUnchecked
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> IO BG.CBool
sDL_BlitSurfaceUnchecked :: Ptr SDL_Surface
-> PtrConst SDL_Rect
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> IO CBool
sDL_BlitSurfaceUnchecked =
Ptr SDL_Surface
-> PtrConst SDL_Rect
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> IO CBool
hs_bindgen_f01f13adea578bc6
foreign import ccall safe "hs_bindgen_ff01194286dad7f2"
hs_bindgen_ff01194286dad7f2_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_ff01194286dad7f2
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> SDL_ScaleMode
-> IO BG.CBool
hs_bindgen_ff01194286dad7f2 :: Ptr SDL_Surface
-> PtrConst SDL_Rect
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> SDL_ScaleMode
-> IO CBool
hs_bindgen_ff01194286dad7f2 =
\Ptr SDL_Surface
x0 ->
\PtrConst SDL_Rect
x1 ->
\Ptr SDL_Surface
x2 ->
\PtrConst SDL_Rect
x3 ->
\SDL_ScaleMode
x4 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void -> Ptr Void -> Ptr Void -> Ptr Void -> CInt -> IO CBool
hs_bindgen_ff01194286dad7f2_base
(Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0)
(PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x1)
(Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x2)
(PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x3)
(SDL_ScaleMode -> FFIType SDL_ScaleMode
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_ScaleMode
x4)
)
sDL_BlitSurfaceScaled
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> SDL_ScaleMode
-> IO BG.CBool
sDL_BlitSurfaceScaled :: Ptr SDL_Surface
-> PtrConst SDL_Rect
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> SDL_ScaleMode
-> IO CBool
sDL_BlitSurfaceScaled = Ptr SDL_Surface
-> PtrConst SDL_Rect
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> SDL_ScaleMode
-> IO CBool
hs_bindgen_ff01194286dad7f2
foreign import ccall safe "hs_bindgen_203cef09fdf11016"
hs_bindgen_203cef09fdf11016_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_203cef09fdf11016
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> SDL_ScaleMode
-> IO BG.CBool
hs_bindgen_203cef09fdf11016 :: Ptr SDL_Surface
-> PtrConst SDL_Rect
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> SDL_ScaleMode
-> IO CBool
hs_bindgen_203cef09fdf11016 =
\Ptr SDL_Surface
x0 ->
\PtrConst SDL_Rect
x1 ->
\Ptr SDL_Surface
x2 ->
\PtrConst SDL_Rect
x3 ->
\SDL_ScaleMode
x4 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void -> Ptr Void -> Ptr Void -> Ptr Void -> CInt -> IO CBool
hs_bindgen_203cef09fdf11016_base
(Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0)
(PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x1)
(Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x2)
(PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x3)
(SDL_ScaleMode -> FFIType SDL_ScaleMode
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_ScaleMode
x4)
)
sDL_BlitSurfaceUncheckedScaled
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> SDL_ScaleMode
-> IO BG.CBool
sDL_BlitSurfaceUncheckedScaled :: Ptr SDL_Surface
-> PtrConst SDL_Rect
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> SDL_ScaleMode
-> IO CBool
sDL_BlitSurfaceUncheckedScaled =
Ptr SDL_Surface
-> PtrConst SDL_Rect
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> SDL_ScaleMode
-> IO CBool
hs_bindgen_203cef09fdf11016
foreign import ccall safe "hs_bindgen_3f0e13150dff4407"
hs_bindgen_3f0e13150dff4407_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_3f0e13150dff4407
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> SDL_ScaleMode
-> IO BG.CBool
hs_bindgen_3f0e13150dff4407 :: Ptr SDL_Surface
-> PtrConst SDL_Rect
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> SDL_ScaleMode
-> IO CBool
hs_bindgen_3f0e13150dff4407 =
\Ptr SDL_Surface
x0 ->
\PtrConst SDL_Rect
x1 ->
\Ptr SDL_Surface
x2 ->
\PtrConst SDL_Rect
x3 ->
\SDL_ScaleMode
x4 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void -> Ptr Void -> Ptr Void -> Ptr Void -> CInt -> IO CBool
hs_bindgen_3f0e13150dff4407_base
(Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0)
(PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x1)
(Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x2)
(PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x3)
(SDL_ScaleMode -> FFIType SDL_ScaleMode
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_ScaleMode
x4)
)
sDL_StretchSurface
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> SDL_ScaleMode
-> IO BG.CBool
sDL_StretchSurface :: Ptr SDL_Surface
-> PtrConst SDL_Rect
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> SDL_ScaleMode
-> IO CBool
sDL_StretchSurface = Ptr SDL_Surface
-> PtrConst SDL_Rect
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> SDL_ScaleMode
-> IO CBool
hs_bindgen_3f0e13150dff4407
foreign import ccall safe "hs_bindgen_d87d2c7a0fc3e08c"
hs_bindgen_d87d2c7a0fc3e08c_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_d87d2c7a0fc3e08c
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> IO BG.CBool
hs_bindgen_d87d2c7a0fc3e08c :: Ptr SDL_Surface
-> PtrConst SDL_Rect
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> IO CBool
hs_bindgen_d87d2c7a0fc3e08c =
\Ptr SDL_Surface
x0 ->
\PtrConst SDL_Rect
x1 ->
\Ptr SDL_Surface
x2 ->
\PtrConst SDL_Rect
x3 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void -> Ptr Void -> Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_d87d2c7a0fc3e08c_base
(Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0)
(PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x1)
(Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x2)
(PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x3)
)
sDL_BlitSurfaceTiled
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> IO BG.CBool
sDL_BlitSurfaceTiled :: Ptr SDL_Surface
-> PtrConst SDL_Rect
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> IO CBool
sDL_BlitSurfaceTiled = Ptr SDL_Surface
-> PtrConst SDL_Rect
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> IO CBool
hs_bindgen_d87d2c7a0fc3e08c
foreign import ccall safe "hs_bindgen_a0b5a4d660b97157"
hs_bindgen_a0b5a4d660b97157_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CFloat
-> BG.CInt
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_a0b5a4d660b97157
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> BG.CFloat
-> SDL_ScaleMode
-> BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> IO BG.CBool
hs_bindgen_a0b5a4d660b97157 :: Ptr SDL_Surface
-> PtrConst SDL_Rect
-> CFloat
-> SDL_ScaleMode
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> IO CBool
hs_bindgen_a0b5a4d660b97157 =
\Ptr SDL_Surface
x0 ->
\PtrConst SDL_Rect
x1 ->
\CFloat
x2 ->
\SDL_ScaleMode
x3 ->
\Ptr SDL_Surface
x4 ->
\PtrConst SDL_Rect
x5 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void
-> Ptr Void -> CFloat -> CInt -> Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_a0b5a4d660b97157_base
(Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0)
(PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x1)
(CFloat -> FFIType CFloat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CFloat
x2)
(SDL_ScaleMode -> FFIType SDL_ScaleMode
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_ScaleMode
x3)
(Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x4)
(PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x5)
)
sDL_BlitSurfaceTiledWithScale
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> BG.CFloat
-> SDL_ScaleMode
-> BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> IO BG.CBool
sDL_BlitSurfaceTiledWithScale :: Ptr SDL_Surface
-> PtrConst SDL_Rect
-> CFloat
-> SDL_ScaleMode
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> IO CBool
sDL_BlitSurfaceTiledWithScale =
Ptr SDL_Surface
-> PtrConst SDL_Rect
-> CFloat
-> SDL_ScaleMode
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> IO CBool
hs_bindgen_a0b5a4d660b97157
foreign import ccall safe "hs_bindgen_c841a6c05cf5fdff"
hs_bindgen_c841a6c05cf5fdff_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CInt
-> BG.CInt
-> BG.CInt
-> BG.CInt
-> BG.CFloat
-> BG.CInt
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_c841a6c05cf5fdff
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> BG.CInt
-> BG.CInt
-> BG.CInt
-> BG.CInt
-> BG.CFloat
-> SDL_ScaleMode
-> BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> IO BG.CBool
hs_bindgen_c841a6c05cf5fdff :: Ptr SDL_Surface
-> PtrConst SDL_Rect
-> CInt
-> CInt
-> CInt
-> CInt
-> CFloat
-> SDL_ScaleMode
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> IO CBool
hs_bindgen_c841a6c05cf5fdff =
\Ptr SDL_Surface
x0 ->
\PtrConst SDL_Rect
x1 ->
\CInt
x2 ->
\CInt
x3 ->
\CInt
x4 ->
\CInt
x5 ->
\CFloat
x6 ->
\SDL_ScaleMode
x7 ->
\Ptr SDL_Surface
x8 ->
\PtrConst SDL_Rect
x9 ->
(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
-> CInt
-> CInt
-> CInt
-> CInt
-> CFloat
-> CInt
-> Ptr Void
-> Ptr Void
-> IO CBool
hs_bindgen_c841a6c05cf5fdff_base
(Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0)
(PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x1)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x2)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x3)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x4)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x5)
(CFloat -> FFIType CFloat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CFloat
x6)
(SDL_ScaleMode -> FFIType SDL_ScaleMode
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_ScaleMode
x7)
(Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x8)
(PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x9)
)
sDL_BlitSurface9Grid
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> BG.CInt
-> BG.CInt
-> BG.CInt
-> BG.CInt
-> BG.CFloat
-> SDL_ScaleMode
-> BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> IO BG.CBool
sDL_BlitSurface9Grid :: Ptr SDL_Surface
-> PtrConst SDL_Rect
-> CInt
-> CInt
-> CInt
-> CInt
-> CFloat
-> SDL_ScaleMode
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> IO CBool
sDL_BlitSurface9Grid = Ptr SDL_Surface
-> PtrConst SDL_Rect
-> CInt
-> CInt
-> CInt
-> CInt
-> CFloat
-> SDL_ScaleMode
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> IO CBool
hs_bindgen_c841a6c05cf5fdff
foreign import ccall safe "hs_bindgen_c74008884f7b6019"
hs_bindgen_c74008884f7b6019_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word8
-> HsBindgen.Runtime.LibC.Word8
-> HsBindgen.Runtime.LibC.Word8
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_c74008884f7b6019
:: BG.Ptr SDL_Surface
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO SDL3.Sys.Bindgen.Stdinc.Uint32
hs_bindgen_c74008884f7b6019 :: Ptr SDL_Surface -> Uint8 -> Uint8 -> Uint8 -> IO Uint32
hs_bindgen_c74008884f7b6019 =
\Ptr SDL_Surface
x0 ->
\Uint8
x1 ->
\Uint8
x2 ->
\Uint8
x3 ->
(Word32 -> Uint32) -> IO Word32 -> IO Uint32
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
Word32 -> Uint32
FFIType Uint32 -> Uint32
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void -> Word8 -> Word8 -> Word8 -> IO Word32
hs_bindgen_c74008884f7b6019_base
(Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0)
(Uint8 -> FFIType Uint8
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint8
x1)
(Uint8 -> FFIType Uint8
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint8
x2)
(Uint8 -> FFIType Uint8
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint8
x3)
)
sDL_MapSurfaceRGB
:: BG.Ptr SDL_Surface
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO SDL3.Sys.Bindgen.Stdinc.Uint32
sDL_MapSurfaceRGB :: Ptr SDL_Surface -> Uint8 -> Uint8 -> Uint8 -> IO Uint32
sDL_MapSurfaceRGB = Ptr SDL_Surface -> Uint8 -> Uint8 -> Uint8 -> IO Uint32
hs_bindgen_c74008884f7b6019
foreign import ccall safe "hs_bindgen_d299991f35295874"
hs_bindgen_d299991f35295874_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word8
-> HsBindgen.Runtime.LibC.Word8
-> HsBindgen.Runtime.LibC.Word8
-> HsBindgen.Runtime.LibC.Word8
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_d299991f35295874
:: BG.Ptr SDL_Surface
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO SDL3.Sys.Bindgen.Stdinc.Uint32
hs_bindgen_d299991f35295874 :: Ptr SDL_Surface -> Uint8 -> Uint8 -> Uint8 -> Uint8 -> IO Uint32
hs_bindgen_d299991f35295874 =
\Ptr SDL_Surface
x0 ->
\Uint8
x1 ->
\Uint8
x2 ->
\Uint8
x3 ->
\Uint8
x4 ->
(Word32 -> Uint32) -> IO Word32 -> IO Uint32
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
Word32 -> Uint32
FFIType Uint32 -> Uint32
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void -> Word8 -> Word8 -> Word8 -> Word8 -> IO Word32
hs_bindgen_d299991f35295874_base
(Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0)
(Uint8 -> FFIType Uint8
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint8
x1)
(Uint8 -> FFIType Uint8
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint8
x2)
(Uint8 -> FFIType Uint8
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint8
x3)
(Uint8 -> FFIType Uint8
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint8
x4)
)
sDL_MapSurfaceRGBA
:: BG.Ptr SDL_Surface
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO SDL3.Sys.Bindgen.Stdinc.Uint32
sDL_MapSurfaceRGBA :: Ptr SDL_Surface -> Uint8 -> Uint8 -> Uint8 -> Uint8 -> IO Uint32
sDL_MapSurfaceRGBA = Ptr SDL_Surface -> Uint8 -> Uint8 -> Uint8 -> Uint8 -> IO Uint32
hs_bindgen_d299991f35295874
foreign import ccall safe "hs_bindgen_a30b6c841f82ebcc"
hs_bindgen_a30b6c841f82ebcc_base
:: BG.Ptr BG.Void
-> BG.CInt
-> BG.CInt
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_a30b6c841f82ebcc
:: BG.Ptr SDL_Surface
-> BG.CInt
-> BG.CInt
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint8
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint8
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint8
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
hs_bindgen_a30b6c841f82ebcc :: Ptr SDL_Surface
-> CInt
-> CInt
-> Ptr Uint8
-> Ptr Uint8
-> Ptr Uint8
-> Ptr Uint8
-> IO CBool
hs_bindgen_a30b6c841f82ebcc =
\Ptr SDL_Surface
x0 ->
\CInt
x1 ->
\CInt
x2 ->
\Ptr Uint8
x3 ->
\Ptr Uint8
x4 ->
\Ptr Uint8
x5 ->
\Ptr Uint8
x6 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void
-> CInt
-> CInt
-> Ptr Void
-> Ptr Void
-> Ptr Void
-> Ptr Void
-> IO CBool
hs_bindgen_a30b6c841f82ebcc_base
(Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x2)
(Ptr Uint8 -> FFIType (Ptr Uint8)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Uint8
x3)
(Ptr Uint8 -> FFIType (Ptr Uint8)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Uint8
x4)
(Ptr Uint8 -> FFIType (Ptr Uint8)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Uint8
x5)
(Ptr Uint8 -> FFIType (Ptr Uint8)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Uint8
x6)
)
sDL_ReadSurfacePixel
:: BG.Ptr SDL_Surface
-> BG.CInt
-> BG.CInt
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint8
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint8
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint8
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
sDL_ReadSurfacePixel :: Ptr SDL_Surface
-> CInt
-> CInt
-> Ptr Uint8
-> Ptr Uint8
-> Ptr Uint8
-> Ptr Uint8
-> IO CBool
sDL_ReadSurfacePixel = Ptr SDL_Surface
-> CInt
-> CInt
-> Ptr Uint8
-> Ptr Uint8
-> Ptr Uint8
-> Ptr Uint8
-> IO CBool
hs_bindgen_a30b6c841f82ebcc
foreign import ccall safe "hs_bindgen_1a263d49fd0125f6"
hs_bindgen_1a263d49fd0125f6_base
:: BG.Ptr BG.Void
-> BG.CInt
-> BG.CInt
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_1a263d49fd0125f6
:: BG.Ptr SDL_Surface
-> BG.CInt
-> BG.CInt
-> BG.Ptr BG.CFloat
-> BG.Ptr BG.CFloat
-> BG.Ptr BG.CFloat
-> BG.Ptr BG.CFloat
-> IO BG.CBool
hs_bindgen_1a263d49fd0125f6 :: Ptr SDL_Surface
-> CInt
-> CInt
-> Ptr CFloat
-> Ptr CFloat
-> Ptr CFloat
-> Ptr CFloat
-> IO CBool
hs_bindgen_1a263d49fd0125f6 =
\Ptr SDL_Surface
x0 ->
\CInt
x1 ->
\CInt
x2 ->
\Ptr CFloat
x3 ->
\Ptr CFloat
x4 ->
\Ptr CFloat
x5 ->
\Ptr CFloat
x6 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void
-> CInt
-> CInt
-> Ptr Void
-> Ptr Void
-> Ptr Void
-> Ptr Void
-> IO CBool
hs_bindgen_1a263d49fd0125f6_base
(Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x2)
(Ptr CFloat -> FFIType (Ptr CFloat)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CFloat
x3)
(Ptr CFloat -> FFIType (Ptr CFloat)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CFloat
x4)
(Ptr CFloat -> FFIType (Ptr CFloat)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CFloat
x5)
(Ptr CFloat -> FFIType (Ptr CFloat)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CFloat
x6)
)
sDL_ReadSurfacePixelFloat
:: BG.Ptr SDL_Surface
-> BG.CInt
-> BG.CInt
-> BG.Ptr BG.CFloat
-> BG.Ptr BG.CFloat
-> BG.Ptr BG.CFloat
-> BG.Ptr BG.CFloat
-> IO BG.CBool
sDL_ReadSurfacePixelFloat :: Ptr SDL_Surface
-> CInt
-> CInt
-> Ptr CFloat
-> Ptr CFloat
-> Ptr CFloat
-> Ptr CFloat
-> IO CBool
sDL_ReadSurfacePixelFloat =
Ptr SDL_Surface
-> CInt
-> CInt
-> Ptr CFloat
-> Ptr CFloat
-> Ptr CFloat
-> Ptr CFloat
-> IO CBool
hs_bindgen_1a263d49fd0125f6
foreign import ccall safe "hs_bindgen_51ee7af8b74364b9"
hs_bindgen_51ee7af8b74364b9_base
:: BG.Ptr BG.Void
-> BG.CInt
-> BG.CInt
-> HsBindgen.Runtime.LibC.Word8
-> HsBindgen.Runtime.LibC.Word8
-> HsBindgen.Runtime.LibC.Word8
-> HsBindgen.Runtime.LibC.Word8
-> IO BG.CBool
hs_bindgen_51ee7af8b74364b9
:: BG.Ptr SDL_Surface
-> BG.CInt
-> BG.CInt
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
hs_bindgen_51ee7af8b74364b9 :: Ptr SDL_Surface
-> CInt -> CInt -> Uint8 -> Uint8 -> Uint8 -> Uint8 -> IO CBool
hs_bindgen_51ee7af8b74364b9 =
\Ptr SDL_Surface
x0 ->
\CInt
x1 ->
\CInt
x2 ->
\Uint8
x3 ->
\Uint8
x4 ->
\Uint8
x5 ->
\Uint8
x6 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void
-> CInt -> CInt -> Word8 -> Word8 -> Word8 -> Word8 -> IO CBool
hs_bindgen_51ee7af8b74364b9_base
(Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x2)
(Uint8 -> FFIType Uint8
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint8
x3)
(Uint8 -> FFIType Uint8
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint8
x4)
(Uint8 -> FFIType Uint8
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint8
x5)
(Uint8 -> FFIType Uint8
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint8
x6)
)
sDL_WriteSurfacePixel
:: BG.Ptr SDL_Surface
-> BG.CInt
-> BG.CInt
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
sDL_WriteSurfacePixel :: Ptr SDL_Surface
-> CInt -> CInt -> Uint8 -> Uint8 -> Uint8 -> Uint8 -> IO CBool
sDL_WriteSurfacePixel = Ptr SDL_Surface
-> CInt -> CInt -> Uint8 -> Uint8 -> Uint8 -> Uint8 -> IO CBool
hs_bindgen_51ee7af8b74364b9
foreign import ccall safe "hs_bindgen_0a72c0432b672135"
hs_bindgen_0a72c0432b672135_base
:: BG.Ptr BG.Void
-> BG.CInt
-> BG.CInt
-> BG.CFloat
-> BG.CFloat
-> BG.CFloat
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_0a72c0432b672135
:: BG.Ptr SDL_Surface
-> BG.CInt
-> BG.CInt
-> BG.CFloat
-> BG.CFloat
-> BG.CFloat
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_0a72c0432b672135 :: Ptr SDL_Surface
-> CInt -> CInt -> CFloat -> CFloat -> CFloat -> CFloat -> IO CBool
hs_bindgen_0a72c0432b672135 =
\Ptr SDL_Surface
x0 ->
\CInt
x1 ->
\CInt
x2 ->
\CFloat
x3 ->
\CFloat
x4 ->
\CFloat
x5 ->
\CFloat
x6 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void
-> CInt -> CInt -> CFloat -> CFloat -> CFloat -> CFloat -> IO CBool
hs_bindgen_0a72c0432b672135_base
(Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x2)
(CFloat -> FFIType CFloat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CFloat
x3)
(CFloat -> FFIType CFloat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CFloat
x4)
(CFloat -> FFIType CFloat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CFloat
x5)
(CFloat -> FFIType CFloat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CFloat
x6)
)
sDL_WriteSurfacePixelFloat
:: BG.Ptr SDL_Surface
-> BG.CInt
-> BG.CInt
-> BG.CFloat
-> BG.CFloat
-> BG.CFloat
-> BG.CFloat
-> IO BG.CBool
sDL_WriteSurfacePixelFloat :: Ptr SDL_Surface
-> CInt -> CInt -> CFloat -> CFloat -> CFloat -> CFloat -> IO CBool
sDL_WriteSurfacePixelFloat =
Ptr SDL_Surface
-> CInt -> CInt -> CFloat -> CFloat -> CFloat -> CFloat -> IO CBool
hs_bindgen_0a72c0432b672135