{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Surface.Unsafe (
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_CreateSurface,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_CreateSurfaceFrom,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_DestroySurface,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_GetSurfaceProperties,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_SetSurfaceColorspace,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_GetSurfaceColorspace,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_CreateSurfacePalette,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_SetSurfacePalette,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_GetSurfacePalette,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_AddSurfaceAlternateImage,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_SurfaceHasAlternateImages,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_GetSurfaceImages,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_RemoveSurfaceAlternateImages,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_LockSurface,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_UnlockSurface,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_LoadSurface_IO,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_LoadSurface,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_LoadBMP_IO,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_LoadBMP,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_SaveBMP_IO,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_SaveBMP,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_LoadPNG_IO,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_LoadPNG,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_SavePNG_IO,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_SavePNG,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_SetSurfaceRLE,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_SurfaceHasRLE,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_SetSurfaceColorKey,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_SurfaceHasColorKey,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_GetSurfaceColorKey,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_SetSurfaceColorMod,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_GetSurfaceColorMod,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_SetSurfaceAlphaMod,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_GetSurfaceAlphaMod,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_SetSurfaceBlendMode,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_GetSurfaceBlendMode,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_SetSurfaceClipRect,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_GetSurfaceClipRect,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_FlipSurface,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_RotateSurface,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_DuplicateSurface,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_ScaleSurface,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_ConvertSurface,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_ConvertSurfaceAndColorspace,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_ConvertPixels,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_ConvertPixelsAndColorspace,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_PremultiplyAlpha,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_PremultiplySurfaceAlpha,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_ClearSurface,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_FillSurfaceRect,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_FillSurfaceRects,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_BlitSurface,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_BlitSurfaceUnchecked,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_BlitSurfaceScaled,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_BlitSurfaceUncheckedScaled,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_StretchSurface,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_BlitSurfaceTiled,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_BlitSurfaceTiledWithScale,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_BlitSurface9Grid,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_MapSurfaceRGB,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_MapSurfaceRGBA,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_ReadSurfacePixel,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_ReadSurfacePixelFloat,
SDL3.Sys.Bindgen.Surface.Unsafe.sDL_WriteSurfacePixel,
SDL3.Sys.Bindgen.Surface.Unsafe.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_168e356f6cfde2ca ("
, " signed int arg1,"
, " signed int arg2,"
, " SDL_PixelFormat arg3"
, ")"
, "{"
, " return (SDL_CreateSurface)(arg1, arg2, arg3);"
, "}"
, "SDL_Surface *hs_bindgen_19204ffb79c10370 ("
, " 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_173baf44c4ee5552 ("
, " SDL_Surface *arg1"
, ")"
, "{"
, " (SDL_DestroySurface)(arg1);"
, "}"
, "SDL_PropertiesID hs_bindgen_104a480f6f0ca65f ("
, " SDL_Surface *arg1"
, ")"
, "{"
, " return (SDL_GetSurfaceProperties)(arg1);"
, "}"
, "_Bool hs_bindgen_0511900fd59c0e54 ("
, " SDL_Surface *arg1,"
, " SDL_Colorspace arg2"
, ")"
, "{"
, " return (SDL_SetSurfaceColorspace)(arg1, arg2);"
, "}"
, "SDL_Colorspace hs_bindgen_e144267d4a5dc8c1 ("
, " SDL_Surface *arg1"
, ")"
, "{"
, " return (SDL_GetSurfaceColorspace)(arg1);"
, "}"
, "SDL_Palette *hs_bindgen_518323a2443a645c ("
, " SDL_Surface *arg1"
, ")"
, "{"
, " return (SDL_CreateSurfacePalette)(arg1);"
, "}"
, "_Bool hs_bindgen_6cb3893d72b38425 ("
, " SDL_Surface *arg1,"
, " SDL_Palette *arg2"
, ")"
, "{"
, " return (SDL_SetSurfacePalette)(arg1, arg2);"
, "}"
, "SDL_Palette *hs_bindgen_c36a6adcce04e3d9 ("
, " SDL_Surface *arg1"
, ")"
, "{"
, " return (SDL_GetSurfacePalette)(arg1);"
, "}"
, "_Bool hs_bindgen_36366ea481866b40 ("
, " SDL_Surface *arg1,"
, " SDL_Surface *arg2"
, ")"
, "{"
, " return (SDL_AddSurfaceAlternateImage)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_c8c9d6b2ea4d4292 ("
, " SDL_Surface *arg1"
, ")"
, "{"
, " return (SDL_SurfaceHasAlternateImages)(arg1);"
, "}"
, "SDL_Surface **hs_bindgen_b3d55dcc42d5db12 ("
, " SDL_Surface *arg1,"
, " signed int *arg2"
, ")"
, "{"
, " return (SDL_GetSurfaceImages)(arg1, arg2);"
, "}"
, "void hs_bindgen_1adedb2719efa1bf ("
, " SDL_Surface *arg1"
, ")"
, "{"
, " (SDL_RemoveSurfaceAlternateImages)(arg1);"
, "}"
, "_Bool hs_bindgen_8363af1ae03d45b9 ("
, " SDL_Surface *arg1"
, ")"
, "{"
, " return (SDL_LockSurface)(arg1);"
, "}"
, "void hs_bindgen_0b94cbec8aca2abc ("
, " SDL_Surface *arg1"
, ")"
, "{"
, " (SDL_UnlockSurface)(arg1);"
, "}"
, "#include <SDL3/SDL_version.h>"
, "#include <SDL3/SDL_error.h>"
, "SDL_Surface *hs_bindgen_1a1549d61e2d7c6f ("
, " 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_84c82bda97a82d45 ("
, " 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_04dc7704680e62ca ("
, " SDL_IOStream *arg1,"
, " _Bool arg2"
, ")"
, "{"
, " return (SDL_LoadBMP_IO)(arg1, arg2);"
, "}"
, "SDL_Surface *hs_bindgen_fade244cdadaaa01 ("
, " char const *arg1"
, ")"
, "{"
, " return (SDL_LoadBMP)(arg1);"
, "}"
, "_Bool hs_bindgen_9c98f1ae4256924d ("
, " SDL_Surface *arg1,"
, " SDL_IOStream *arg2,"
, " _Bool arg3"
, ")"
, "{"
, " return (SDL_SaveBMP_IO)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_66fb79ef3bca90df ("
, " 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_7160fe58e1c51f22 ("
, " 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_bc316d886d9c3957 ("
, " 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_9c8e4c9fc901ee28 ("
, " 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_759469fef46a8cd4 ("
, " 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_5d1b864a1323d92d ("
, " SDL_Surface *arg1,"
, " _Bool arg2"
, ")"
, "{"
, " return (SDL_SetSurfaceRLE)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_b51ce9068c82d3d0 ("
, " SDL_Surface *arg1"
, ")"
, "{"
, " return (SDL_SurfaceHasRLE)(arg1);"
, "}"
, "_Bool hs_bindgen_13efdbaff73dc30f ("
, " SDL_Surface *arg1,"
, " _Bool arg2,"
, " Uint32 arg3"
, ")"
, "{"
, " return (SDL_SetSurfaceColorKey)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_998ae6f993d45bac ("
, " SDL_Surface *arg1"
, ")"
, "{"
, " return (SDL_SurfaceHasColorKey)(arg1);"
, "}"
, "_Bool hs_bindgen_463737aa98969701 ("
, " SDL_Surface *arg1,"
, " Uint32 *arg2"
, ")"
, "{"
, " return (SDL_GetSurfaceColorKey)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_5802144e4d11fa38 ("
, " SDL_Surface *arg1,"
, " Uint8 arg2,"
, " Uint8 arg3,"
, " Uint8 arg4"
, ")"
, "{"
, " return (SDL_SetSurfaceColorMod)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_8f67dce9db98e6f9 ("
, " SDL_Surface *arg1,"
, " Uint8 *arg2,"
, " Uint8 *arg3,"
, " Uint8 *arg4"
, ")"
, "{"
, " return (SDL_GetSurfaceColorMod)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_2f27871d133fe193 ("
, " SDL_Surface *arg1,"
, " Uint8 arg2"
, ")"
, "{"
, " return (SDL_SetSurfaceAlphaMod)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_62e7ffa57cc86c89 ("
, " SDL_Surface *arg1,"
, " Uint8 *arg2"
, ")"
, "{"
, " return (SDL_GetSurfaceAlphaMod)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_31b5f1226bf51118 ("
, " SDL_Surface *arg1,"
, " SDL_BlendMode arg2"
, ")"
, "{"
, " return (SDL_SetSurfaceBlendMode)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_e69bee46110b6faa ("
, " SDL_Surface *arg1,"
, " SDL_BlendMode *arg2"
, ")"
, "{"
, " return (SDL_GetSurfaceBlendMode)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_d3f690ca2bc82289 ("
, " SDL_Surface *arg1,"
, " SDL_Rect const *arg2"
, ")"
, "{"
, " return (SDL_SetSurfaceClipRect)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_510cbf12ad718ad5 ("
, " SDL_Surface *arg1,"
, " SDL_Rect *arg2"
, ")"
, "{"
, " return (SDL_GetSurfaceClipRect)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_c9050e1a6dbcc389 ("
, " 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_b68c60a70d17f528 ("
, " 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_fb5b3c5560c73662 ("
, " SDL_Surface *arg1"
, ")"
, "{"
, " return (SDL_DuplicateSurface)(arg1);"
, "}"
, "SDL_Surface *hs_bindgen_302fe5f6d166cef5 ("
, " SDL_Surface *arg1,"
, " signed int arg2,"
, " signed int arg3,"
, " SDL_ScaleMode arg4"
, ")"
, "{"
, " return (SDL_ScaleSurface)(arg1, arg2, arg3, arg4);"
, "}"
, "SDL_Surface *hs_bindgen_2d38a11d9ed40ec3 ("
, " SDL_Surface *arg1,"
, " SDL_PixelFormat arg2"
, ")"
, "{"
, " return (SDL_ConvertSurface)(arg1, arg2);"
, "}"
, "SDL_Surface *hs_bindgen_589af8fb0fd3b451 ("
, " 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_c4ac87b53bb7fbaa ("
, " 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_384b325525f7f1f3 ("
, " 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_9a5c070f0253ae0a ("
, " 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_7065a7a3bd7041c8 ("
, " SDL_Surface *arg1,"
, " _Bool arg2"
, ")"
, "{"
, " return (SDL_PremultiplySurfaceAlpha)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_de44f8d6106c7e71 ("
, " SDL_Surface *arg1,"
, " float arg2,"
, " float arg3,"
, " float arg4,"
, " float arg5"
, ")"
, "{"
, " return (SDL_ClearSurface)(arg1, arg2, arg3, arg4, arg5);"
, "}"
, "_Bool hs_bindgen_8e254769393349cc ("
, " SDL_Surface *arg1,"
, " SDL_Rect const *arg2,"
, " Uint32 arg3"
, ")"
, "{"
, " return (SDL_FillSurfaceRect)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_4eb2bdf51787fb5f ("
, " SDL_Surface *arg1,"
, " SDL_Rect const *arg2,"
, " signed int arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " return (SDL_FillSurfaceRects)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_dd9a2fd8000655e0 ("
, " SDL_Surface *arg1,"
, " SDL_Rect const *arg2,"
, " SDL_Surface *arg3,"
, " SDL_Rect const *arg4"
, ")"
, "{"
, " return (SDL_BlitSurface)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_f1d3fd72bc95a376 ("
, " SDL_Surface *arg1,"
, " SDL_Rect const *arg2,"
, " SDL_Surface *arg3,"
, " SDL_Rect const *arg4"
, ")"
, "{"
, " return (SDL_BlitSurfaceUnchecked)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_ca439260becd97fa ("
, " 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_273462ee987888b2 ("
, " 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_cbba042ce7137c9a ("
, " 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_cc06339086116f6d ("
, " SDL_Surface *arg1,"
, " SDL_Rect const *arg2,"
, " SDL_Surface *arg3,"
, " SDL_Rect const *arg4"
, ")"
, "{"
, " return (SDL_BlitSurfaceTiled)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_50d8214074d2e91b ("
, " 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_84940b463dd6473c ("
, " 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_5dfeeef5d5aa83da ("
, " SDL_Surface *arg1,"
, " Uint8 arg2,"
, " Uint8 arg3,"
, " Uint8 arg4"
, ")"
, "{"
, " return (SDL_MapSurfaceRGB)(arg1, arg2, arg3, arg4);"
, "}"
, "Uint32 hs_bindgen_456d7e009be906d0 ("
, " SDL_Surface *arg1,"
, " Uint8 arg2,"
, " Uint8 arg3,"
, " Uint8 arg4,"
, " Uint8 arg5"
, ")"
, "{"
, " return (SDL_MapSurfaceRGBA)(arg1, arg2, arg3, arg4, arg5);"
, "}"
, "_Bool hs_bindgen_76b097df3deb39a7 ("
, " 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_1dba774402b79156 ("
, " 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_66bf3500cd5641bd ("
, " 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_91babb583602ef71 ("
, " 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 unsafe "hs_bindgen_168e356f6cfde2ca"
hs_bindgen_168e356f6cfde2ca_base
:: BG.CInt
-> BG.CInt
-> HsBindgen.Runtime.Support.CUInt
-> IO (BG.Ptr BG.Void)
hs_bindgen_168e356f6cfde2ca
:: BG.CInt
-> BG.CInt
-> SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
-> IO (BG.Ptr SDL_Surface)
hs_bindgen_168e356f6cfde2ca :: CInt -> CInt -> SDL_PixelFormat -> IO (Ptr SDL_Surface)
hs_bindgen_168e356f6cfde2ca =
\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_168e356f6cfde2ca_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_168e356f6cfde2ca
foreign import ccall unsafe "hs_bindgen_19204ffb79c10370"
hs_bindgen_19204ffb79c10370_base
:: BG.CInt
-> BG.CInt
-> HsBindgen.Runtime.Support.CUInt
-> BG.Ptr BG.Void
-> BG.CInt
-> IO (BG.Ptr BG.Void)
hs_bindgen_19204ffb79c10370
:: BG.CInt
-> BG.CInt
-> SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
-> BG.Ptr BG.Void
-> BG.CInt
-> IO (BG.Ptr SDL_Surface)
hs_bindgen_19204ffb79c10370 :: CInt
-> CInt
-> SDL_PixelFormat
-> Ptr Void
-> CInt
-> IO (Ptr SDL_Surface)
hs_bindgen_19204ffb79c10370 =
\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_19204ffb79c10370_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_19204ffb79c10370
foreign import ccall unsafe "hs_bindgen_173baf44c4ee5552"
hs_bindgen_173baf44c4ee5552_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_173baf44c4ee5552
:: BG.Ptr SDL_Surface
-> IO ()
hs_bindgen_173baf44c4ee5552 :: Ptr SDL_Surface -> IO ()
hs_bindgen_173baf44c4ee5552 =
\Ptr SDL_Surface
x0 ->
Ptr Void -> IO ()
hs_bindgen_173baf44c4ee5552_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_173baf44c4ee5552
foreign import ccall unsafe "hs_bindgen_104a480f6f0ca65f"
hs_bindgen_104a480f6f0ca65f_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_104a480f6f0ca65f
:: BG.Ptr SDL_Surface
-> IO SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
hs_bindgen_104a480f6f0ca65f :: Ptr SDL_Surface -> IO SDL_PropertiesID
hs_bindgen_104a480f6f0ca65f =
\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_104a480f6f0ca65f_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_104a480f6f0ca65f
foreign import ccall unsafe "hs_bindgen_0511900fd59c0e54"
hs_bindgen_0511900fd59c0e54_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.Support.CUInt
-> IO BG.CBool
hs_bindgen_0511900fd59c0e54
:: BG.Ptr SDL_Surface
-> SDL3.Sys.Bindgen.Pixels.SDL_Colorspace
-> IO BG.CBool
hs_bindgen_0511900fd59c0e54 :: Ptr SDL_Surface -> SDL_Colorspace -> IO CBool
hs_bindgen_0511900fd59c0e54 =
\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_0511900fd59c0e54_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_0511900fd59c0e54
foreign import ccall unsafe "hs_bindgen_e144267d4a5dc8c1"
hs_bindgen_e144267d4a5dc8c1_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.Support.CUInt
hs_bindgen_e144267d4a5dc8c1
:: BG.Ptr SDL_Surface
-> IO SDL3.Sys.Bindgen.Pixels.SDL_Colorspace
hs_bindgen_e144267d4a5dc8c1 :: Ptr SDL_Surface -> IO SDL_Colorspace
hs_bindgen_e144267d4a5dc8c1 =
\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_e144267d4a5dc8c1_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_e144267d4a5dc8c1
foreign import ccall unsafe "hs_bindgen_518323a2443a645c"
hs_bindgen_518323a2443a645c_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_518323a2443a645c
:: BG.Ptr SDL_Surface
-> IO (BG.Ptr SDL3.Sys.Bindgen.Pixels.SDL_Palette)
hs_bindgen_518323a2443a645c :: Ptr SDL_Surface -> IO (Ptr SDL_Palette)
hs_bindgen_518323a2443a645c =
\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_518323a2443a645c_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_518323a2443a645c
foreign import ccall unsafe "hs_bindgen_6cb3893d72b38425"
hs_bindgen_6cb3893d72b38425_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_6cb3893d72b38425
:: BG.Ptr SDL_Surface
-> BG.Ptr SDL3.Sys.Bindgen.Pixels.SDL_Palette
-> IO BG.CBool
hs_bindgen_6cb3893d72b38425 :: Ptr SDL_Surface -> Ptr SDL_Palette -> IO CBool
hs_bindgen_6cb3893d72b38425 =
\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_6cb3893d72b38425_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_6cb3893d72b38425
foreign import ccall unsafe "hs_bindgen_c36a6adcce04e3d9"
hs_bindgen_c36a6adcce04e3d9_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_c36a6adcce04e3d9
:: BG.Ptr SDL_Surface
-> IO (BG.Ptr SDL3.Sys.Bindgen.Pixels.SDL_Palette)
hs_bindgen_c36a6adcce04e3d9 :: Ptr SDL_Surface -> IO (Ptr SDL_Palette)
hs_bindgen_c36a6adcce04e3d9 =
\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_c36a6adcce04e3d9_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_c36a6adcce04e3d9
foreign import ccall unsafe "hs_bindgen_36366ea481866b40"
hs_bindgen_36366ea481866b40_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_36366ea481866b40
:: BG.Ptr SDL_Surface
-> BG.Ptr SDL_Surface
-> IO BG.CBool
hs_bindgen_36366ea481866b40 :: Ptr SDL_Surface -> Ptr SDL_Surface -> IO CBool
hs_bindgen_36366ea481866b40 =
\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_36366ea481866b40_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_36366ea481866b40
foreign import ccall unsafe "hs_bindgen_c8c9d6b2ea4d4292"
hs_bindgen_c8c9d6b2ea4d4292_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_c8c9d6b2ea4d4292
:: BG.Ptr SDL_Surface
-> IO BG.CBool
hs_bindgen_c8c9d6b2ea4d4292 :: Ptr SDL_Surface -> IO CBool
hs_bindgen_c8c9d6b2ea4d4292 =
\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_c8c9d6b2ea4d4292_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_c8c9d6b2ea4d4292
foreign import ccall unsafe "hs_bindgen_b3d55dcc42d5db12"
hs_bindgen_b3d55dcc42d5db12_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_b3d55dcc42d5db12
:: BG.Ptr SDL_Surface
-> BG.Ptr BG.CInt
-> IO (BG.Ptr (BG.Ptr SDL_Surface))
hs_bindgen_b3d55dcc42d5db12 :: Ptr SDL_Surface -> Ptr CInt -> IO (Ptr (Ptr SDL_Surface))
hs_bindgen_b3d55dcc42d5db12 =
\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_b3d55dcc42d5db12_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_b3d55dcc42d5db12
foreign import ccall unsafe "hs_bindgen_1adedb2719efa1bf"
hs_bindgen_1adedb2719efa1bf_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_1adedb2719efa1bf
:: BG.Ptr SDL_Surface
-> IO ()
hs_bindgen_1adedb2719efa1bf :: Ptr SDL_Surface -> IO ()
hs_bindgen_1adedb2719efa1bf =
\Ptr SDL_Surface
x0 ->
Ptr Void -> IO ()
hs_bindgen_1adedb2719efa1bf_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_1adedb2719efa1bf
foreign import ccall unsafe "hs_bindgen_8363af1ae03d45b9"
hs_bindgen_8363af1ae03d45b9_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_8363af1ae03d45b9
:: BG.Ptr SDL_Surface
-> IO BG.CBool
hs_bindgen_8363af1ae03d45b9 :: Ptr SDL_Surface -> IO CBool
hs_bindgen_8363af1ae03d45b9 =
\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_8363af1ae03d45b9_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_8363af1ae03d45b9
foreign import ccall unsafe "hs_bindgen_0b94cbec8aca2abc"
hs_bindgen_0b94cbec8aca2abc_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_0b94cbec8aca2abc
:: BG.Ptr SDL_Surface
-> IO ()
hs_bindgen_0b94cbec8aca2abc :: Ptr SDL_Surface -> IO ()
hs_bindgen_0b94cbec8aca2abc =
\Ptr SDL_Surface
x0 ->
Ptr Void -> IO ()
hs_bindgen_0b94cbec8aca2abc_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_0b94cbec8aca2abc
foreign import ccall unsafe "hs_bindgen_1a1549d61e2d7c6f"
hs_bindgen_1a1549d61e2d7c6f_base
:: BG.Ptr BG.Void
-> BG.CBool
-> IO (BG.Ptr BG.Void)
hs_bindgen_1a1549d61e2d7c6f
:: BG.Ptr SDL3.Sys.Bindgen.Iostream.SDL_IOStream
-> BG.CBool
-> IO (BG.Ptr SDL_Surface)
hs_bindgen_1a1549d61e2d7c6f :: Ptr SDL_IOStream -> CBool -> IO (Ptr SDL_Surface)
hs_bindgen_1a1549d61e2d7c6f =
\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_1a1549d61e2d7c6f_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_1a1549d61e2d7c6f
foreign import ccall unsafe "hs_bindgen_84c82bda97a82d45"
hs_bindgen_84c82bda97a82d45_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_84c82bda97a82d45
:: PtrConst.PtrConst BG.CChar
-> IO (BG.Ptr SDL_Surface)
hs_bindgen_84c82bda97a82d45 :: PtrConst CChar -> IO (Ptr SDL_Surface)
hs_bindgen_84c82bda97a82d45 =
\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_84c82bda97a82d45_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_84c82bda97a82d45
foreign import ccall unsafe "hs_bindgen_04dc7704680e62ca"
hs_bindgen_04dc7704680e62ca_base
:: BG.Ptr BG.Void
-> BG.CBool
-> IO (BG.Ptr BG.Void)
hs_bindgen_04dc7704680e62ca
:: BG.Ptr SDL3.Sys.Bindgen.Iostream.SDL_IOStream
-> BG.CBool
-> IO (BG.Ptr SDL_Surface)
hs_bindgen_04dc7704680e62ca :: Ptr SDL_IOStream -> CBool -> IO (Ptr SDL_Surface)
hs_bindgen_04dc7704680e62ca =
\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_04dc7704680e62ca_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_04dc7704680e62ca
foreign import ccall unsafe "hs_bindgen_fade244cdadaaa01"
hs_bindgen_fade244cdadaaa01_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_fade244cdadaaa01
:: PtrConst.PtrConst BG.CChar
-> IO (BG.Ptr SDL_Surface)
hs_bindgen_fade244cdadaaa01 :: PtrConst CChar -> IO (Ptr SDL_Surface)
hs_bindgen_fade244cdadaaa01 =
\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_fade244cdadaaa01_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_fade244cdadaaa01
foreign import ccall unsafe "hs_bindgen_9c98f1ae4256924d"
hs_bindgen_9c98f1ae4256924d_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CBool
-> IO BG.CBool
hs_bindgen_9c98f1ae4256924d
:: BG.Ptr SDL_Surface
-> BG.Ptr SDL3.Sys.Bindgen.Iostream.SDL_IOStream
-> BG.CBool
-> IO BG.CBool
hs_bindgen_9c98f1ae4256924d :: Ptr SDL_Surface -> Ptr SDL_IOStream -> CBool -> IO CBool
hs_bindgen_9c98f1ae4256924d =
\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_9c98f1ae4256924d_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_9c98f1ae4256924d
foreign import ccall unsafe "hs_bindgen_66fb79ef3bca90df"
hs_bindgen_66fb79ef3bca90df_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_66fb79ef3bca90df
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst BG.CChar
-> IO BG.CBool
hs_bindgen_66fb79ef3bca90df :: Ptr SDL_Surface -> PtrConst CChar -> IO CBool
hs_bindgen_66fb79ef3bca90df =
\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_66fb79ef3bca90df_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_66fb79ef3bca90df
foreign import ccall unsafe "hs_bindgen_7160fe58e1c51f22"
hs_bindgen_7160fe58e1c51f22_base
:: BG.Ptr BG.Void
-> BG.CBool
-> IO (BG.Ptr BG.Void)
hs_bindgen_7160fe58e1c51f22
:: BG.Ptr SDL3.Sys.Bindgen.Iostream.SDL_IOStream
-> BG.CBool
-> IO (BG.Ptr SDL_Surface)
hs_bindgen_7160fe58e1c51f22 :: Ptr SDL_IOStream -> CBool -> IO (Ptr SDL_Surface)
hs_bindgen_7160fe58e1c51f22 =
\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_7160fe58e1c51f22_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_7160fe58e1c51f22
foreign import ccall unsafe "hs_bindgen_bc316d886d9c3957"
hs_bindgen_bc316d886d9c3957_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_bc316d886d9c3957
:: PtrConst.PtrConst BG.CChar
-> IO (BG.Ptr SDL_Surface)
hs_bindgen_bc316d886d9c3957 :: PtrConst CChar -> IO (Ptr SDL_Surface)
hs_bindgen_bc316d886d9c3957 =
\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_bc316d886d9c3957_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_bc316d886d9c3957
foreign import ccall unsafe "hs_bindgen_9c8e4c9fc901ee28"
hs_bindgen_9c8e4c9fc901ee28_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CBool
-> IO BG.CBool
hs_bindgen_9c8e4c9fc901ee28
:: BG.Ptr SDL_Surface
-> BG.Ptr SDL3.Sys.Bindgen.Iostream.SDL_IOStream
-> BG.CBool
-> IO BG.CBool
hs_bindgen_9c8e4c9fc901ee28 :: Ptr SDL_Surface -> Ptr SDL_IOStream -> CBool -> IO CBool
hs_bindgen_9c8e4c9fc901ee28 =
\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_9c8e4c9fc901ee28_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_9c8e4c9fc901ee28
foreign import ccall unsafe "hs_bindgen_759469fef46a8cd4"
hs_bindgen_759469fef46a8cd4_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_759469fef46a8cd4
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst BG.CChar
-> IO BG.CBool
hs_bindgen_759469fef46a8cd4 :: Ptr SDL_Surface -> PtrConst CChar -> IO CBool
hs_bindgen_759469fef46a8cd4 =
\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_759469fef46a8cd4_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_759469fef46a8cd4
foreign import ccall unsafe "hs_bindgen_5d1b864a1323d92d"
hs_bindgen_5d1b864a1323d92d_base
:: BG.Ptr BG.Void
-> BG.CBool
-> IO BG.CBool
hs_bindgen_5d1b864a1323d92d
:: BG.Ptr SDL_Surface
-> BG.CBool
-> IO BG.CBool
hs_bindgen_5d1b864a1323d92d :: Ptr SDL_Surface -> CBool -> IO CBool
hs_bindgen_5d1b864a1323d92d =
\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_5d1b864a1323d92d_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_5d1b864a1323d92d
foreign import ccall unsafe "hs_bindgen_b51ce9068c82d3d0"
hs_bindgen_b51ce9068c82d3d0_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_b51ce9068c82d3d0
:: BG.Ptr SDL_Surface
-> IO BG.CBool
hs_bindgen_b51ce9068c82d3d0 :: Ptr SDL_Surface -> IO CBool
hs_bindgen_b51ce9068c82d3d0 =
\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_b51ce9068c82d3d0_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_b51ce9068c82d3d0
foreign import ccall unsafe "hs_bindgen_13efdbaff73dc30f"
hs_bindgen_13efdbaff73dc30f_base
:: BG.Ptr BG.Void
-> BG.CBool
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_13efdbaff73dc30f
:: BG.Ptr SDL_Surface
-> BG.CBool
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_13efdbaff73dc30f :: Ptr SDL_Surface -> CBool -> Uint32 -> IO CBool
hs_bindgen_13efdbaff73dc30f =
\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_13efdbaff73dc30f_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_13efdbaff73dc30f
foreign import ccall unsafe "hs_bindgen_998ae6f993d45bac"
hs_bindgen_998ae6f993d45bac_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_998ae6f993d45bac
:: BG.Ptr SDL_Surface
-> IO BG.CBool
hs_bindgen_998ae6f993d45bac :: Ptr SDL_Surface -> IO CBool
hs_bindgen_998ae6f993d45bac =
\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_998ae6f993d45bac_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_998ae6f993d45bac
foreign import ccall unsafe "hs_bindgen_463737aa98969701"
hs_bindgen_463737aa98969701_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_463737aa98969701
:: BG.Ptr SDL_Surface
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_463737aa98969701 :: Ptr SDL_Surface -> Ptr Uint32 -> IO CBool
hs_bindgen_463737aa98969701 =
\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_463737aa98969701_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_463737aa98969701
foreign import ccall unsafe "hs_bindgen_5802144e4d11fa38"
hs_bindgen_5802144e4d11fa38_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word8
-> HsBindgen.Runtime.LibC.Word8
-> HsBindgen.Runtime.LibC.Word8
-> IO BG.CBool
hs_bindgen_5802144e4d11fa38
:: BG.Ptr SDL_Surface
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
hs_bindgen_5802144e4d11fa38 :: Ptr SDL_Surface -> Uint8 -> Uint8 -> Uint8 -> IO CBool
hs_bindgen_5802144e4d11fa38 =
\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_5802144e4d11fa38_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_5802144e4d11fa38
foreign import ccall unsafe "hs_bindgen_8f67dce9db98e6f9"
hs_bindgen_8f67dce9db98e6f9_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_8f67dce9db98e6f9
:: 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_8f67dce9db98e6f9 :: Ptr SDL_Surface -> Ptr Uint8 -> Ptr Uint8 -> Ptr Uint8 -> IO CBool
hs_bindgen_8f67dce9db98e6f9 =
\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_8f67dce9db98e6f9_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_8f67dce9db98e6f9
foreign import ccall unsafe "hs_bindgen_2f27871d133fe193"
hs_bindgen_2f27871d133fe193_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word8
-> IO BG.CBool
hs_bindgen_2f27871d133fe193
:: BG.Ptr SDL_Surface
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
hs_bindgen_2f27871d133fe193 :: Ptr SDL_Surface -> Uint8 -> IO CBool
hs_bindgen_2f27871d133fe193 =
\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_2f27871d133fe193_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_2f27871d133fe193
foreign import ccall unsafe "hs_bindgen_62e7ffa57cc86c89"
hs_bindgen_62e7ffa57cc86c89_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_62e7ffa57cc86c89
:: BG.Ptr SDL_Surface
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO BG.CBool
hs_bindgen_62e7ffa57cc86c89 :: Ptr SDL_Surface -> Ptr Uint8 -> IO CBool
hs_bindgen_62e7ffa57cc86c89 =
\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_62e7ffa57cc86c89_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_62e7ffa57cc86c89
foreign import ccall unsafe "hs_bindgen_31b5f1226bf51118"
hs_bindgen_31b5f1226bf51118_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_31b5f1226bf51118
:: BG.Ptr SDL_Surface
-> SDL3.Sys.Bindgen.Blendmode.SDL_BlendMode
-> IO BG.CBool
hs_bindgen_31b5f1226bf51118 :: Ptr SDL_Surface -> SDL_BlendMode -> IO CBool
hs_bindgen_31b5f1226bf51118 =
\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_31b5f1226bf51118_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_31b5f1226bf51118
foreign import ccall unsafe "hs_bindgen_e69bee46110b6faa"
hs_bindgen_e69bee46110b6faa_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_e69bee46110b6faa
:: BG.Ptr SDL_Surface
-> BG.Ptr SDL3.Sys.Bindgen.Blendmode.SDL_BlendMode
-> IO BG.CBool
hs_bindgen_e69bee46110b6faa :: Ptr SDL_Surface -> Ptr SDL_BlendMode -> IO CBool
hs_bindgen_e69bee46110b6faa =
\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_e69bee46110b6faa_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_e69bee46110b6faa
foreign import ccall unsafe "hs_bindgen_d3f690ca2bc82289"
hs_bindgen_d3f690ca2bc82289_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_d3f690ca2bc82289
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> IO BG.CBool
hs_bindgen_d3f690ca2bc82289 :: Ptr SDL_Surface -> PtrConst SDL_Rect -> IO CBool
hs_bindgen_d3f690ca2bc82289 =
\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_d3f690ca2bc82289_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_d3f690ca2bc82289
foreign import ccall unsafe "hs_bindgen_510cbf12ad718ad5"
hs_bindgen_510cbf12ad718ad5_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_510cbf12ad718ad5
:: BG.Ptr SDL_Surface
-> BG.Ptr SDL3.Sys.Bindgen.Rect.SDL_Rect
-> IO BG.CBool
hs_bindgen_510cbf12ad718ad5 :: Ptr SDL_Surface -> Ptr SDL_Rect -> IO CBool
hs_bindgen_510cbf12ad718ad5 =
\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_510cbf12ad718ad5_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_510cbf12ad718ad5
foreign import ccall unsafe "hs_bindgen_c9050e1a6dbcc389"
hs_bindgen_c9050e1a6dbcc389_base
:: BG.Ptr BG.Void
-> BG.CUInt
-> IO BG.CBool
hs_bindgen_c9050e1a6dbcc389
:: BG.Ptr SDL_Surface
-> SDL_FlipMode
-> IO BG.CBool
hs_bindgen_c9050e1a6dbcc389 :: Ptr SDL_Surface -> SDL_FlipMode -> IO CBool
hs_bindgen_c9050e1a6dbcc389 =
\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_c9050e1a6dbcc389_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_c9050e1a6dbcc389
foreign import ccall unsafe "hs_bindgen_b68c60a70d17f528"
hs_bindgen_b68c60a70d17f528_base
:: BG.Ptr BG.Void
-> BG.CFloat
-> IO (BG.Ptr BG.Void)
hs_bindgen_b68c60a70d17f528
:: BG.Ptr SDL_Surface
-> BG.CFloat
-> IO (BG.Ptr SDL_Surface)
hs_bindgen_b68c60a70d17f528 :: Ptr SDL_Surface -> CFloat -> IO (Ptr SDL_Surface)
hs_bindgen_b68c60a70d17f528 =
\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_b68c60a70d17f528_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_b68c60a70d17f528
foreign import ccall unsafe "hs_bindgen_fb5b3c5560c73662"
hs_bindgen_fb5b3c5560c73662_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_fb5b3c5560c73662
:: BG.Ptr SDL_Surface
-> IO (BG.Ptr SDL_Surface)
hs_bindgen_fb5b3c5560c73662 :: Ptr SDL_Surface -> IO (Ptr SDL_Surface)
hs_bindgen_fb5b3c5560c73662 =
\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_fb5b3c5560c73662_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_fb5b3c5560c73662
foreign import ccall unsafe "hs_bindgen_302fe5f6d166cef5"
hs_bindgen_302fe5f6d166cef5_base
:: BG.Ptr BG.Void
-> BG.CInt
-> BG.CInt
-> BG.CInt
-> IO (BG.Ptr BG.Void)
hs_bindgen_302fe5f6d166cef5
:: BG.Ptr SDL_Surface
-> BG.CInt
-> BG.CInt
-> SDL_ScaleMode
-> IO (BG.Ptr SDL_Surface)
hs_bindgen_302fe5f6d166cef5 :: Ptr SDL_Surface
-> CInt -> CInt -> SDL_ScaleMode -> IO (Ptr SDL_Surface)
hs_bindgen_302fe5f6d166cef5 =
\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_302fe5f6d166cef5_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_302fe5f6d166cef5
foreign import ccall unsafe "hs_bindgen_2d38a11d9ed40ec3"
hs_bindgen_2d38a11d9ed40ec3_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.Support.CUInt
-> IO (BG.Ptr BG.Void)
hs_bindgen_2d38a11d9ed40ec3
:: BG.Ptr SDL_Surface
-> SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
-> IO (BG.Ptr SDL_Surface)
hs_bindgen_2d38a11d9ed40ec3 :: Ptr SDL_Surface -> SDL_PixelFormat -> IO (Ptr SDL_Surface)
hs_bindgen_2d38a11d9ed40ec3 =
\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_2d38a11d9ed40ec3_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_2d38a11d9ed40ec3
foreign import ccall unsafe "hs_bindgen_589af8fb0fd3b451"
hs_bindgen_589af8fb0fd3b451_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_589af8fb0fd3b451
:: 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_589af8fb0fd3b451 :: Ptr SDL_Surface
-> SDL_PixelFormat
-> Ptr SDL_Palette
-> SDL_Colorspace
-> SDL_PropertiesID
-> IO (Ptr SDL_Surface)
hs_bindgen_589af8fb0fd3b451 =
\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_589af8fb0fd3b451_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_589af8fb0fd3b451
foreign import ccall unsafe "hs_bindgen_c4ac87b53bb7fbaa"
hs_bindgen_c4ac87b53bb7fbaa_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_c4ac87b53bb7fbaa
:: 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_c4ac87b53bb7fbaa :: CInt
-> CInt
-> SDL_PixelFormat
-> PtrConst Void
-> CInt
-> SDL_PixelFormat
-> Ptr Void
-> CInt
-> IO CBool
hs_bindgen_c4ac87b53bb7fbaa =
\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_c4ac87b53bb7fbaa_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_c4ac87b53bb7fbaa
foreign import ccall unsafe "hs_bindgen_384b325525f7f1f3"
hs_bindgen_384b325525f7f1f3_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_384b325525f7f1f3
:: 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_384b325525f7f1f3 :: CInt
-> CInt
-> SDL_PixelFormat
-> SDL_Colorspace
-> SDL_PropertiesID
-> PtrConst Void
-> CInt
-> SDL_PixelFormat
-> SDL_Colorspace
-> SDL_PropertiesID
-> Ptr Void
-> CInt
-> IO CBool
hs_bindgen_384b325525f7f1f3 =
\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_384b325525f7f1f3_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_384b325525f7f1f3
foreign import ccall unsafe "hs_bindgen_9a5c070f0253ae0a"
hs_bindgen_9a5c070f0253ae0a_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_9a5c070f0253ae0a
:: 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_9a5c070f0253ae0a :: CInt
-> CInt
-> SDL_PixelFormat
-> PtrConst Void
-> CInt
-> SDL_PixelFormat
-> Ptr Void
-> CInt
-> CBool
-> IO CBool
hs_bindgen_9a5c070f0253ae0a =
\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_9a5c070f0253ae0a_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_9a5c070f0253ae0a
foreign import ccall unsafe "hs_bindgen_7065a7a3bd7041c8"
hs_bindgen_7065a7a3bd7041c8_base
:: BG.Ptr BG.Void
-> BG.CBool
-> IO BG.CBool
hs_bindgen_7065a7a3bd7041c8
:: BG.Ptr SDL_Surface
-> BG.CBool
-> IO BG.CBool
hs_bindgen_7065a7a3bd7041c8 :: Ptr SDL_Surface -> CBool -> IO CBool
hs_bindgen_7065a7a3bd7041c8 =
\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_7065a7a3bd7041c8_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_7065a7a3bd7041c8
foreign import ccall unsafe "hs_bindgen_de44f8d6106c7e71"
hs_bindgen_de44f8d6106c7e71_base
:: BG.Ptr BG.Void
-> BG.CFloat
-> BG.CFloat
-> BG.CFloat
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_de44f8d6106c7e71
:: BG.Ptr SDL_Surface
-> BG.CFloat
-> BG.CFloat
-> BG.CFloat
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_de44f8d6106c7e71 :: Ptr SDL_Surface -> CFloat -> CFloat -> CFloat -> CFloat -> IO CBool
hs_bindgen_de44f8d6106c7e71 =
\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_de44f8d6106c7e71_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_de44f8d6106c7e71
foreign import ccall unsafe "hs_bindgen_8e254769393349cc"
hs_bindgen_8e254769393349cc_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_8e254769393349cc
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_8e254769393349cc :: Ptr SDL_Surface -> PtrConst SDL_Rect -> Uint32 -> IO CBool
hs_bindgen_8e254769393349cc =
\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_8e254769393349cc_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_8e254769393349cc
foreign import ccall unsafe "hs_bindgen_4eb2bdf51787fb5f"
hs_bindgen_4eb2bdf51787fb5f_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CInt
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_4eb2bdf51787fb5f
:: BG.Ptr SDL_Surface
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> BG.CInt
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_4eb2bdf51787fb5f :: Ptr SDL_Surface -> PtrConst SDL_Rect -> CInt -> Uint32 -> IO CBool
hs_bindgen_4eb2bdf51787fb5f =
\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_4eb2bdf51787fb5f_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_4eb2bdf51787fb5f
foreign import ccall unsafe "hs_bindgen_dd9a2fd8000655e0"
hs_bindgen_dd9a2fd8000655e0_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_dd9a2fd8000655e0
:: 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_dd9a2fd8000655e0 :: Ptr SDL_Surface
-> PtrConst SDL_Rect
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> IO CBool
hs_bindgen_dd9a2fd8000655e0 =
\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_dd9a2fd8000655e0_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_dd9a2fd8000655e0
foreign import ccall unsafe "hs_bindgen_f1d3fd72bc95a376"
hs_bindgen_f1d3fd72bc95a376_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_f1d3fd72bc95a376
:: 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_f1d3fd72bc95a376 :: Ptr SDL_Surface
-> PtrConst SDL_Rect
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> IO CBool
hs_bindgen_f1d3fd72bc95a376 =
\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_f1d3fd72bc95a376_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_f1d3fd72bc95a376
foreign import ccall unsafe "hs_bindgen_ca439260becd97fa"
hs_bindgen_ca439260becd97fa_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_ca439260becd97fa
:: 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_ca439260becd97fa :: Ptr SDL_Surface
-> PtrConst SDL_Rect
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> SDL_ScaleMode
-> IO CBool
hs_bindgen_ca439260becd97fa =
\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_ca439260becd97fa_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_ca439260becd97fa
foreign import ccall unsafe "hs_bindgen_273462ee987888b2"
hs_bindgen_273462ee987888b2_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_273462ee987888b2
:: 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_273462ee987888b2 :: Ptr SDL_Surface
-> PtrConst SDL_Rect
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> SDL_ScaleMode
-> IO CBool
hs_bindgen_273462ee987888b2 =
\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_273462ee987888b2_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_273462ee987888b2
foreign import ccall unsafe "hs_bindgen_cbba042ce7137c9a"
hs_bindgen_cbba042ce7137c9a_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CInt
-> IO BG.CBool
hs_bindgen_cbba042ce7137c9a
:: 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_cbba042ce7137c9a :: Ptr SDL_Surface
-> PtrConst SDL_Rect
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> SDL_ScaleMode
-> IO CBool
hs_bindgen_cbba042ce7137c9a =
\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_cbba042ce7137c9a_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_cbba042ce7137c9a
foreign import ccall unsafe "hs_bindgen_cc06339086116f6d"
hs_bindgen_cc06339086116f6d_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_cc06339086116f6d
:: 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_cc06339086116f6d :: Ptr SDL_Surface
-> PtrConst SDL_Rect
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> IO CBool
hs_bindgen_cc06339086116f6d =
\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_cc06339086116f6d_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_cc06339086116f6d
foreign import ccall unsafe "hs_bindgen_50d8214074d2e91b"
hs_bindgen_50d8214074d2e91b_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_50d8214074d2e91b
:: 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_50d8214074d2e91b :: Ptr SDL_Surface
-> PtrConst SDL_Rect
-> CFloat
-> SDL_ScaleMode
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> IO CBool
hs_bindgen_50d8214074d2e91b =
\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_50d8214074d2e91b_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_50d8214074d2e91b
foreign import ccall unsafe "hs_bindgen_84940b463dd6473c"
hs_bindgen_84940b463dd6473c_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_84940b463dd6473c
:: 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_84940b463dd6473c :: Ptr SDL_Surface
-> PtrConst SDL_Rect
-> CInt
-> CInt
-> CInt
-> CInt
-> CFloat
-> SDL_ScaleMode
-> Ptr SDL_Surface
-> PtrConst SDL_Rect
-> IO CBool
hs_bindgen_84940b463dd6473c =
\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_84940b463dd6473c_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_84940b463dd6473c
foreign import ccall unsafe "hs_bindgen_5dfeeef5d5aa83da"
hs_bindgen_5dfeeef5d5aa83da_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word8
-> HsBindgen.Runtime.LibC.Word8
-> HsBindgen.Runtime.LibC.Word8
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_5dfeeef5d5aa83da
:: 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_5dfeeef5d5aa83da :: Ptr SDL_Surface -> Uint8 -> Uint8 -> Uint8 -> IO Uint32
hs_bindgen_5dfeeef5d5aa83da =
\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_5dfeeef5d5aa83da_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_5dfeeef5d5aa83da
foreign import ccall unsafe "hs_bindgen_456d7e009be906d0"
hs_bindgen_456d7e009be906d0_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_456d7e009be906d0
:: 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_456d7e009be906d0 :: Ptr SDL_Surface -> Uint8 -> Uint8 -> Uint8 -> Uint8 -> IO Uint32
hs_bindgen_456d7e009be906d0 =
\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_456d7e009be906d0_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_456d7e009be906d0
foreign import ccall unsafe "hs_bindgen_76b097df3deb39a7"
hs_bindgen_76b097df3deb39a7_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_76b097df3deb39a7
:: 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_76b097df3deb39a7 :: Ptr SDL_Surface
-> CInt
-> CInt
-> Ptr Uint8
-> Ptr Uint8
-> Ptr Uint8
-> Ptr Uint8
-> IO CBool
hs_bindgen_76b097df3deb39a7 =
\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_76b097df3deb39a7_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_76b097df3deb39a7
foreign import ccall unsafe "hs_bindgen_1dba774402b79156"
hs_bindgen_1dba774402b79156_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_1dba774402b79156
:: 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_1dba774402b79156 :: Ptr SDL_Surface
-> CInt
-> CInt
-> Ptr CFloat
-> Ptr CFloat
-> Ptr CFloat
-> Ptr CFloat
-> IO CBool
hs_bindgen_1dba774402b79156 =
\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_1dba774402b79156_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_1dba774402b79156
foreign import ccall unsafe "hs_bindgen_66bf3500cd5641bd"
hs_bindgen_66bf3500cd5641bd_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_66bf3500cd5641bd
:: 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_66bf3500cd5641bd :: Ptr SDL_Surface
-> CInt -> CInt -> Uint8 -> Uint8 -> Uint8 -> Uint8 -> IO CBool
hs_bindgen_66bf3500cd5641bd =
\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_66bf3500cd5641bd_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_66bf3500cd5641bd
foreign import ccall unsafe "hs_bindgen_91babb583602ef71"
hs_bindgen_91babb583602ef71_base
:: BG.Ptr BG.Void
-> BG.CInt
-> BG.CInt
-> BG.CFloat
-> BG.CFloat
-> BG.CFloat
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_91babb583602ef71
:: BG.Ptr SDL_Surface
-> BG.CInt
-> BG.CInt
-> BG.CFloat
-> BG.CFloat
-> BG.CFloat
-> BG.CFloat
-> IO BG.CBool
hs_bindgen_91babb583602ef71 :: Ptr SDL_Surface
-> CInt -> CInt -> CFloat -> CFloat -> CFloat -> CFloat -> IO CBool
hs_bindgen_91babb583602ef71 =
\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_91babb583602ef71_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_91babb583602ef71