{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE DerivingVia #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE EmptyDataDecls #-}
{-# LANGUAGE ExplicitForAll #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE MagicHash #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UnboxedTuples #-}
{-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
module SDL3.Sys.Bindgen.Video (
SDL3.Sys.Bindgen.Video.SDL_DisplayID (..),
SDL3.Sys.Bindgen.Video.SDL_WindowID (..),
SDL3.Sys.Bindgen.Video.sDL_PROP_GLOBAL_VIDEO_WAYLAND_WL_DISPLAY_POINTER,
SDL3.Sys.Bindgen.Video.SDL_SystemTheme (..),
pattern SDL3.Sys.Bindgen.Video.SDL_SYSTEM_THEME_UNKNOWN,
pattern SDL3.Sys.Bindgen.Video.SDL_SYSTEM_THEME_LIGHT,
pattern SDL3.Sys.Bindgen.Video.SDL_SYSTEM_THEME_DARK,
SDL3.Sys.Bindgen.Video.SDL_DisplayModeData,
SDL3.Sys.Bindgen.Video.SDL_DisplayMode (..),
SDL3.Sys.Bindgen.Video.SDL_DisplayOrientation (..),
pattern SDL3.Sys.Bindgen.Video.SDL_ORIENTATION_UNKNOWN,
pattern SDL3.Sys.Bindgen.Video.SDL_ORIENTATION_LANDSCAPE,
pattern SDL3.Sys.Bindgen.Video.SDL_ORIENTATION_LANDSCAPE_FLIPPED,
pattern SDL3.Sys.Bindgen.Video.SDL_ORIENTATION_PORTRAIT,
pattern SDL3.Sys.Bindgen.Video.SDL_ORIENTATION_PORTRAIT_FLIPPED,
SDL3.Sys.Bindgen.Video.SDL_Window,
SDL3.Sys.Bindgen.Video.SDL_WindowFlags (..),
SDL3.Sys.Bindgen.Video.sDL_WINDOWPOS_UNDEFINED_MASK,
SDL3.Sys.Bindgen.Video.sDL_WINDOWPOS_UNDEFINED_DISPLAY,
SDL3.Sys.Bindgen.Video.sDL_WINDOWPOS_UNDEFINED,
SDL3.Sys.Bindgen.Video.sDL_WINDOWPOS_ISUNDEFINED,
SDL3.Sys.Bindgen.Video.sDL_WINDOWPOS_CENTERED_MASK,
SDL3.Sys.Bindgen.Video.sDL_WINDOWPOS_CENTERED_DISPLAY,
SDL3.Sys.Bindgen.Video.sDL_WINDOWPOS_CENTERED,
SDL3.Sys.Bindgen.Video.sDL_WINDOWPOS_ISCENTERED,
SDL3.Sys.Bindgen.Video.SDL_FlashOperation (..),
pattern SDL3.Sys.Bindgen.Video.SDL_FLASH_CANCEL,
pattern SDL3.Sys.Bindgen.Video.SDL_FLASH_BRIEFLY,
pattern SDL3.Sys.Bindgen.Video.SDL_FLASH_UNTIL_FOCUSED,
SDL3.Sys.Bindgen.Video.SDL_ProgressState (..),
pattern SDL3.Sys.Bindgen.Video.SDL_PROGRESS_STATE_INVALID,
pattern SDL3.Sys.Bindgen.Video.SDL_PROGRESS_STATE_NONE,
pattern SDL3.Sys.Bindgen.Video.SDL_PROGRESS_STATE_INDETERMINATE,
pattern SDL3.Sys.Bindgen.Video.SDL_PROGRESS_STATE_NORMAL,
pattern SDL3.Sys.Bindgen.Video.SDL_PROGRESS_STATE_PAUSED,
pattern SDL3.Sys.Bindgen.Video.SDL_PROGRESS_STATE_ERROR,
SDL3.Sys.Bindgen.Video.SDL_GLContextState,
SDL3.Sys.Bindgen.Video.SDL_GLContext (..),
SDL3.Sys.Bindgen.Video.SDL_EGLDisplay (..),
SDL3.Sys.Bindgen.Video.SDL_EGLConfig (..),
SDL3.Sys.Bindgen.Video.SDL_EGLSurface (..),
SDL3.Sys.Bindgen.Video.SDL_EGLAttrib (..),
SDL3.Sys.Bindgen.Video.SDL_EGLint (..),
SDL3.Sys.Bindgen.Video.SDL_EGLAttribArrayCallback_Aux (..),
SDL3.Sys.Bindgen.Video.SDL_EGLAttribArrayCallback (..),
SDL3.Sys.Bindgen.Video.SDL_EGLIntArrayCallback_Aux (..),
SDL3.Sys.Bindgen.Video.SDL_EGLIntArrayCallback (..),
SDL3.Sys.Bindgen.Video.SDL_GLAttr (..),
pattern SDL3.Sys.Bindgen.Video.SDL_GL_RED_SIZE,
pattern SDL3.Sys.Bindgen.Video.SDL_GL_GREEN_SIZE,
pattern SDL3.Sys.Bindgen.Video.SDL_GL_BLUE_SIZE,
pattern SDL3.Sys.Bindgen.Video.SDL_GL_ALPHA_SIZE,
pattern SDL3.Sys.Bindgen.Video.SDL_GL_BUFFER_SIZE,
pattern SDL3.Sys.Bindgen.Video.SDL_GL_DOUBLEBUFFER,
pattern SDL3.Sys.Bindgen.Video.SDL_GL_DEPTH_SIZE,
pattern SDL3.Sys.Bindgen.Video.SDL_GL_STENCIL_SIZE,
pattern SDL3.Sys.Bindgen.Video.SDL_GL_ACCUM_RED_SIZE,
pattern SDL3.Sys.Bindgen.Video.SDL_GL_ACCUM_GREEN_SIZE,
pattern SDL3.Sys.Bindgen.Video.SDL_GL_ACCUM_BLUE_SIZE,
pattern SDL3.Sys.Bindgen.Video.SDL_GL_ACCUM_ALPHA_SIZE,
pattern SDL3.Sys.Bindgen.Video.SDL_GL_STEREO,
pattern SDL3.Sys.Bindgen.Video.SDL_GL_MULTISAMPLEBUFFERS,
pattern SDL3.Sys.Bindgen.Video.SDL_GL_MULTISAMPLESAMPLES,
pattern SDL3.Sys.Bindgen.Video.SDL_GL_ACCELERATED_VISUAL,
pattern SDL3.Sys.Bindgen.Video.SDL_GL_RETAINED_BACKING,
pattern SDL3.Sys.Bindgen.Video.SDL_GL_CONTEXT_MAJOR_VERSION,
pattern SDL3.Sys.Bindgen.Video.SDL_GL_CONTEXT_MINOR_VERSION,
pattern SDL3.Sys.Bindgen.Video.SDL_GL_CONTEXT_FLAGS,
pattern SDL3.Sys.Bindgen.Video.SDL_GL_CONTEXT_PROFILE_MASK,
pattern SDL3.Sys.Bindgen.Video.SDL_GL_SHARE_WITH_CURRENT_CONTEXT,
pattern SDL3.Sys.Bindgen.Video.SDL_GL_FRAMEBUFFER_SRGB_CAPABLE,
pattern SDL3.Sys.Bindgen.Video.SDL_GL_CONTEXT_RELEASE_BEHAVIOR,
pattern SDL3.Sys.Bindgen.Video.SDL_GL_CONTEXT_RESET_NOTIFICATION,
pattern SDL3.Sys.Bindgen.Video.SDL_GL_CONTEXT_NO_ERROR,
pattern SDL3.Sys.Bindgen.Video.SDL_GL_FLOATBUFFERS,
pattern SDL3.Sys.Bindgen.Video.SDL_GL_EGL_PLATFORM,
SDL3.Sys.Bindgen.Video.SDL_GLProfile (..),
SDL3.Sys.Bindgen.Video.sDL_GL_CONTEXT_PROFILE_CORE,
SDL3.Sys.Bindgen.Video.sDL_GL_CONTEXT_PROFILE_COMPATIBILITY,
SDL3.Sys.Bindgen.Video.sDL_GL_CONTEXT_PROFILE_ES,
SDL3.Sys.Bindgen.Video.SDL_GLContextFlag (..),
SDL3.Sys.Bindgen.Video.sDL_GL_CONTEXT_DEBUG_FLAG,
SDL3.Sys.Bindgen.Video.sDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG,
SDL3.Sys.Bindgen.Video.sDL_GL_CONTEXT_ROBUST_ACCESS_FLAG,
SDL3.Sys.Bindgen.Video.sDL_GL_CONTEXT_RESET_ISOLATION_FLAG,
SDL3.Sys.Bindgen.Video.SDL_GLContextReleaseFlag (..),
SDL3.Sys.Bindgen.Video.sDL_GL_CONTEXT_RELEASE_BEHAVIOR_NONE,
SDL3.Sys.Bindgen.Video.sDL_GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH,
SDL3.Sys.Bindgen.Video.SDL_GLContextResetNotification (..),
SDL3.Sys.Bindgen.Video.sDL_GL_CONTEXT_RESET_NO_NOTIFICATION,
SDL3.Sys.Bindgen.Video.sDL_GL_CONTEXT_RESET_LOSE_CONTEXT,
SDL3.Sys.Bindgen.Video.sDL_PROP_DISPLAY_HDR_ENABLED_BOOLEAN,
SDL3.Sys.Bindgen.Video.sDL_PROP_DISPLAY_KMSDRM_PANEL_ORIENTATION_NUMBER,
SDL3.Sys.Bindgen.Video.sDL_PROP_DISPLAY_WAYLAND_WL_OUTPUT_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_DISPLAY_WINDOWS_HMONITOR_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_ALWAYS_ON_TOP_BOOLEAN,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_BORDERLESS_BOOLEAN,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_CONSTRAIN_POPUP_BOOLEAN,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_FOCUSABLE_BOOLEAN,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_EXTERNAL_GRAPHICS_CONTEXT_BOOLEAN,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_FLAGS_NUMBER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_FULLSCREEN_BOOLEAN,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_HEIGHT_NUMBER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_HIDDEN_BOOLEAN,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_HIGH_PIXEL_DENSITY_BOOLEAN,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_MAXIMIZED_BOOLEAN,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_MENU_BOOLEAN,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_METAL_BOOLEAN,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_MINIMIZED_BOOLEAN,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_MODAL_BOOLEAN,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_MOUSE_GRABBED_BOOLEAN,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_OPENGL_BOOLEAN,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_PARENT_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_RESIZABLE_BOOLEAN,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_TITLE_STRING,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_TRANSPARENT_BOOLEAN,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_TOOLTIP_BOOLEAN,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_UTILITY_BOOLEAN,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_VULKAN_BOOLEAN,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_WIDTH_NUMBER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_X_NUMBER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_Y_NUMBER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_COCOA_WINDOW_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_COCOA_VIEW_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_WINDOWSCENE_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_WAYLAND_SURFACE_ROLE_CUSTOM_BOOLEAN,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_WAYLAND_CREATE_EGL_WINDOW_BOOLEAN,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_WAYLAND_WL_SURFACE_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_WIN32_HWND_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_WIN32_PIXEL_FORMAT_HWND_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_X11_WINDOW_NUMBER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_EMSCRIPTEN_CANVAS_ID_STRING,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_CREATE_EMSCRIPTEN_KEYBOARD_ELEMENT_STRING,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_SHAPE_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_HDR_ENABLED_BOOLEAN,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_SDR_WHITE_LEVEL_FLOAT,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_HDR_HEADROOM_FLOAT,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_ANDROID_WINDOW_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_ANDROID_SURFACE_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_UIKIT_WINDOW_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_UIKIT_METAL_VIEW_TAG_NUMBER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_UIKIT_OPENGL_FRAMEBUFFER_NUMBER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_UIKIT_OPENGL_RENDERBUFFER_NUMBER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_UIKIT_OPENGL_RESOLVE_FRAMEBUFFER_NUMBER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_KMSDRM_DEVICE_INDEX_NUMBER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_KMSDRM_DRM_FD_NUMBER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_KMSDRM_GBM_DEVICE_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_COCOA_WINDOW_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_COCOA_METAL_VIEW_TAG_NUMBER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_OPENVR_OVERLAY_ID_NUMBER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_VIVANTE_DISPLAY_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_VIVANTE_WINDOW_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_VIVANTE_SURFACE_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_WIN32_HWND_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_WIN32_HDC_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_WIN32_INSTANCE_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_WAYLAND_DISPLAY_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_WAYLAND_SURFACE_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_WAYLAND_VIEWPORT_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_WAYLAND_EGL_WINDOW_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_WAYLAND_XDG_SURFACE_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_WAYLAND_XDG_TOPLEVEL_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_WAYLAND_XDG_TOPLEVEL_EXPORT_HANDLE_STRING,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_WAYLAND_XDG_POPUP_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_WAYLAND_XDG_POSITIONER_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_X11_DISPLAY_POINTER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_X11_SCREEN_NUMBER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_X11_WINDOW_NUMBER,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_EMSCRIPTEN_CANVAS_ID_STRING,
SDL3.Sys.Bindgen.Video.sDL_PROP_WINDOW_EMSCRIPTEN_KEYBOARD_ELEMENT_STRING,
SDL3.Sys.Bindgen.Video.sDL_WINDOW_SURFACE_VSYNC_DISABLED,
SDL3.Sys.Bindgen.Video.sDL_WINDOW_SURFACE_VSYNC_ADAPTIVE,
SDL3.Sys.Bindgen.Video.SDL_HitTestResult (..),
pattern SDL3.Sys.Bindgen.Video.SDL_HITTEST_NORMAL,
pattern SDL3.Sys.Bindgen.Video.SDL_HITTEST_DRAGGABLE,
pattern SDL3.Sys.Bindgen.Video.SDL_HITTEST_RESIZE_TOPLEFT,
pattern SDL3.Sys.Bindgen.Video.SDL_HITTEST_RESIZE_TOP,
pattern SDL3.Sys.Bindgen.Video.SDL_HITTEST_RESIZE_TOPRIGHT,
pattern SDL3.Sys.Bindgen.Video.SDL_HITTEST_RESIZE_RIGHT,
pattern SDL3.Sys.Bindgen.Video.SDL_HITTEST_RESIZE_BOTTOMRIGHT,
pattern SDL3.Sys.Bindgen.Video.SDL_HITTEST_RESIZE_BOTTOM,
pattern SDL3.Sys.Bindgen.Video.SDL_HITTEST_RESIZE_BOTTOMLEFT,
pattern SDL3.Sys.Bindgen.Video.SDL_HITTEST_RESIZE_LEFT,
SDL3.Sys.Bindgen.Video.SDL_HitTest_Aux (..),
SDL3.Sys.Bindgen.Video.SDL_HitTest (..),
)
where
import Prelude (
Bounded,
Enum,
Eq,
IO,
Int,
Integral,
Num,
Ord,
Read,
Real,
Show,
fmap,
pure,
(<*>),
(>>),
type (~),
)
import C.Expr.HostPlatform qualified
import HsBindgen.Runtime.CEnum qualified as CEnum
import HsBindgen.Runtime.HasCField qualified as HasCField
import HsBindgen.Runtime.LibC qualified
import HsBindgen.Runtime.Marshal qualified as Marshal
import HsBindgen.Runtime.PtrConst qualified as PtrConst
import HsBindgen.Runtime.Struct qualified as Struct
import HsBindgen.Runtime.Support qualified as BG
import HsBindgen.Runtime.Support.CompatHasField qualified as BG.CompatHasField
import SDL3.Sys.Bindgen.Pixels qualified
import SDL3.Sys.Bindgen.Rect qualified
import SDL3.Sys.Bindgen.Stdinc qualified
newtype SDL_DisplayID = SDL_DisplayID
{ SDL_DisplayID -> Uint32
unwrap :: SDL3.Sys.Bindgen.Stdinc.Uint32
}
deriving stock ((forall x. SDL_DisplayID -> Rep SDL_DisplayID x)
-> (forall x. Rep SDL_DisplayID x -> SDL_DisplayID)
-> Generic SDL_DisplayID
forall x. Rep SDL_DisplayID x -> SDL_DisplayID
forall x. SDL_DisplayID -> Rep SDL_DisplayID x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. SDL_DisplayID -> Rep SDL_DisplayID x
from :: forall x. SDL_DisplayID -> Rep SDL_DisplayID x
$cto :: forall x. Rep SDL_DisplayID x -> SDL_DisplayID
to :: forall x. Rep SDL_DisplayID x -> SDL_DisplayID
BG.Generic, SDL_DisplayID -> SDL_DisplayID -> Bool
(SDL_DisplayID -> SDL_DisplayID -> Bool)
-> (SDL_DisplayID -> SDL_DisplayID -> Bool) -> Eq SDL_DisplayID
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SDL_DisplayID -> SDL_DisplayID -> Bool
== :: SDL_DisplayID -> SDL_DisplayID -> Bool
$c/= :: SDL_DisplayID -> SDL_DisplayID -> Bool
/= :: SDL_DisplayID -> SDL_DisplayID -> Bool
Eq, Eq SDL_DisplayID
Eq SDL_DisplayID =>
(SDL_DisplayID -> SDL_DisplayID -> Ordering)
-> (SDL_DisplayID -> SDL_DisplayID -> Bool)
-> (SDL_DisplayID -> SDL_DisplayID -> Bool)
-> (SDL_DisplayID -> SDL_DisplayID -> Bool)
-> (SDL_DisplayID -> SDL_DisplayID -> Bool)
-> (SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID)
-> (SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID)
-> Ord SDL_DisplayID
SDL_DisplayID -> SDL_DisplayID -> Bool
SDL_DisplayID -> SDL_DisplayID -> Ordering
SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: SDL_DisplayID -> SDL_DisplayID -> Ordering
compare :: SDL_DisplayID -> SDL_DisplayID -> Ordering
$c< :: SDL_DisplayID -> SDL_DisplayID -> Bool
< :: SDL_DisplayID -> SDL_DisplayID -> Bool
$c<= :: SDL_DisplayID -> SDL_DisplayID -> Bool
<= :: SDL_DisplayID -> SDL_DisplayID -> Bool
$c> :: SDL_DisplayID -> SDL_DisplayID -> Bool
> :: SDL_DisplayID -> SDL_DisplayID -> Bool
$c>= :: SDL_DisplayID -> SDL_DisplayID -> Bool
>= :: SDL_DisplayID -> SDL_DisplayID -> Bool
$cmax :: SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID
max :: SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID
$cmin :: SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID
min :: SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID
Ord, ReadPrec [SDL_DisplayID]
ReadPrec SDL_DisplayID
Int -> ReadS SDL_DisplayID
ReadS [SDL_DisplayID]
(Int -> ReadS SDL_DisplayID)
-> ReadS [SDL_DisplayID]
-> ReadPrec SDL_DisplayID
-> ReadPrec [SDL_DisplayID]
-> Read SDL_DisplayID
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
$creadsPrec :: Int -> ReadS SDL_DisplayID
readsPrec :: Int -> ReadS SDL_DisplayID
$creadList :: ReadS [SDL_DisplayID]
readList :: ReadS [SDL_DisplayID]
$creadPrec :: ReadPrec SDL_DisplayID
readPrec :: ReadPrec SDL_DisplayID
$creadListPrec :: ReadPrec [SDL_DisplayID]
readListPrec :: ReadPrec [SDL_DisplayID]
Read, Int -> SDL_DisplayID -> ShowS
[SDL_DisplayID] -> ShowS
SDL_DisplayID -> String
(Int -> SDL_DisplayID -> ShowS)
-> (SDL_DisplayID -> String)
-> ([SDL_DisplayID] -> ShowS)
-> Show SDL_DisplayID
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SDL_DisplayID -> ShowS
showsPrec :: Int -> SDL_DisplayID -> ShowS
$cshow :: SDL_DisplayID -> String
show :: SDL_DisplayID -> String
$cshowList :: [SDL_DisplayID] -> ShowS
showList :: [SDL_DisplayID] -> ShowS
Show)
deriving newtype
( Word64 -> Int -> SDL_DisplayID
SDL_DisplayID -> Int -> Word64
(SDL_DisplayID -> Int -> Word64)
-> (Word64 -> Int -> SDL_DisplayID) -> Bitfield SDL_DisplayID
forall a.
(a -> Int -> Word64) -> (Word64 -> Int -> a) -> Bitfield a
$cnarrow :: SDL_DisplayID -> Int -> Word64
narrow :: SDL_DisplayID -> Int -> Word64
$cextend :: Word64 -> Int -> SDL_DisplayID
extend :: Word64 -> Int -> SDL_DisplayID
BG.Bitfield
, Eq SDL_DisplayID
SDL_DisplayID
Eq SDL_DisplayID =>
(SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID)
-> (SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID)
-> (SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID)
-> (SDL_DisplayID -> SDL_DisplayID)
-> (SDL_DisplayID -> Int -> SDL_DisplayID)
-> (SDL_DisplayID -> Int -> SDL_DisplayID)
-> SDL_DisplayID
-> (Int -> SDL_DisplayID)
-> (SDL_DisplayID -> Int -> SDL_DisplayID)
-> (SDL_DisplayID -> Int -> SDL_DisplayID)
-> (SDL_DisplayID -> Int -> SDL_DisplayID)
-> (SDL_DisplayID -> Int -> Bool)
-> (SDL_DisplayID -> Maybe Int)
-> (SDL_DisplayID -> Int)
-> (SDL_DisplayID -> Bool)
-> (SDL_DisplayID -> Int -> SDL_DisplayID)
-> (SDL_DisplayID -> Int -> SDL_DisplayID)
-> (SDL_DisplayID -> Int -> SDL_DisplayID)
-> (SDL_DisplayID -> Int -> SDL_DisplayID)
-> (SDL_DisplayID -> Int -> SDL_DisplayID)
-> (SDL_DisplayID -> Int -> SDL_DisplayID)
-> (SDL_DisplayID -> Int)
-> Bits SDL_DisplayID
Int -> SDL_DisplayID
SDL_DisplayID -> Bool
SDL_DisplayID -> Int
SDL_DisplayID -> Maybe Int
SDL_DisplayID -> SDL_DisplayID
SDL_DisplayID -> Int -> Bool
SDL_DisplayID -> Int -> SDL_DisplayID
SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID
forall a.
Eq a =>
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> a
-> (Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> Bool)
-> (a -> Maybe Int)
-> (a -> Int)
-> (a -> Bool)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int)
-> Bits a
$c.&. :: SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID
.&. :: SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID
$c.|. :: SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID
.|. :: SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID
$cxor :: SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID
xor :: SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID
$ccomplement :: SDL_DisplayID -> SDL_DisplayID
complement :: SDL_DisplayID -> SDL_DisplayID
$cshift :: SDL_DisplayID -> Int -> SDL_DisplayID
shift :: SDL_DisplayID -> Int -> SDL_DisplayID
$crotate :: SDL_DisplayID -> Int -> SDL_DisplayID
rotate :: SDL_DisplayID -> Int -> SDL_DisplayID
$czeroBits :: SDL_DisplayID
zeroBits :: SDL_DisplayID
$cbit :: Int -> SDL_DisplayID
bit :: Int -> SDL_DisplayID
$csetBit :: SDL_DisplayID -> Int -> SDL_DisplayID
setBit :: SDL_DisplayID -> Int -> SDL_DisplayID
$cclearBit :: SDL_DisplayID -> Int -> SDL_DisplayID
clearBit :: SDL_DisplayID -> Int -> SDL_DisplayID
$ccomplementBit :: SDL_DisplayID -> Int -> SDL_DisplayID
complementBit :: SDL_DisplayID -> Int -> SDL_DisplayID
$ctestBit :: SDL_DisplayID -> Int -> Bool
testBit :: SDL_DisplayID -> Int -> Bool
$cbitSizeMaybe :: SDL_DisplayID -> Maybe Int
bitSizeMaybe :: SDL_DisplayID -> Maybe Int
$cbitSize :: SDL_DisplayID -> Int
bitSize :: SDL_DisplayID -> Int
$cisSigned :: SDL_DisplayID -> Bool
isSigned :: SDL_DisplayID -> Bool
$cshiftL :: SDL_DisplayID -> Int -> SDL_DisplayID
shiftL :: SDL_DisplayID -> Int -> SDL_DisplayID
$cunsafeShiftL :: SDL_DisplayID -> Int -> SDL_DisplayID
unsafeShiftL :: SDL_DisplayID -> Int -> SDL_DisplayID
$cshiftR :: SDL_DisplayID -> Int -> SDL_DisplayID
shiftR :: SDL_DisplayID -> Int -> SDL_DisplayID
$cunsafeShiftR :: SDL_DisplayID -> Int -> SDL_DisplayID
unsafeShiftR :: SDL_DisplayID -> Int -> SDL_DisplayID
$crotateL :: SDL_DisplayID -> Int -> SDL_DisplayID
rotateL :: SDL_DisplayID -> Int -> SDL_DisplayID
$crotateR :: SDL_DisplayID -> Int -> SDL_DisplayID
rotateR :: SDL_DisplayID -> Int -> SDL_DisplayID
$cpopCount :: SDL_DisplayID -> Int
popCount :: SDL_DisplayID -> Int
BG.Bits
, Bits SDL_DisplayID
Bits SDL_DisplayID =>
(SDL_DisplayID -> Int)
-> (SDL_DisplayID -> Int)
-> (SDL_DisplayID -> Int)
-> FiniteBits SDL_DisplayID
SDL_DisplayID -> Int
forall b.
Bits b =>
(b -> Int) -> (b -> Int) -> (b -> Int) -> FiniteBits b
$cfiniteBitSize :: SDL_DisplayID -> Int
finiteBitSize :: SDL_DisplayID -> Int
$ccountLeadingZeros :: SDL_DisplayID -> Int
countLeadingZeros :: SDL_DisplayID -> Int
$ccountTrailingZeros :: SDL_DisplayID -> Int
countTrailingZeros :: SDL_DisplayID -> Int
BG.FiniteBits
, FFIType SDL_DisplayID -> SDL_DisplayID
SDL_DisplayID -> FFIType SDL_DisplayID
(SDL_DisplayID -> FFIType SDL_DisplayID)
-> (FFIType SDL_DisplayID -> SDL_DisplayID)
-> HasFFIType SDL_DisplayID
forall a. (a -> FFIType a) -> (FFIType a -> a) -> HasFFIType a
$ctoFFIType :: SDL_DisplayID -> FFIType SDL_DisplayID
toFFIType :: SDL_DisplayID -> FFIType SDL_DisplayID
$cfromFFIType :: FFIType SDL_DisplayID -> SDL_DisplayID
fromFFIType :: FFIType SDL_DisplayID -> SDL_DisplayID
BG.HasFFIType
, Ord SDL_DisplayID
Ord SDL_DisplayID =>
((SDL_DisplayID, SDL_DisplayID) -> [SDL_DisplayID])
-> ((SDL_DisplayID, SDL_DisplayID) -> SDL_DisplayID -> Int)
-> ((SDL_DisplayID, SDL_DisplayID) -> SDL_DisplayID -> Int)
-> ((SDL_DisplayID, SDL_DisplayID) -> SDL_DisplayID -> Bool)
-> ((SDL_DisplayID, SDL_DisplayID) -> Int)
-> ((SDL_DisplayID, SDL_DisplayID) -> Int)
-> Ix SDL_DisplayID
(SDL_DisplayID, SDL_DisplayID) -> Int
(SDL_DisplayID, SDL_DisplayID) -> [SDL_DisplayID]
(SDL_DisplayID, SDL_DisplayID) -> SDL_DisplayID -> Bool
(SDL_DisplayID, SDL_DisplayID) -> SDL_DisplayID -> Int
forall a.
Ord a =>
((a, a) -> [a])
-> ((a, a) -> a -> Int)
-> ((a, a) -> a -> Int)
-> ((a, a) -> a -> Bool)
-> ((a, a) -> Int)
-> ((a, a) -> Int)
-> Ix a
$crange :: (SDL_DisplayID, SDL_DisplayID) -> [SDL_DisplayID]
range :: (SDL_DisplayID, SDL_DisplayID) -> [SDL_DisplayID]
$cindex :: (SDL_DisplayID, SDL_DisplayID) -> SDL_DisplayID -> Int
index :: (SDL_DisplayID, SDL_DisplayID) -> SDL_DisplayID -> Int
$cunsafeIndex :: (SDL_DisplayID, SDL_DisplayID) -> SDL_DisplayID -> Int
unsafeIndex :: (SDL_DisplayID, SDL_DisplayID) -> SDL_DisplayID -> Int
$cinRange :: (SDL_DisplayID, SDL_DisplayID) -> SDL_DisplayID -> Bool
inRange :: (SDL_DisplayID, SDL_DisplayID) -> SDL_DisplayID -> Bool
$crangeSize :: (SDL_DisplayID, SDL_DisplayID) -> Int
rangeSize :: (SDL_DisplayID, SDL_DisplayID) -> Int
$cunsafeRangeSize :: (SDL_DisplayID, SDL_DisplayID) -> Int
unsafeRangeSize :: (SDL_DisplayID, SDL_DisplayID) -> Int
BG.Ix
, Addr# -> Int# -> SDL_DisplayID
ByteArray# -> Int# -> SDL_DisplayID
Proxy SDL_DisplayID -> Int#
SDL_DisplayID -> Int#
(Proxy SDL_DisplayID -> Int#)
-> (SDL_DisplayID -> Int#)
-> (Proxy SDL_DisplayID -> Int#)
-> (SDL_DisplayID -> Int#)
-> (ByteArray# -> Int# -> SDL_DisplayID)
-> (forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_DisplayID #))
-> (forall s.
MutableByteArray# s
-> Int# -> SDL_DisplayID -> State# s -> State# s)
-> (forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_DisplayID -> State# s -> State# s)
-> (Addr# -> Int# -> SDL_DisplayID)
-> (forall s.
Addr# -> Int# -> State# s -> (# State# s, SDL_DisplayID #))
-> (forall s.
Addr# -> Int# -> SDL_DisplayID -> State# s -> State# s)
-> (forall s.
Addr# -> Int# -> Int# -> SDL_DisplayID -> State# s -> State# s)
-> Prim SDL_DisplayID
forall s.
Addr# -> Int# -> Int# -> SDL_DisplayID -> State# s -> State# s
forall s.
Addr# -> Int# -> State# s -> (# State# s, SDL_DisplayID #)
forall s. Addr# -> Int# -> SDL_DisplayID -> State# s -> State# s
forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_DisplayID -> State# s -> State# s
forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_DisplayID #)
forall s.
MutableByteArray# s
-> Int# -> SDL_DisplayID -> State# s -> State# s
forall a.
(Proxy a -> Int#)
-> (a -> Int#)
-> (Proxy a -> Int#)
-> (a -> Int#)
-> (ByteArray# -> Int# -> a)
-> (forall s.
MutableByteArray# s -> Int# -> State# s -> (# State# s, a #))
-> (forall s.
MutableByteArray# s -> Int# -> a -> State# s -> State# s)
-> (forall s.
MutableByteArray# s -> Int# -> Int# -> a -> State# s -> State# s)
-> (Addr# -> Int# -> a)
-> (forall s. Addr# -> Int# -> State# s -> (# State# s, a #))
-> (forall s. Addr# -> Int# -> a -> State# s -> State# s)
-> (forall s. Addr# -> Int# -> Int# -> a -> State# s -> State# s)
-> Prim a
$csizeOfType# :: Proxy SDL_DisplayID -> Int#
sizeOfType# :: Proxy SDL_DisplayID -> Int#
$csizeOf# :: SDL_DisplayID -> Int#
sizeOf# :: SDL_DisplayID -> Int#
$calignmentOfType# :: Proxy SDL_DisplayID -> Int#
alignmentOfType# :: Proxy SDL_DisplayID -> Int#
$calignment# :: SDL_DisplayID -> Int#
alignment# :: SDL_DisplayID -> Int#
$cindexByteArray# :: ByteArray# -> Int# -> SDL_DisplayID
indexByteArray# :: ByteArray# -> Int# -> SDL_DisplayID
$creadByteArray# :: forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_DisplayID #)
readByteArray# :: forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_DisplayID #)
$cwriteByteArray# :: forall s.
MutableByteArray# s
-> Int# -> SDL_DisplayID -> State# s -> State# s
writeByteArray# :: forall s.
MutableByteArray# s
-> Int# -> SDL_DisplayID -> State# s -> State# s
$csetByteArray# :: forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_DisplayID -> State# s -> State# s
setByteArray# :: forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_DisplayID -> State# s -> State# s
$cindexOffAddr# :: Addr# -> Int# -> SDL_DisplayID
indexOffAddr# :: Addr# -> Int# -> SDL_DisplayID
$creadOffAddr# :: forall s.
Addr# -> Int# -> State# s -> (# State# s, SDL_DisplayID #)
readOffAddr# :: forall s.
Addr# -> Int# -> State# s -> (# State# s, SDL_DisplayID #)
$cwriteOffAddr# :: forall s. Addr# -> Int# -> SDL_DisplayID -> State# s -> State# s
writeOffAddr# :: forall s. Addr# -> Int# -> SDL_DisplayID -> State# s -> State# s
$csetOffAddr# :: forall s.
Addr# -> Int# -> Int# -> SDL_DisplayID -> State# s -> State# s
setOffAddr# :: forall s.
Addr# -> Int# -> Int# -> SDL_DisplayID -> State# s -> State# s
BG.Prim
, Ptr SDL_DisplayID -> IO SDL_DisplayID
Ptr SDL_DisplayID -> Int -> IO SDL_DisplayID
Ptr SDL_DisplayID -> Int -> SDL_DisplayID -> IO ()
Ptr SDL_DisplayID -> SDL_DisplayID -> IO ()
SDL_DisplayID -> Int
(SDL_DisplayID -> Int)
-> (SDL_DisplayID -> Int)
-> (Ptr SDL_DisplayID -> Int -> IO SDL_DisplayID)
-> (Ptr SDL_DisplayID -> Int -> SDL_DisplayID -> IO ())
-> (forall b. Ptr b -> Int -> IO SDL_DisplayID)
-> (forall b. Ptr b -> Int -> SDL_DisplayID -> IO ())
-> (Ptr SDL_DisplayID -> IO SDL_DisplayID)
-> (Ptr SDL_DisplayID -> SDL_DisplayID -> IO ())
-> Storable SDL_DisplayID
forall b. Ptr b -> Int -> IO SDL_DisplayID
forall b. Ptr b -> Int -> SDL_DisplayID -> IO ()
forall a.
(a -> Int)
-> (a -> Int)
-> (Ptr a -> Int -> IO a)
-> (Ptr a -> Int -> a -> IO ())
-> (forall b. Ptr b -> Int -> IO a)
-> (forall b. Ptr b -> Int -> a -> IO ())
-> (Ptr a -> IO a)
-> (Ptr a -> a -> IO ())
-> Storable a
$csizeOf :: SDL_DisplayID -> Int
sizeOf :: SDL_DisplayID -> Int
$calignment :: SDL_DisplayID -> Int
alignment :: SDL_DisplayID -> Int
$cpeekElemOff :: Ptr SDL_DisplayID -> Int -> IO SDL_DisplayID
peekElemOff :: Ptr SDL_DisplayID -> Int -> IO SDL_DisplayID
$cpokeElemOff :: Ptr SDL_DisplayID -> Int -> SDL_DisplayID -> IO ()
pokeElemOff :: Ptr SDL_DisplayID -> Int -> SDL_DisplayID -> IO ()
$cpeekByteOff :: forall b. Ptr b -> Int -> IO SDL_DisplayID
peekByteOff :: forall b. Ptr b -> Int -> IO SDL_DisplayID
$cpokeByteOff :: forall b. Ptr b -> Int -> SDL_DisplayID -> IO ()
pokeByteOff :: forall b. Ptr b -> Int -> SDL_DisplayID -> IO ()
$cpeek :: Ptr SDL_DisplayID -> IO SDL_DisplayID
peek :: Ptr SDL_DisplayID -> IO SDL_DisplayID
$cpoke :: Ptr SDL_DisplayID -> SDL_DisplayID -> IO ()
poke :: Ptr SDL_DisplayID -> SDL_DisplayID -> IO ()
BG.Storable
, SDL_DisplayID
SDL_DisplayID -> SDL_DisplayID -> Bounded SDL_DisplayID
forall a. a -> a -> Bounded a
$cminBound :: SDL_DisplayID
minBound :: SDL_DisplayID
$cmaxBound :: SDL_DisplayID
maxBound :: SDL_DisplayID
Bounded
, Int -> SDL_DisplayID
SDL_DisplayID -> Int
SDL_DisplayID -> [SDL_DisplayID]
SDL_DisplayID -> SDL_DisplayID
SDL_DisplayID -> SDL_DisplayID -> [SDL_DisplayID]
SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID -> [SDL_DisplayID]
(SDL_DisplayID -> SDL_DisplayID)
-> (SDL_DisplayID -> SDL_DisplayID)
-> (Int -> SDL_DisplayID)
-> (SDL_DisplayID -> Int)
-> (SDL_DisplayID -> [SDL_DisplayID])
-> (SDL_DisplayID -> SDL_DisplayID -> [SDL_DisplayID])
-> (SDL_DisplayID -> SDL_DisplayID -> [SDL_DisplayID])
-> (SDL_DisplayID
-> SDL_DisplayID -> SDL_DisplayID -> [SDL_DisplayID])
-> Enum SDL_DisplayID
forall a.
(a -> a)
-> (a -> a)
-> (Int -> a)
-> (a -> Int)
-> (a -> [a])
-> (a -> a -> [a])
-> (a -> a -> [a])
-> (a -> a -> a -> [a])
-> Enum a
$csucc :: SDL_DisplayID -> SDL_DisplayID
succ :: SDL_DisplayID -> SDL_DisplayID
$cpred :: SDL_DisplayID -> SDL_DisplayID
pred :: SDL_DisplayID -> SDL_DisplayID
$ctoEnum :: Int -> SDL_DisplayID
toEnum :: Int -> SDL_DisplayID
$cfromEnum :: SDL_DisplayID -> Int
fromEnum :: SDL_DisplayID -> Int
$cenumFrom :: SDL_DisplayID -> [SDL_DisplayID]
enumFrom :: SDL_DisplayID -> [SDL_DisplayID]
$cenumFromThen :: SDL_DisplayID -> SDL_DisplayID -> [SDL_DisplayID]
enumFromThen :: SDL_DisplayID -> SDL_DisplayID -> [SDL_DisplayID]
$cenumFromTo :: SDL_DisplayID -> SDL_DisplayID -> [SDL_DisplayID]
enumFromTo :: SDL_DisplayID -> SDL_DisplayID -> [SDL_DisplayID]
$cenumFromThenTo :: SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID -> [SDL_DisplayID]
enumFromThenTo :: SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID -> [SDL_DisplayID]
Enum
, Enum SDL_DisplayID
Real SDL_DisplayID
(Real SDL_DisplayID, Enum SDL_DisplayID) =>
(SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID)
-> (SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID)
-> (SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID)
-> (SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID)
-> (SDL_DisplayID
-> SDL_DisplayID -> (SDL_DisplayID, SDL_DisplayID))
-> (SDL_DisplayID
-> SDL_DisplayID -> (SDL_DisplayID, SDL_DisplayID))
-> (SDL_DisplayID -> Integer)
-> Integral SDL_DisplayID
SDL_DisplayID -> Integer
SDL_DisplayID -> SDL_DisplayID -> (SDL_DisplayID, SDL_DisplayID)
SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID
forall a.
(Real a, Enum a) =>
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> (a, a))
-> (a -> a -> (a, a))
-> (a -> Integer)
-> Integral a
$cquot :: SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID
quot :: SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID
$crem :: SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID
rem :: SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID
$cdiv :: SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID
div :: SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID
$cmod :: SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID
mod :: SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID
$cquotRem :: SDL_DisplayID -> SDL_DisplayID -> (SDL_DisplayID, SDL_DisplayID)
quotRem :: SDL_DisplayID -> SDL_DisplayID -> (SDL_DisplayID, SDL_DisplayID)
$cdivMod :: SDL_DisplayID -> SDL_DisplayID -> (SDL_DisplayID, SDL_DisplayID)
divMod :: SDL_DisplayID -> SDL_DisplayID -> (SDL_DisplayID, SDL_DisplayID)
$ctoInteger :: SDL_DisplayID -> Integer
toInteger :: SDL_DisplayID -> Integer
Integral
, Ptr SDL_DisplayID -> IO SDL_DisplayID
(Ptr SDL_DisplayID -> IO SDL_DisplayID) -> ReadRaw SDL_DisplayID
forall a. (Ptr a -> IO a) -> ReadRaw a
$creadRaw :: Ptr SDL_DisplayID -> IO SDL_DisplayID
readRaw :: Ptr SDL_DisplayID -> IO SDL_DisplayID
Marshal.ReadRaw
, Proxy SDL_DisplayID -> Int
(Proxy SDL_DisplayID -> Int)
-> (Proxy SDL_DisplayID -> Int) -> StaticSize SDL_DisplayID
forall a. (Proxy a -> Int) -> (Proxy a -> Int) -> StaticSize a
$cstaticSizeOf :: Proxy SDL_DisplayID -> Int
staticSizeOf :: Proxy SDL_DisplayID -> Int
$cstaticAlignment :: Proxy SDL_DisplayID -> Int
staticAlignment :: Proxy SDL_DisplayID -> Int
Marshal.StaticSize
, Ptr SDL_DisplayID -> SDL_DisplayID -> IO ()
(Ptr SDL_DisplayID -> SDL_DisplayID -> IO ())
-> WriteRaw SDL_DisplayID
forall a. (Ptr a -> a -> IO ()) -> WriteRaw a
$cwriteRaw :: Ptr SDL_DisplayID -> SDL_DisplayID -> IO ()
writeRaw :: Ptr SDL_DisplayID -> SDL_DisplayID -> IO ()
Marshal.WriteRaw
, Integer -> SDL_DisplayID
SDL_DisplayID -> SDL_DisplayID
SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID
(SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID)
-> (SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID)
-> (SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID)
-> (SDL_DisplayID -> SDL_DisplayID)
-> (SDL_DisplayID -> SDL_DisplayID)
-> (SDL_DisplayID -> SDL_DisplayID)
-> (Integer -> SDL_DisplayID)
-> Num SDL_DisplayID
forall a.
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a)
-> (a -> a)
-> (a -> a)
-> (Integer -> a)
-> Num a
$c+ :: SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID
+ :: SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID
$c- :: SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID
- :: SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID
$c* :: SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID
* :: SDL_DisplayID -> SDL_DisplayID -> SDL_DisplayID
$cnegate :: SDL_DisplayID -> SDL_DisplayID
negate :: SDL_DisplayID -> SDL_DisplayID
$cabs :: SDL_DisplayID -> SDL_DisplayID
abs :: SDL_DisplayID -> SDL_DisplayID
$csignum :: SDL_DisplayID -> SDL_DisplayID
signum :: SDL_DisplayID -> SDL_DisplayID
$cfromInteger :: Integer -> SDL_DisplayID
fromInteger :: Integer -> SDL_DisplayID
Num
, Num SDL_DisplayID
Ord SDL_DisplayID
(Num SDL_DisplayID, Ord SDL_DisplayID) =>
(SDL_DisplayID -> Rational) -> Real SDL_DisplayID
SDL_DisplayID -> Rational
forall a. (Num a, Ord a) => (a -> Rational) -> Real a
$ctoRational :: SDL_DisplayID -> Rational
toRational :: SDL_DisplayID -> Rational
Real
)
instance
(ty ~ SDL3.Sys.Bindgen.Stdinc.Uint32)
=> BG.CompatHasField.HasField "unwrap" SDL_DisplayID ty
where
hasField :: SDL_DisplayID -> (ty -> SDL_DisplayID, ty)
hasField =
\SDL_DisplayID
x0 ->
( \ty
y1 ->
SDL_DisplayID{unwrap :: Uint32
unwrap = ty
Uint32
y1}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_DisplayID
x0
)
instance
(ty ~ SDL3.Sys.Bindgen.Stdinc.Uint32)
=> BG.HasField "unwrap" (BG.Ptr SDL_DisplayID) (BG.Ptr ty)
where
getField :: Ptr SDL_DisplayID -> Ptr ty
getField = Proxy "unwrap"
-> Ptr SDL_DisplayID -> Ptr (CFieldType SDL_DisplayID "unwrap")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"unwrap")
instance HasCField.HasCField SDL_DisplayID "unwrap" where
type
CFieldType SDL_DisplayID "unwrap" =
SDL3.Sys.Bindgen.Stdinc.Uint32
offset# :: Proxy# SDL_DisplayID -> Proxy# "unwrap" -> Int
offset# = \Proxy# SDL_DisplayID
_ -> \Proxy# "unwrap"
_ -> Int
0
newtype SDL_WindowID = SDL_WindowID
{ SDL_WindowID -> Uint32
unwrap :: SDL3.Sys.Bindgen.Stdinc.Uint32
}
deriving stock ((forall x. SDL_WindowID -> Rep SDL_WindowID x)
-> (forall x. Rep SDL_WindowID x -> SDL_WindowID)
-> Generic SDL_WindowID
forall x. Rep SDL_WindowID x -> SDL_WindowID
forall x. SDL_WindowID -> Rep SDL_WindowID x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. SDL_WindowID -> Rep SDL_WindowID x
from :: forall x. SDL_WindowID -> Rep SDL_WindowID x
$cto :: forall x. Rep SDL_WindowID x -> SDL_WindowID
to :: forall x. Rep SDL_WindowID x -> SDL_WindowID
BG.Generic, SDL_WindowID -> SDL_WindowID -> Bool
(SDL_WindowID -> SDL_WindowID -> Bool)
-> (SDL_WindowID -> SDL_WindowID -> Bool) -> Eq SDL_WindowID
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SDL_WindowID -> SDL_WindowID -> Bool
== :: SDL_WindowID -> SDL_WindowID -> Bool
$c/= :: SDL_WindowID -> SDL_WindowID -> Bool
/= :: SDL_WindowID -> SDL_WindowID -> Bool
Eq, Eq SDL_WindowID
Eq SDL_WindowID =>
(SDL_WindowID -> SDL_WindowID -> Ordering)
-> (SDL_WindowID -> SDL_WindowID -> Bool)
-> (SDL_WindowID -> SDL_WindowID -> Bool)
-> (SDL_WindowID -> SDL_WindowID -> Bool)
-> (SDL_WindowID -> SDL_WindowID -> Bool)
-> (SDL_WindowID -> SDL_WindowID -> SDL_WindowID)
-> (SDL_WindowID -> SDL_WindowID -> SDL_WindowID)
-> Ord SDL_WindowID
SDL_WindowID -> SDL_WindowID -> Bool
SDL_WindowID -> SDL_WindowID -> Ordering
SDL_WindowID -> SDL_WindowID -> SDL_WindowID
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: SDL_WindowID -> SDL_WindowID -> Ordering
compare :: SDL_WindowID -> SDL_WindowID -> Ordering
$c< :: SDL_WindowID -> SDL_WindowID -> Bool
< :: SDL_WindowID -> SDL_WindowID -> Bool
$c<= :: SDL_WindowID -> SDL_WindowID -> Bool
<= :: SDL_WindowID -> SDL_WindowID -> Bool
$c> :: SDL_WindowID -> SDL_WindowID -> Bool
> :: SDL_WindowID -> SDL_WindowID -> Bool
$c>= :: SDL_WindowID -> SDL_WindowID -> Bool
>= :: SDL_WindowID -> SDL_WindowID -> Bool
$cmax :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID
max :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID
$cmin :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID
min :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID
Ord, ReadPrec [SDL_WindowID]
ReadPrec SDL_WindowID
Int -> ReadS SDL_WindowID
ReadS [SDL_WindowID]
(Int -> ReadS SDL_WindowID)
-> ReadS [SDL_WindowID]
-> ReadPrec SDL_WindowID
-> ReadPrec [SDL_WindowID]
-> Read SDL_WindowID
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
$creadsPrec :: Int -> ReadS SDL_WindowID
readsPrec :: Int -> ReadS SDL_WindowID
$creadList :: ReadS [SDL_WindowID]
readList :: ReadS [SDL_WindowID]
$creadPrec :: ReadPrec SDL_WindowID
readPrec :: ReadPrec SDL_WindowID
$creadListPrec :: ReadPrec [SDL_WindowID]
readListPrec :: ReadPrec [SDL_WindowID]
Read, Int -> SDL_WindowID -> ShowS
[SDL_WindowID] -> ShowS
SDL_WindowID -> String
(Int -> SDL_WindowID -> ShowS)
-> (SDL_WindowID -> String)
-> ([SDL_WindowID] -> ShowS)
-> Show SDL_WindowID
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SDL_WindowID -> ShowS
showsPrec :: Int -> SDL_WindowID -> ShowS
$cshow :: SDL_WindowID -> String
show :: SDL_WindowID -> String
$cshowList :: [SDL_WindowID] -> ShowS
showList :: [SDL_WindowID] -> ShowS
Show)
deriving newtype
( Word64 -> Int -> SDL_WindowID
SDL_WindowID -> Int -> Word64
(SDL_WindowID -> Int -> Word64)
-> (Word64 -> Int -> SDL_WindowID) -> Bitfield SDL_WindowID
forall a.
(a -> Int -> Word64) -> (Word64 -> Int -> a) -> Bitfield a
$cnarrow :: SDL_WindowID -> Int -> Word64
narrow :: SDL_WindowID -> Int -> Word64
$cextend :: Word64 -> Int -> SDL_WindowID
extend :: Word64 -> Int -> SDL_WindowID
BG.Bitfield
, Eq SDL_WindowID
SDL_WindowID
Eq SDL_WindowID =>
(SDL_WindowID -> SDL_WindowID -> SDL_WindowID)
-> (SDL_WindowID -> SDL_WindowID -> SDL_WindowID)
-> (SDL_WindowID -> SDL_WindowID -> SDL_WindowID)
-> (SDL_WindowID -> SDL_WindowID)
-> (SDL_WindowID -> Int -> SDL_WindowID)
-> (SDL_WindowID -> Int -> SDL_WindowID)
-> SDL_WindowID
-> (Int -> SDL_WindowID)
-> (SDL_WindowID -> Int -> SDL_WindowID)
-> (SDL_WindowID -> Int -> SDL_WindowID)
-> (SDL_WindowID -> Int -> SDL_WindowID)
-> (SDL_WindowID -> Int -> Bool)
-> (SDL_WindowID -> Maybe Int)
-> (SDL_WindowID -> Int)
-> (SDL_WindowID -> Bool)
-> (SDL_WindowID -> Int -> SDL_WindowID)
-> (SDL_WindowID -> Int -> SDL_WindowID)
-> (SDL_WindowID -> Int -> SDL_WindowID)
-> (SDL_WindowID -> Int -> SDL_WindowID)
-> (SDL_WindowID -> Int -> SDL_WindowID)
-> (SDL_WindowID -> Int -> SDL_WindowID)
-> (SDL_WindowID -> Int)
-> Bits SDL_WindowID
Int -> SDL_WindowID
SDL_WindowID -> Bool
SDL_WindowID -> Int
SDL_WindowID -> Maybe Int
SDL_WindowID -> SDL_WindowID
SDL_WindowID -> Int -> Bool
SDL_WindowID -> Int -> SDL_WindowID
SDL_WindowID -> SDL_WindowID -> SDL_WindowID
forall a.
Eq a =>
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> a
-> (Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> Bool)
-> (a -> Maybe Int)
-> (a -> Int)
-> (a -> Bool)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int)
-> Bits a
$c.&. :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID
.&. :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID
$c.|. :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID
.|. :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID
$cxor :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID
xor :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID
$ccomplement :: SDL_WindowID -> SDL_WindowID
complement :: SDL_WindowID -> SDL_WindowID
$cshift :: SDL_WindowID -> Int -> SDL_WindowID
shift :: SDL_WindowID -> Int -> SDL_WindowID
$crotate :: SDL_WindowID -> Int -> SDL_WindowID
rotate :: SDL_WindowID -> Int -> SDL_WindowID
$czeroBits :: SDL_WindowID
zeroBits :: SDL_WindowID
$cbit :: Int -> SDL_WindowID
bit :: Int -> SDL_WindowID
$csetBit :: SDL_WindowID -> Int -> SDL_WindowID
setBit :: SDL_WindowID -> Int -> SDL_WindowID
$cclearBit :: SDL_WindowID -> Int -> SDL_WindowID
clearBit :: SDL_WindowID -> Int -> SDL_WindowID
$ccomplementBit :: SDL_WindowID -> Int -> SDL_WindowID
complementBit :: SDL_WindowID -> Int -> SDL_WindowID
$ctestBit :: SDL_WindowID -> Int -> Bool
testBit :: SDL_WindowID -> Int -> Bool
$cbitSizeMaybe :: SDL_WindowID -> Maybe Int
bitSizeMaybe :: SDL_WindowID -> Maybe Int
$cbitSize :: SDL_WindowID -> Int
bitSize :: SDL_WindowID -> Int
$cisSigned :: SDL_WindowID -> Bool
isSigned :: SDL_WindowID -> Bool
$cshiftL :: SDL_WindowID -> Int -> SDL_WindowID
shiftL :: SDL_WindowID -> Int -> SDL_WindowID
$cunsafeShiftL :: SDL_WindowID -> Int -> SDL_WindowID
unsafeShiftL :: SDL_WindowID -> Int -> SDL_WindowID
$cshiftR :: SDL_WindowID -> Int -> SDL_WindowID
shiftR :: SDL_WindowID -> Int -> SDL_WindowID
$cunsafeShiftR :: SDL_WindowID -> Int -> SDL_WindowID
unsafeShiftR :: SDL_WindowID -> Int -> SDL_WindowID
$crotateL :: SDL_WindowID -> Int -> SDL_WindowID
rotateL :: SDL_WindowID -> Int -> SDL_WindowID
$crotateR :: SDL_WindowID -> Int -> SDL_WindowID
rotateR :: SDL_WindowID -> Int -> SDL_WindowID
$cpopCount :: SDL_WindowID -> Int
popCount :: SDL_WindowID -> Int
BG.Bits
, Bits SDL_WindowID
Bits SDL_WindowID =>
(SDL_WindowID -> Int)
-> (SDL_WindowID -> Int)
-> (SDL_WindowID -> Int)
-> FiniteBits SDL_WindowID
SDL_WindowID -> Int
forall b.
Bits b =>
(b -> Int) -> (b -> Int) -> (b -> Int) -> FiniteBits b
$cfiniteBitSize :: SDL_WindowID -> Int
finiteBitSize :: SDL_WindowID -> Int
$ccountLeadingZeros :: SDL_WindowID -> Int
countLeadingZeros :: SDL_WindowID -> Int
$ccountTrailingZeros :: SDL_WindowID -> Int
countTrailingZeros :: SDL_WindowID -> Int
BG.FiniteBits
, FFIType SDL_WindowID -> SDL_WindowID
SDL_WindowID -> FFIType SDL_WindowID
(SDL_WindowID -> FFIType SDL_WindowID)
-> (FFIType SDL_WindowID -> SDL_WindowID)
-> HasFFIType SDL_WindowID
forall a. (a -> FFIType a) -> (FFIType a -> a) -> HasFFIType a
$ctoFFIType :: SDL_WindowID -> FFIType SDL_WindowID
toFFIType :: SDL_WindowID -> FFIType SDL_WindowID
$cfromFFIType :: FFIType SDL_WindowID -> SDL_WindowID
fromFFIType :: FFIType SDL_WindowID -> SDL_WindowID
BG.HasFFIType
, Ord SDL_WindowID
Ord SDL_WindowID =>
((SDL_WindowID, SDL_WindowID) -> [SDL_WindowID])
-> ((SDL_WindowID, SDL_WindowID) -> SDL_WindowID -> Int)
-> ((SDL_WindowID, SDL_WindowID) -> SDL_WindowID -> Int)
-> ((SDL_WindowID, SDL_WindowID) -> SDL_WindowID -> Bool)
-> ((SDL_WindowID, SDL_WindowID) -> Int)
-> ((SDL_WindowID, SDL_WindowID) -> Int)
-> Ix SDL_WindowID
(SDL_WindowID, SDL_WindowID) -> Int
(SDL_WindowID, SDL_WindowID) -> [SDL_WindowID]
(SDL_WindowID, SDL_WindowID) -> SDL_WindowID -> Bool
(SDL_WindowID, SDL_WindowID) -> SDL_WindowID -> Int
forall a.
Ord a =>
((a, a) -> [a])
-> ((a, a) -> a -> Int)
-> ((a, a) -> a -> Int)
-> ((a, a) -> a -> Bool)
-> ((a, a) -> Int)
-> ((a, a) -> Int)
-> Ix a
$crange :: (SDL_WindowID, SDL_WindowID) -> [SDL_WindowID]
range :: (SDL_WindowID, SDL_WindowID) -> [SDL_WindowID]
$cindex :: (SDL_WindowID, SDL_WindowID) -> SDL_WindowID -> Int
index :: (SDL_WindowID, SDL_WindowID) -> SDL_WindowID -> Int
$cunsafeIndex :: (SDL_WindowID, SDL_WindowID) -> SDL_WindowID -> Int
unsafeIndex :: (SDL_WindowID, SDL_WindowID) -> SDL_WindowID -> Int
$cinRange :: (SDL_WindowID, SDL_WindowID) -> SDL_WindowID -> Bool
inRange :: (SDL_WindowID, SDL_WindowID) -> SDL_WindowID -> Bool
$crangeSize :: (SDL_WindowID, SDL_WindowID) -> Int
rangeSize :: (SDL_WindowID, SDL_WindowID) -> Int
$cunsafeRangeSize :: (SDL_WindowID, SDL_WindowID) -> Int
unsafeRangeSize :: (SDL_WindowID, SDL_WindowID) -> Int
BG.Ix
, Addr# -> Int# -> SDL_WindowID
ByteArray# -> Int# -> SDL_WindowID
Proxy SDL_WindowID -> Int#
SDL_WindowID -> Int#
(Proxy SDL_WindowID -> Int#)
-> (SDL_WindowID -> Int#)
-> (Proxy SDL_WindowID -> Int#)
-> (SDL_WindowID -> Int#)
-> (ByteArray# -> Int# -> SDL_WindowID)
-> (forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_WindowID #))
-> (forall s.
MutableByteArray# s
-> Int# -> SDL_WindowID -> State# s -> State# s)
-> (forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_WindowID -> State# s -> State# s)
-> (Addr# -> Int# -> SDL_WindowID)
-> (forall s.
Addr# -> Int# -> State# s -> (# State# s, SDL_WindowID #))
-> (forall s.
Addr# -> Int# -> SDL_WindowID -> State# s -> State# s)
-> (forall s.
Addr# -> Int# -> Int# -> SDL_WindowID -> State# s -> State# s)
-> Prim SDL_WindowID
forall s.
Addr# -> Int# -> Int# -> SDL_WindowID -> State# s -> State# s
forall s. Addr# -> Int# -> State# s -> (# State# s, SDL_WindowID #)
forall s. Addr# -> Int# -> SDL_WindowID -> State# s -> State# s
forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_WindowID -> State# s -> State# s
forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_WindowID #)
forall s.
MutableByteArray# s -> Int# -> SDL_WindowID -> State# s -> State# s
forall a.
(Proxy a -> Int#)
-> (a -> Int#)
-> (Proxy a -> Int#)
-> (a -> Int#)
-> (ByteArray# -> Int# -> a)
-> (forall s.
MutableByteArray# s -> Int# -> State# s -> (# State# s, a #))
-> (forall s.
MutableByteArray# s -> Int# -> a -> State# s -> State# s)
-> (forall s.
MutableByteArray# s -> Int# -> Int# -> a -> State# s -> State# s)
-> (Addr# -> Int# -> a)
-> (forall s. Addr# -> Int# -> State# s -> (# State# s, a #))
-> (forall s. Addr# -> Int# -> a -> State# s -> State# s)
-> (forall s. Addr# -> Int# -> Int# -> a -> State# s -> State# s)
-> Prim a
$csizeOfType# :: Proxy SDL_WindowID -> Int#
sizeOfType# :: Proxy SDL_WindowID -> Int#
$csizeOf# :: SDL_WindowID -> Int#
sizeOf# :: SDL_WindowID -> Int#
$calignmentOfType# :: Proxy SDL_WindowID -> Int#
alignmentOfType# :: Proxy SDL_WindowID -> Int#
$calignment# :: SDL_WindowID -> Int#
alignment# :: SDL_WindowID -> Int#
$cindexByteArray# :: ByteArray# -> Int# -> SDL_WindowID
indexByteArray# :: ByteArray# -> Int# -> SDL_WindowID
$creadByteArray# :: forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_WindowID #)
readByteArray# :: forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_WindowID #)
$cwriteByteArray# :: forall s.
MutableByteArray# s -> Int# -> SDL_WindowID -> State# s -> State# s
writeByteArray# :: forall s.
MutableByteArray# s -> Int# -> SDL_WindowID -> State# s -> State# s
$csetByteArray# :: forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_WindowID -> State# s -> State# s
setByteArray# :: forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_WindowID -> State# s -> State# s
$cindexOffAddr# :: Addr# -> Int# -> SDL_WindowID
indexOffAddr# :: Addr# -> Int# -> SDL_WindowID
$creadOffAddr# :: forall s. Addr# -> Int# -> State# s -> (# State# s, SDL_WindowID #)
readOffAddr# :: forall s. Addr# -> Int# -> State# s -> (# State# s, SDL_WindowID #)
$cwriteOffAddr# :: forall s. Addr# -> Int# -> SDL_WindowID -> State# s -> State# s
writeOffAddr# :: forall s. Addr# -> Int# -> SDL_WindowID -> State# s -> State# s
$csetOffAddr# :: forall s.
Addr# -> Int# -> Int# -> SDL_WindowID -> State# s -> State# s
setOffAddr# :: forall s.
Addr# -> Int# -> Int# -> SDL_WindowID -> State# s -> State# s
BG.Prim
, Ptr SDL_WindowID -> IO SDL_WindowID
Ptr SDL_WindowID -> Int -> IO SDL_WindowID
Ptr SDL_WindowID -> Int -> SDL_WindowID -> IO ()
Ptr SDL_WindowID -> SDL_WindowID -> IO ()
SDL_WindowID -> Int
(SDL_WindowID -> Int)
-> (SDL_WindowID -> Int)
-> (Ptr SDL_WindowID -> Int -> IO SDL_WindowID)
-> (Ptr SDL_WindowID -> Int -> SDL_WindowID -> IO ())
-> (forall b. Ptr b -> Int -> IO SDL_WindowID)
-> (forall b. Ptr b -> Int -> SDL_WindowID -> IO ())
-> (Ptr SDL_WindowID -> IO SDL_WindowID)
-> (Ptr SDL_WindowID -> SDL_WindowID -> IO ())
-> Storable SDL_WindowID
forall b. Ptr b -> Int -> IO SDL_WindowID
forall b. Ptr b -> Int -> SDL_WindowID -> IO ()
forall a.
(a -> Int)
-> (a -> Int)
-> (Ptr a -> Int -> IO a)
-> (Ptr a -> Int -> a -> IO ())
-> (forall b. Ptr b -> Int -> IO a)
-> (forall b. Ptr b -> Int -> a -> IO ())
-> (Ptr a -> IO a)
-> (Ptr a -> a -> IO ())
-> Storable a
$csizeOf :: SDL_WindowID -> Int
sizeOf :: SDL_WindowID -> Int
$calignment :: SDL_WindowID -> Int
alignment :: SDL_WindowID -> Int
$cpeekElemOff :: Ptr SDL_WindowID -> Int -> IO SDL_WindowID
peekElemOff :: Ptr SDL_WindowID -> Int -> IO SDL_WindowID
$cpokeElemOff :: Ptr SDL_WindowID -> Int -> SDL_WindowID -> IO ()
pokeElemOff :: Ptr SDL_WindowID -> Int -> SDL_WindowID -> IO ()
$cpeekByteOff :: forall b. Ptr b -> Int -> IO SDL_WindowID
peekByteOff :: forall b. Ptr b -> Int -> IO SDL_WindowID
$cpokeByteOff :: forall b. Ptr b -> Int -> SDL_WindowID -> IO ()
pokeByteOff :: forall b. Ptr b -> Int -> SDL_WindowID -> IO ()
$cpeek :: Ptr SDL_WindowID -> IO SDL_WindowID
peek :: Ptr SDL_WindowID -> IO SDL_WindowID
$cpoke :: Ptr SDL_WindowID -> SDL_WindowID -> IO ()
poke :: Ptr SDL_WindowID -> SDL_WindowID -> IO ()
BG.Storable
, SDL_WindowID
SDL_WindowID -> SDL_WindowID -> Bounded SDL_WindowID
forall a. a -> a -> Bounded a
$cminBound :: SDL_WindowID
minBound :: SDL_WindowID
$cmaxBound :: SDL_WindowID
maxBound :: SDL_WindowID
Bounded
, Int -> SDL_WindowID
SDL_WindowID -> Int
SDL_WindowID -> [SDL_WindowID]
SDL_WindowID -> SDL_WindowID
SDL_WindowID -> SDL_WindowID -> [SDL_WindowID]
SDL_WindowID -> SDL_WindowID -> SDL_WindowID -> [SDL_WindowID]
(SDL_WindowID -> SDL_WindowID)
-> (SDL_WindowID -> SDL_WindowID)
-> (Int -> SDL_WindowID)
-> (SDL_WindowID -> Int)
-> (SDL_WindowID -> [SDL_WindowID])
-> (SDL_WindowID -> SDL_WindowID -> [SDL_WindowID])
-> (SDL_WindowID -> SDL_WindowID -> [SDL_WindowID])
-> (SDL_WindowID -> SDL_WindowID -> SDL_WindowID -> [SDL_WindowID])
-> Enum SDL_WindowID
forall a.
(a -> a)
-> (a -> a)
-> (Int -> a)
-> (a -> Int)
-> (a -> [a])
-> (a -> a -> [a])
-> (a -> a -> [a])
-> (a -> a -> a -> [a])
-> Enum a
$csucc :: SDL_WindowID -> SDL_WindowID
succ :: SDL_WindowID -> SDL_WindowID
$cpred :: SDL_WindowID -> SDL_WindowID
pred :: SDL_WindowID -> SDL_WindowID
$ctoEnum :: Int -> SDL_WindowID
toEnum :: Int -> SDL_WindowID
$cfromEnum :: SDL_WindowID -> Int
fromEnum :: SDL_WindowID -> Int
$cenumFrom :: SDL_WindowID -> [SDL_WindowID]
enumFrom :: SDL_WindowID -> [SDL_WindowID]
$cenumFromThen :: SDL_WindowID -> SDL_WindowID -> [SDL_WindowID]
enumFromThen :: SDL_WindowID -> SDL_WindowID -> [SDL_WindowID]
$cenumFromTo :: SDL_WindowID -> SDL_WindowID -> [SDL_WindowID]
enumFromTo :: SDL_WindowID -> SDL_WindowID -> [SDL_WindowID]
$cenumFromThenTo :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID -> [SDL_WindowID]
enumFromThenTo :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID -> [SDL_WindowID]
Enum
, Enum SDL_WindowID
Real SDL_WindowID
(Real SDL_WindowID, Enum SDL_WindowID) =>
(SDL_WindowID -> SDL_WindowID -> SDL_WindowID)
-> (SDL_WindowID -> SDL_WindowID -> SDL_WindowID)
-> (SDL_WindowID -> SDL_WindowID -> SDL_WindowID)
-> (SDL_WindowID -> SDL_WindowID -> SDL_WindowID)
-> (SDL_WindowID -> SDL_WindowID -> (SDL_WindowID, SDL_WindowID))
-> (SDL_WindowID -> SDL_WindowID -> (SDL_WindowID, SDL_WindowID))
-> (SDL_WindowID -> Integer)
-> Integral SDL_WindowID
SDL_WindowID -> Integer
SDL_WindowID -> SDL_WindowID -> (SDL_WindowID, SDL_WindowID)
SDL_WindowID -> SDL_WindowID -> SDL_WindowID
forall a.
(Real a, Enum a) =>
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> (a, a))
-> (a -> a -> (a, a))
-> (a -> Integer)
-> Integral a
$cquot :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID
quot :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID
$crem :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID
rem :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID
$cdiv :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID
div :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID
$cmod :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID
mod :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID
$cquotRem :: SDL_WindowID -> SDL_WindowID -> (SDL_WindowID, SDL_WindowID)
quotRem :: SDL_WindowID -> SDL_WindowID -> (SDL_WindowID, SDL_WindowID)
$cdivMod :: SDL_WindowID -> SDL_WindowID -> (SDL_WindowID, SDL_WindowID)
divMod :: SDL_WindowID -> SDL_WindowID -> (SDL_WindowID, SDL_WindowID)
$ctoInteger :: SDL_WindowID -> Integer
toInteger :: SDL_WindowID -> Integer
Integral
, Ptr SDL_WindowID -> IO SDL_WindowID
(Ptr SDL_WindowID -> IO SDL_WindowID) -> ReadRaw SDL_WindowID
forall a. (Ptr a -> IO a) -> ReadRaw a
$creadRaw :: Ptr SDL_WindowID -> IO SDL_WindowID
readRaw :: Ptr SDL_WindowID -> IO SDL_WindowID
Marshal.ReadRaw
, Proxy SDL_WindowID -> Int
(Proxy SDL_WindowID -> Int)
-> (Proxy SDL_WindowID -> Int) -> StaticSize SDL_WindowID
forall a. (Proxy a -> Int) -> (Proxy a -> Int) -> StaticSize a
$cstaticSizeOf :: Proxy SDL_WindowID -> Int
staticSizeOf :: Proxy SDL_WindowID -> Int
$cstaticAlignment :: Proxy SDL_WindowID -> Int
staticAlignment :: Proxy SDL_WindowID -> Int
Marshal.StaticSize
, Ptr SDL_WindowID -> SDL_WindowID -> IO ()
(Ptr SDL_WindowID -> SDL_WindowID -> IO ())
-> WriteRaw SDL_WindowID
forall a. (Ptr a -> a -> IO ()) -> WriteRaw a
$cwriteRaw :: Ptr SDL_WindowID -> SDL_WindowID -> IO ()
writeRaw :: Ptr SDL_WindowID -> SDL_WindowID -> IO ()
Marshal.WriteRaw
, Integer -> SDL_WindowID
SDL_WindowID -> SDL_WindowID
SDL_WindowID -> SDL_WindowID -> SDL_WindowID
(SDL_WindowID -> SDL_WindowID -> SDL_WindowID)
-> (SDL_WindowID -> SDL_WindowID -> SDL_WindowID)
-> (SDL_WindowID -> SDL_WindowID -> SDL_WindowID)
-> (SDL_WindowID -> SDL_WindowID)
-> (SDL_WindowID -> SDL_WindowID)
-> (SDL_WindowID -> SDL_WindowID)
-> (Integer -> SDL_WindowID)
-> Num SDL_WindowID
forall a.
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a)
-> (a -> a)
-> (a -> a)
-> (Integer -> a)
-> Num a
$c+ :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID
+ :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID
$c- :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID
- :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID
$c* :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID
* :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID
$cnegate :: SDL_WindowID -> SDL_WindowID
negate :: SDL_WindowID -> SDL_WindowID
$cabs :: SDL_WindowID -> SDL_WindowID
abs :: SDL_WindowID -> SDL_WindowID
$csignum :: SDL_WindowID -> SDL_WindowID
signum :: SDL_WindowID -> SDL_WindowID
$cfromInteger :: Integer -> SDL_WindowID
fromInteger :: Integer -> SDL_WindowID
Num
, Num SDL_WindowID
Ord SDL_WindowID
(Num SDL_WindowID, Ord SDL_WindowID) =>
(SDL_WindowID -> Rational) -> Real SDL_WindowID
SDL_WindowID -> Rational
forall a. (Num a, Ord a) => (a -> Rational) -> Real a
$ctoRational :: SDL_WindowID -> Rational
toRational :: SDL_WindowID -> Rational
Real
)
instance
(ty ~ SDL3.Sys.Bindgen.Stdinc.Uint32)
=> BG.CompatHasField.HasField "unwrap" SDL_WindowID ty
where
hasField :: SDL_WindowID -> (ty -> SDL_WindowID, ty)
hasField =
\SDL_WindowID
x0 ->
( \ty
y1 ->
SDL_WindowID{unwrap :: Uint32
unwrap = ty
Uint32
y1}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_WindowID
x0
)
instance
(ty ~ SDL3.Sys.Bindgen.Stdinc.Uint32)
=> BG.HasField "unwrap" (BG.Ptr SDL_WindowID) (BG.Ptr ty)
where
getField :: Ptr SDL_WindowID -> Ptr ty
getField = Proxy "unwrap"
-> Ptr SDL_WindowID -> Ptr (CFieldType SDL_WindowID "unwrap")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"unwrap")
instance HasCField.HasCField SDL_WindowID "unwrap" where
type
CFieldType SDL_WindowID "unwrap" =
SDL3.Sys.Bindgen.Stdinc.Uint32
offset# :: Proxy# SDL_WindowID -> Proxy# "unwrap" -> Int
offset# = \Proxy# SDL_WindowID
_ -> \Proxy# "unwrap"
_ -> Int
0
sDL_PROP_GLOBAL_VIDEO_WAYLAND_WL_DISPLAY_POINTER :: BG.ByteString
sDL_PROP_GLOBAL_VIDEO_WAYLAND_WL_DISPLAY_POINTER :: ByteString
sDL_PROP_GLOBAL_VIDEO_WAYLAND_WL_DISPLAY_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x76
, Word8
0x69
, Word8
0x64
, Word8
0x65
, Word8
0x6F
, Word8
0x2E
, Word8
0x77
, Word8
0x61
, Word8
0x79
, Word8
0x6C
, Word8
0x61
, Word8
0x6E
, Word8
0x64
, Word8
0x2E
, Word8
0x77
, Word8
0x6C
, Word8
0x5F
, Word8
0x64
, Word8
0x69
, Word8
0x73
, Word8
0x70
, Word8
0x6C
, Word8
0x61
, Word8
0x79
]
newtype SDL_SystemTheme = SDL_SystemTheme
{ SDL_SystemTheme -> CUInt
unwrap :: BG.CUInt
}
deriving stock ((forall x. SDL_SystemTheme -> Rep SDL_SystemTheme x)
-> (forall x. Rep SDL_SystemTheme x -> SDL_SystemTheme)
-> Generic SDL_SystemTheme
forall x. Rep SDL_SystemTheme x -> SDL_SystemTheme
forall x. SDL_SystemTheme -> Rep SDL_SystemTheme x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. SDL_SystemTheme -> Rep SDL_SystemTheme x
from :: forall x. SDL_SystemTheme -> Rep SDL_SystemTheme x
$cto :: forall x. Rep SDL_SystemTheme x -> SDL_SystemTheme
to :: forall x. Rep SDL_SystemTheme x -> SDL_SystemTheme
BG.Generic, SDL_SystemTheme -> SDL_SystemTheme -> Bool
(SDL_SystemTheme -> SDL_SystemTheme -> Bool)
-> (SDL_SystemTheme -> SDL_SystemTheme -> Bool)
-> Eq SDL_SystemTheme
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SDL_SystemTheme -> SDL_SystemTheme -> Bool
== :: SDL_SystemTheme -> SDL_SystemTheme -> Bool
$c/= :: SDL_SystemTheme -> SDL_SystemTheme -> Bool
/= :: SDL_SystemTheme -> SDL_SystemTheme -> Bool
Eq, Eq SDL_SystemTheme
Eq SDL_SystemTheme =>
(SDL_SystemTheme -> SDL_SystemTheme -> Ordering)
-> (SDL_SystemTheme -> SDL_SystemTheme -> Bool)
-> (SDL_SystemTheme -> SDL_SystemTheme -> Bool)
-> (SDL_SystemTheme -> SDL_SystemTheme -> Bool)
-> (SDL_SystemTheme -> SDL_SystemTheme -> Bool)
-> (SDL_SystemTheme -> SDL_SystemTheme -> SDL_SystemTheme)
-> (SDL_SystemTheme -> SDL_SystemTheme -> SDL_SystemTheme)
-> Ord SDL_SystemTheme
SDL_SystemTheme -> SDL_SystemTheme -> Bool
SDL_SystemTheme -> SDL_SystemTheme -> Ordering
SDL_SystemTheme -> SDL_SystemTheme -> SDL_SystemTheme
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: SDL_SystemTheme -> SDL_SystemTheme -> Ordering
compare :: SDL_SystemTheme -> SDL_SystemTheme -> Ordering
$c< :: SDL_SystemTheme -> SDL_SystemTheme -> Bool
< :: SDL_SystemTheme -> SDL_SystemTheme -> Bool
$c<= :: SDL_SystemTheme -> SDL_SystemTheme -> Bool
<= :: SDL_SystemTheme -> SDL_SystemTheme -> Bool
$c> :: SDL_SystemTheme -> SDL_SystemTheme -> Bool
> :: SDL_SystemTheme -> SDL_SystemTheme -> Bool
$c>= :: SDL_SystemTheme -> SDL_SystemTheme -> Bool
>= :: SDL_SystemTheme -> SDL_SystemTheme -> Bool
$cmax :: SDL_SystemTheme -> SDL_SystemTheme -> SDL_SystemTheme
max :: SDL_SystemTheme -> SDL_SystemTheme -> SDL_SystemTheme
$cmin :: SDL_SystemTheme -> SDL_SystemTheme -> SDL_SystemTheme
min :: SDL_SystemTheme -> SDL_SystemTheme -> SDL_SystemTheme
Ord)
deriving newtype (FFIType SDL_SystemTheme -> SDL_SystemTheme
SDL_SystemTheme -> FFIType SDL_SystemTheme
(SDL_SystemTheme -> FFIType SDL_SystemTheme)
-> (FFIType SDL_SystemTheme -> SDL_SystemTheme)
-> HasFFIType SDL_SystemTheme
forall a. (a -> FFIType a) -> (FFIType a -> a) -> HasFFIType a
$ctoFFIType :: SDL_SystemTheme -> FFIType SDL_SystemTheme
toFFIType :: SDL_SystemTheme -> FFIType SDL_SystemTheme
$cfromFFIType :: FFIType SDL_SystemTheme -> SDL_SystemTheme
fromFFIType :: FFIType SDL_SystemTheme -> SDL_SystemTheme
BG.HasFFIType)
instance Marshal.StaticSize SDL_SystemTheme where
staticSizeOf :: Proxy SDL_SystemTheme -> Int
staticSizeOf = \Proxy SDL_SystemTheme
_ -> (Int
4 :: Int)
staticAlignment :: Proxy SDL_SystemTheme -> Int
staticAlignment = \Proxy SDL_SystemTheme
_ -> (Int
4 :: Int)
instance Marshal.ReadRaw SDL_SystemTheme where
readRaw :: Ptr SDL_SystemTheme -> IO SDL_SystemTheme
readRaw =
\Ptr SDL_SystemTheme
ptr0 ->
(CUInt -> SDL_SystemTheme) -> IO (CUInt -> SDL_SystemTheme)
forall a. a -> IO a
forall (f :: * -> *) a. Applicative f => a -> f a
pure CUInt -> SDL_SystemTheme
SDL_SystemTheme
IO (CUInt -> SDL_SystemTheme) -> IO CUInt -> IO SDL_SystemTheme
forall a b. IO (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
<*> Ptr SDL_SystemTheme -> Int -> IO CUInt
forall a b. ReadRaw a => Ptr b -> Int -> IO a
Marshal.readRawByteOff Ptr SDL_SystemTheme
ptr0 (Int
0 :: Int)
instance Marshal.WriteRaw SDL_SystemTheme where
writeRaw :: Ptr SDL_SystemTheme -> SDL_SystemTheme -> IO ()
writeRaw =
\Ptr SDL_SystemTheme
ptr0 ->
\SDL_SystemTheme
s1 ->
case SDL_SystemTheme
s1 of
SDL_SystemTheme CUInt
unwrap2 ->
Ptr SDL_SystemTheme -> Int -> CUInt -> IO ()
forall a b. WriteRaw a => Ptr b -> Int -> a -> IO ()
Marshal.writeRawByteOff Ptr SDL_SystemTheme
ptr0 (Int
0 :: Int) CUInt
unwrap2
deriving via Marshal.EquivStorable SDL_SystemTheme instance BG.Storable SDL_SystemTheme
deriving via BG.CUInt instance BG.Prim SDL_SystemTheme
instance CEnum.CEnum SDL_SystemTheme where
type CEnumZ SDL_SystemTheme = BG.CUInt
toCEnum :: CEnumZ SDL_SystemTheme -> SDL_SystemTheme
toCEnum = CUInt -> SDL_SystemTheme
CEnumZ SDL_SystemTheme -> SDL_SystemTheme
SDL_SystemTheme
fromCEnum :: SDL_SystemTheme -> CEnumZ SDL_SystemTheme
fromCEnum = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap"
declaredValues :: forall (proxy :: * -> *).
proxy SDL_SystemTheme -> DeclaredValues SDL_SystemTheme
declaredValues =
\proxy SDL_SystemTheme
_ ->
[(CEnumZ SDL_SystemTheme, NonEmpty String)]
-> DeclaredValues SDL_SystemTheme
forall a.
Ord (CEnumZ a) =>
[(CEnumZ a, NonEmpty String)] -> DeclaredValues a
CEnum.declaredValuesFromList
[ (CUInt
CEnumZ SDL_SystemTheme
0, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_SYSTEM_THEME_UNKNOWN")
, (CUInt
CEnumZ SDL_SystemTheme
1, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_SYSTEM_THEME_LIGHT")
, (CUInt
CEnumZ SDL_SystemTheme
2, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_SYSTEM_THEME_DARK")
]
showsUndeclared :: forall (proxy :: * -> *).
proxy SDL_SystemTheme -> Int -> CEnumZ SDL_SystemTheme -> ShowS
showsUndeclared =
String
-> proxy SDL_SystemTheme -> Int -> CEnumZ SDL_SystemTheme -> ShowS
forall a (proxy :: * -> *).
Show (CEnumZ a) =>
String -> proxy a -> Int -> CEnumZ a -> ShowS
CEnum.showsWrappedUndeclared String
"SDL_SystemTheme"
readPrecUndeclared :: ReadPrec SDL_SystemTheme
readPrecUndeclared =
String -> ReadPrec SDL_SystemTheme
forall a. (CEnum a, Read (CEnumZ a)) => String -> ReadPrec a
CEnum.readPrecWrappedUndeclared String
"SDL_SystemTheme"
isDeclared :: SDL_SystemTheme -> Bool
isDeclared = SDL_SystemTheme -> Bool
forall a. SequentialCEnum a => a -> Bool
CEnum.seqIsDeclared
mkDeclared :: CEnumZ SDL_SystemTheme -> Maybe SDL_SystemTheme
mkDeclared = CEnumZ SDL_SystemTheme -> Maybe SDL_SystemTheme
forall a. SequentialCEnum a => CEnumZ a -> Maybe a
CEnum.seqMkDeclared
instance CEnum.SequentialCEnum SDL_SystemTheme where
minDeclaredValue :: SDL_SystemTheme
minDeclaredValue = SDL_SystemTheme
SDL_SYSTEM_THEME_UNKNOWN
maxDeclaredValue :: SDL_SystemTheme
maxDeclaredValue = SDL_SystemTheme
SDL_SYSTEM_THEME_DARK
instance Show SDL_SystemTheme where
showsPrec :: Int -> SDL_SystemTheme -> ShowS
showsPrec = Int -> SDL_SystemTheme -> ShowS
forall a. CEnum a => Int -> a -> ShowS
CEnum.shows
instance Read SDL_SystemTheme where
readPrec :: ReadPrec SDL_SystemTheme
readPrec = ReadPrec SDL_SystemTheme
forall a. CEnum a => ReadPrec a
CEnum.readPrec
readList :: ReadS [SDL_SystemTheme]
readList = ReadS [SDL_SystemTheme]
forall a. Read a => ReadS [a]
BG.readListDefault
readListPrec :: ReadPrec [SDL_SystemTheme]
readListPrec = ReadPrec [SDL_SystemTheme]
forall a. Read a => ReadPrec [a]
BG.readListPrecDefault
instance
(ty ~ BG.CUInt)
=> BG.CompatHasField.HasField "unwrap" SDL_SystemTheme ty
where
hasField :: SDL_SystemTheme -> (ty -> SDL_SystemTheme, ty)
hasField =
\SDL_SystemTheme
x0 ->
( \ty
y1 ->
SDL_SystemTheme{unwrap :: CUInt
unwrap = ty
CUInt
y1}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_SystemTheme
x0
)
instance
(ty ~ BG.CUInt)
=> BG.HasField "unwrap" (BG.Ptr SDL_SystemTheme) (BG.Ptr ty)
where
getField :: Ptr SDL_SystemTheme -> Ptr ty
getField = Proxy "unwrap"
-> Ptr SDL_SystemTheme -> Ptr (CFieldType SDL_SystemTheme "unwrap")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"unwrap")
instance HasCField.HasCField SDL_SystemTheme "unwrap" where
type CFieldType SDL_SystemTheme "unwrap" = BG.CUInt
offset# :: Proxy# SDL_SystemTheme -> Proxy# "unwrap" -> Int
offset# = \Proxy# SDL_SystemTheme
_ -> \Proxy# "unwrap"
_ -> Int
0
pattern SDL_SYSTEM_THEME_UNKNOWN :: SDL_SystemTheme
pattern $mSDL_SYSTEM_THEME_UNKNOWN :: forall {r}. SDL_SystemTheme -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_SYSTEM_THEME_UNKNOWN :: SDL_SystemTheme
SDL_SYSTEM_THEME_UNKNOWN = SDL_SystemTheme 0
pattern SDL_SYSTEM_THEME_LIGHT :: SDL_SystemTheme
pattern $mSDL_SYSTEM_THEME_LIGHT :: forall {r}. SDL_SystemTheme -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_SYSTEM_THEME_LIGHT :: SDL_SystemTheme
SDL_SYSTEM_THEME_LIGHT = SDL_SystemTheme 1
pattern SDL_SYSTEM_THEME_DARK :: SDL_SystemTheme
pattern $mSDL_SYSTEM_THEME_DARK :: forall {r}. SDL_SystemTheme -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_SYSTEM_THEME_DARK :: SDL_SystemTheme
SDL_SYSTEM_THEME_DARK = SDL_SystemTheme 2
data SDL_DisplayModeData
data SDL_DisplayMode = SDL_DisplayMode
{ SDL_DisplayMode -> SDL_DisplayID
displayID :: SDL_DisplayID
, SDL_DisplayMode -> SDL_PixelFormat
format :: SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
, SDL_DisplayMode -> CInt
w :: BG.CInt
, SDL_DisplayMode -> CInt
h :: BG.CInt
, SDL_DisplayMode -> CFloat
pixel_density :: BG.CFloat
, SDL_DisplayMode -> CFloat
refresh_rate :: BG.CFloat
, SDL_DisplayMode -> CInt
refresh_rate_numerator :: BG.CInt
, SDL_DisplayMode -> CInt
refresh_rate_denominator :: BG.CInt
, SDL_DisplayMode -> Ptr SDL_DisplayModeData
internal :: BG.Ptr SDL_DisplayModeData
}
deriving stock ((forall x. SDL_DisplayMode -> Rep SDL_DisplayMode x)
-> (forall x. Rep SDL_DisplayMode x -> SDL_DisplayMode)
-> Generic SDL_DisplayMode
forall x. Rep SDL_DisplayMode x -> SDL_DisplayMode
forall x. SDL_DisplayMode -> Rep SDL_DisplayMode x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. SDL_DisplayMode -> Rep SDL_DisplayMode x
from :: forall x. SDL_DisplayMode -> Rep SDL_DisplayMode x
$cto :: forall x. Rep SDL_DisplayMode x -> SDL_DisplayMode
to :: forall x. Rep SDL_DisplayMode x -> SDL_DisplayMode
BG.Generic, SDL_DisplayMode -> SDL_DisplayMode -> Bool
(SDL_DisplayMode -> SDL_DisplayMode -> Bool)
-> (SDL_DisplayMode -> SDL_DisplayMode -> Bool)
-> Eq SDL_DisplayMode
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SDL_DisplayMode -> SDL_DisplayMode -> Bool
== :: SDL_DisplayMode -> SDL_DisplayMode -> Bool
$c/= :: SDL_DisplayMode -> SDL_DisplayMode -> Bool
/= :: SDL_DisplayMode -> SDL_DisplayMode -> Bool
Eq, Int -> SDL_DisplayMode -> ShowS
[SDL_DisplayMode] -> ShowS
SDL_DisplayMode -> String
(Int -> SDL_DisplayMode -> ShowS)
-> (SDL_DisplayMode -> String)
-> ([SDL_DisplayMode] -> ShowS)
-> Show SDL_DisplayMode
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SDL_DisplayMode -> ShowS
showsPrec :: Int -> SDL_DisplayMode -> ShowS
$cshow :: SDL_DisplayMode -> String
show :: SDL_DisplayMode -> String
$cshowList :: [SDL_DisplayMode] -> ShowS
showList :: [SDL_DisplayMode] -> ShowS
Show)
instance Marshal.StaticSize SDL_DisplayMode where
staticSizeOf :: Proxy SDL_DisplayMode -> Int
staticSizeOf = \Proxy SDL_DisplayMode
_ -> (Int
40 :: Int)
staticAlignment :: Proxy SDL_DisplayMode -> Int
staticAlignment = \Proxy SDL_DisplayMode
_ -> (Int
8 :: Int)
instance Marshal.ReadRaw SDL_DisplayMode where
readRaw :: Ptr SDL_DisplayMode -> IO SDL_DisplayMode
readRaw =
\Ptr SDL_DisplayMode
ptr0 ->
(SDL_DisplayID
-> SDL_PixelFormat
-> CInt
-> CInt
-> CFloat
-> CFloat
-> CInt
-> CInt
-> Ptr SDL_DisplayModeData
-> SDL_DisplayMode)
-> IO
(SDL_DisplayID
-> SDL_PixelFormat
-> CInt
-> CInt
-> CFloat
-> CFloat
-> CInt
-> CInt
-> Ptr SDL_DisplayModeData
-> SDL_DisplayMode)
forall a. a -> IO a
forall (f :: * -> *) a. Applicative f => a -> f a
pure SDL_DisplayID
-> SDL_PixelFormat
-> CInt
-> CInt
-> CFloat
-> CFloat
-> CInt
-> CInt
-> Ptr SDL_DisplayModeData
-> SDL_DisplayMode
SDL_DisplayMode
IO
(SDL_DisplayID
-> SDL_PixelFormat
-> CInt
-> CInt
-> CFloat
-> CFloat
-> CInt
-> CInt
-> Ptr SDL_DisplayModeData
-> SDL_DisplayMode)
-> IO SDL_DisplayID
-> IO
(SDL_PixelFormat
-> CInt
-> CInt
-> CFloat
-> CFloat
-> CInt
-> CInt
-> Ptr SDL_DisplayModeData
-> SDL_DisplayMode)
forall a b. IO (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
<*> Proxy "displayID"
-> Ptr SDL_DisplayMode
-> IO (CFieldType SDL_DisplayMode "displayID")
forall a (field :: Symbol).
(HasCField a field, ReadRaw (CFieldType a field)) =>
Proxy field -> Ptr a -> IO (CFieldType a field)
HasCField.readRaw (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"displayID") Ptr SDL_DisplayMode
ptr0
IO
(SDL_PixelFormat
-> CInt
-> CInt
-> CFloat
-> CFloat
-> CInt
-> CInt
-> Ptr SDL_DisplayModeData
-> SDL_DisplayMode)
-> IO SDL_PixelFormat
-> IO
(CInt
-> CInt
-> CFloat
-> CFloat
-> CInt
-> CInt
-> Ptr SDL_DisplayModeData
-> SDL_DisplayMode)
forall a b. IO (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
<*> Proxy "format"
-> Ptr SDL_DisplayMode -> IO (CFieldType SDL_DisplayMode "format")
forall a (field :: Symbol).
(HasCField a field, ReadRaw (CFieldType a field)) =>
Proxy field -> Ptr a -> IO (CFieldType a field)
HasCField.readRaw (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"format") Ptr SDL_DisplayMode
ptr0
IO
(CInt
-> CInt
-> CFloat
-> CFloat
-> CInt
-> CInt
-> Ptr SDL_DisplayModeData
-> SDL_DisplayMode)
-> IO CInt
-> IO
(CInt
-> CFloat
-> CFloat
-> CInt
-> CInt
-> Ptr SDL_DisplayModeData
-> SDL_DisplayMode)
forall a b. IO (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
<*> Proxy "w"
-> Ptr SDL_DisplayMode -> IO (CFieldType SDL_DisplayMode "w")
forall a (field :: Symbol).
(HasCField a field, ReadRaw (CFieldType a field)) =>
Proxy field -> Ptr a -> IO (CFieldType a field)
HasCField.readRaw (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"w") Ptr SDL_DisplayMode
ptr0
IO
(CInt
-> CFloat
-> CFloat
-> CInt
-> CInt
-> Ptr SDL_DisplayModeData
-> SDL_DisplayMode)
-> IO CInt
-> IO
(CFloat
-> CFloat
-> CInt
-> CInt
-> Ptr SDL_DisplayModeData
-> SDL_DisplayMode)
forall a b. IO (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
<*> Proxy "h"
-> Ptr SDL_DisplayMode -> IO (CFieldType SDL_DisplayMode "h")
forall a (field :: Symbol).
(HasCField a field, ReadRaw (CFieldType a field)) =>
Proxy field -> Ptr a -> IO (CFieldType a field)
HasCField.readRaw (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"h") Ptr SDL_DisplayMode
ptr0
IO
(CFloat
-> CFloat
-> CInt
-> CInt
-> Ptr SDL_DisplayModeData
-> SDL_DisplayMode)
-> IO CFloat
-> IO
(CFloat
-> CInt -> CInt -> Ptr SDL_DisplayModeData -> SDL_DisplayMode)
forall a b. IO (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
<*> Proxy "pixel_density"
-> Ptr SDL_DisplayMode
-> IO (CFieldType SDL_DisplayMode "pixel_density")
forall a (field :: Symbol).
(HasCField a field, ReadRaw (CFieldType a field)) =>
Proxy field -> Ptr a -> IO (CFieldType a field)
HasCField.readRaw (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"pixel_density") Ptr SDL_DisplayMode
ptr0
IO
(CFloat
-> CInt -> CInt -> Ptr SDL_DisplayModeData -> SDL_DisplayMode)
-> IO CFloat
-> IO (CInt -> CInt -> Ptr SDL_DisplayModeData -> SDL_DisplayMode)
forall a b. IO (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
<*> Proxy "refresh_rate"
-> Ptr SDL_DisplayMode
-> IO (CFieldType SDL_DisplayMode "refresh_rate")
forall a (field :: Symbol).
(HasCField a field, ReadRaw (CFieldType a field)) =>
Proxy field -> Ptr a -> IO (CFieldType a field)
HasCField.readRaw (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"refresh_rate") Ptr SDL_DisplayMode
ptr0
IO (CInt -> CInt -> Ptr SDL_DisplayModeData -> SDL_DisplayMode)
-> IO CInt
-> IO (CInt -> Ptr SDL_DisplayModeData -> SDL_DisplayMode)
forall a b. IO (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
<*> Proxy "refresh_rate_numerator"
-> Ptr SDL_DisplayMode
-> IO (CFieldType SDL_DisplayMode "refresh_rate_numerator")
forall a (field :: Symbol).
(HasCField a field, ReadRaw (CFieldType a field)) =>
Proxy field -> Ptr a -> IO (CFieldType a field)
HasCField.readRaw (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"refresh_rate_numerator") Ptr SDL_DisplayMode
ptr0
IO (CInt -> Ptr SDL_DisplayModeData -> SDL_DisplayMode)
-> IO CInt -> IO (Ptr SDL_DisplayModeData -> SDL_DisplayMode)
forall a b. IO (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
<*> Proxy "refresh_rate_denominator"
-> Ptr SDL_DisplayMode
-> IO (CFieldType SDL_DisplayMode "refresh_rate_denominator")
forall a (field :: Symbol).
(HasCField a field, ReadRaw (CFieldType a field)) =>
Proxy field -> Ptr a -> IO (CFieldType a field)
HasCField.readRaw (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"refresh_rate_denominator") Ptr SDL_DisplayMode
ptr0
IO (Ptr SDL_DisplayModeData -> SDL_DisplayMode)
-> IO (Ptr SDL_DisplayModeData) -> IO SDL_DisplayMode
forall a b. IO (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
<*> Proxy "internal"
-> Ptr SDL_DisplayMode
-> IO (CFieldType SDL_DisplayMode "internal")
forall a (field :: Symbol).
(HasCField a field, ReadRaw (CFieldType a field)) =>
Proxy field -> Ptr a -> IO (CFieldType a field)
HasCField.readRaw (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"internal") Ptr SDL_DisplayMode
ptr0
instance Marshal.WriteRaw SDL_DisplayMode where
writeRaw :: Ptr SDL_DisplayMode -> SDL_DisplayMode -> IO ()
writeRaw =
\Ptr SDL_DisplayMode
ptr0 ->
\SDL_DisplayMode
s1 ->
case SDL_DisplayMode
s1 of
SDL_DisplayMode
SDL_DisplayID
displayID2
SDL_PixelFormat
format3
CInt
w4
CInt
h5
CFloat
pixel_density6
CFloat
refresh_rate7
CInt
refresh_rate_numerator8
CInt
refresh_rate_denominator9
Ptr SDL_DisplayModeData
internal10 ->
Proxy "displayID"
-> Ptr SDL_DisplayMode
-> CFieldType SDL_DisplayMode "displayID"
-> IO ()
forall a (field :: Symbol).
(HasCField a field, WriteRaw (CFieldType a field)) =>
Proxy field -> Ptr a -> CFieldType a field -> IO ()
HasCField.writeRaw (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"displayID") Ptr SDL_DisplayMode
ptr0 CFieldType SDL_DisplayMode "displayID"
SDL_DisplayID
displayID2
IO () -> IO () -> IO ()
forall a b. IO a -> IO b -> IO b
forall (m :: * -> *) a b. Monad m => m a -> m b -> m b
>> Proxy "format"
-> Ptr SDL_DisplayMode
-> CFieldType SDL_DisplayMode "format"
-> IO ()
forall a (field :: Symbol).
(HasCField a field, WriteRaw (CFieldType a field)) =>
Proxy field -> Ptr a -> CFieldType a field -> IO ()
HasCField.writeRaw (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"format") Ptr SDL_DisplayMode
ptr0 CFieldType SDL_DisplayMode "format"
SDL_PixelFormat
format3
IO () -> IO () -> IO ()
forall a b. IO a -> IO b -> IO b
forall (m :: * -> *) a b. Monad m => m a -> m b -> m b
>> Proxy "w"
-> Ptr SDL_DisplayMode -> CFieldType SDL_DisplayMode "w" -> IO ()
forall a (field :: Symbol).
(HasCField a field, WriteRaw (CFieldType a field)) =>
Proxy field -> Ptr a -> CFieldType a field -> IO ()
HasCField.writeRaw (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"w") Ptr SDL_DisplayMode
ptr0 CInt
CFieldType SDL_DisplayMode "w"
w4
IO () -> IO () -> IO ()
forall a b. IO a -> IO b -> IO b
forall (m :: * -> *) a b. Monad m => m a -> m b -> m b
>> Proxy "h"
-> Ptr SDL_DisplayMode -> CFieldType SDL_DisplayMode "h" -> IO ()
forall a (field :: Symbol).
(HasCField a field, WriteRaw (CFieldType a field)) =>
Proxy field -> Ptr a -> CFieldType a field -> IO ()
HasCField.writeRaw (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"h") Ptr SDL_DisplayMode
ptr0 CInt
CFieldType SDL_DisplayMode "h"
h5
IO () -> IO () -> IO ()
forall a b. IO a -> IO b -> IO b
forall (m :: * -> *) a b. Monad m => m a -> m b -> m b
>> Proxy "pixel_density"
-> Ptr SDL_DisplayMode
-> CFieldType SDL_DisplayMode "pixel_density"
-> IO ()
forall a (field :: Symbol).
(HasCField a field, WriteRaw (CFieldType a field)) =>
Proxy field -> Ptr a -> CFieldType a field -> IO ()
HasCField.writeRaw (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"pixel_density") Ptr SDL_DisplayMode
ptr0 CFloat
CFieldType SDL_DisplayMode "pixel_density"
pixel_density6
IO () -> IO () -> IO ()
forall a b. IO a -> IO b -> IO b
forall (m :: * -> *) a b. Monad m => m a -> m b -> m b
>> Proxy "refresh_rate"
-> Ptr SDL_DisplayMode
-> CFieldType SDL_DisplayMode "refresh_rate"
-> IO ()
forall a (field :: Symbol).
(HasCField a field, WriteRaw (CFieldType a field)) =>
Proxy field -> Ptr a -> CFieldType a field -> IO ()
HasCField.writeRaw (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"refresh_rate") Ptr SDL_DisplayMode
ptr0 CFloat
CFieldType SDL_DisplayMode "refresh_rate"
refresh_rate7
IO () -> IO () -> IO ()
forall a b. IO a -> IO b -> IO b
forall (m :: * -> *) a b. Monad m => m a -> m b -> m b
>> Proxy "refresh_rate_numerator"
-> Ptr SDL_DisplayMode
-> CFieldType SDL_DisplayMode "refresh_rate_numerator"
-> IO ()
forall a (field :: Symbol).
(HasCField a field, WriteRaw (CFieldType a field)) =>
Proxy field -> Ptr a -> CFieldType a field -> IO ()
HasCField.writeRaw (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"refresh_rate_numerator") Ptr SDL_DisplayMode
ptr0 CInt
CFieldType SDL_DisplayMode "refresh_rate_numerator"
refresh_rate_numerator8
IO () -> IO () -> IO ()
forall a b. IO a -> IO b -> IO b
forall (m :: * -> *) a b. Monad m => m a -> m b -> m b
>> Proxy "refresh_rate_denominator"
-> Ptr SDL_DisplayMode
-> CFieldType SDL_DisplayMode "refresh_rate_denominator"
-> IO ()
forall a (field :: Symbol).
(HasCField a field, WriteRaw (CFieldType a field)) =>
Proxy field -> Ptr a -> CFieldType a field -> IO ()
HasCField.writeRaw (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"refresh_rate_denominator") Ptr SDL_DisplayMode
ptr0 CInt
CFieldType SDL_DisplayMode "refresh_rate_denominator"
refresh_rate_denominator9
IO () -> IO () -> IO ()
forall a b. IO a -> IO b -> IO b
forall (m :: * -> *) a b. Monad m => m a -> m b -> m b
>> Proxy "internal"
-> Ptr SDL_DisplayMode
-> CFieldType SDL_DisplayMode "internal"
-> IO ()
forall a (field :: Symbol).
(HasCField a field, WriteRaw (CFieldType a field)) =>
Proxy field -> Ptr a -> CFieldType a field -> IO ()
HasCField.writeRaw (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"internal") Ptr SDL_DisplayMode
ptr0 Ptr SDL_DisplayModeData
CFieldType SDL_DisplayMode "internal"
internal10
deriving via Marshal.EquivStorable SDL_DisplayMode instance BG.Storable SDL_DisplayMode
deriving via Struct.IsStructViaReadRaw SDL_DisplayMode instance Struct.IsStruct SDL_DisplayMode
instance
(ty ~ SDL_DisplayID)
=> BG.CompatHasField.HasField "displayID" SDL_DisplayMode ty
where
hasField :: SDL_DisplayMode -> (ty -> SDL_DisplayMode, ty)
hasField =
\SDL_DisplayMode
x0 ->
( \ty
y1 ->
SDL_DisplayMode
{ displayID :: SDL_DisplayID
displayID = ty
SDL_DisplayID
y1
, format :: SDL_PixelFormat
format = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"format" SDL_DisplayMode
x0
, w :: CInt
w = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"w" SDL_DisplayMode
x0
, h :: CInt
h = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"h" SDL_DisplayMode
x0
, pixel_density :: CFloat
pixel_density = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"pixel_density" SDL_DisplayMode
x0
, refresh_rate :: CFloat
refresh_rate = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"refresh_rate" SDL_DisplayMode
x0
, refresh_rate_numerator :: CInt
refresh_rate_numerator = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"refresh_rate_numerator" SDL_DisplayMode
x0
, refresh_rate_denominator :: CInt
refresh_rate_denominator = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"refresh_rate_denominator" SDL_DisplayMode
x0
, internal :: Ptr SDL_DisplayModeData
internal = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"internal" SDL_DisplayMode
x0
}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"displayID" SDL_DisplayMode
x0
)
instance
(ty ~ SDL_DisplayID)
=> BG.HasField "displayID" (BG.Ptr SDL_DisplayMode) (BG.Ptr ty)
where
getField :: Ptr SDL_DisplayMode -> Ptr ty
getField = Proxy "displayID"
-> Ptr SDL_DisplayMode
-> Ptr (CFieldType SDL_DisplayMode "displayID")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"displayID")
instance HasCField.HasCField SDL_DisplayMode "displayID" where
type
CFieldType SDL_DisplayMode "displayID" =
SDL_DisplayID
offset# :: Proxy# SDL_DisplayMode -> Proxy# "displayID" -> Int
offset# = \Proxy# SDL_DisplayMode
_ -> \Proxy# "displayID"
_ -> Int
0
instance
(ty ~ SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat)
=> BG.CompatHasField.HasField "format" SDL_DisplayMode ty
where
hasField :: SDL_DisplayMode -> (ty -> SDL_DisplayMode, ty)
hasField =
\SDL_DisplayMode
x0 ->
( \ty
y1 ->
SDL_DisplayMode
{ format :: SDL_PixelFormat
format = ty
SDL_PixelFormat
y1
, displayID :: SDL_DisplayID
displayID = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"displayID" SDL_DisplayMode
x0
, w :: CInt
w = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"w" SDL_DisplayMode
x0
, h :: CInt
h = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"h" SDL_DisplayMode
x0
, pixel_density :: CFloat
pixel_density = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"pixel_density" SDL_DisplayMode
x0
, refresh_rate :: CFloat
refresh_rate = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"refresh_rate" SDL_DisplayMode
x0
, refresh_rate_numerator :: CInt
refresh_rate_numerator = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"refresh_rate_numerator" SDL_DisplayMode
x0
, refresh_rate_denominator :: CInt
refresh_rate_denominator = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"refresh_rate_denominator" SDL_DisplayMode
x0
, internal :: Ptr SDL_DisplayModeData
internal = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"internal" SDL_DisplayMode
x0
}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"format" SDL_DisplayMode
x0
)
instance
(ty ~ SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat)
=> BG.HasField "format" (BG.Ptr SDL_DisplayMode) (BG.Ptr ty)
where
getField :: Ptr SDL_DisplayMode -> Ptr ty
getField = Proxy "format"
-> Ptr SDL_DisplayMode -> Ptr (CFieldType SDL_DisplayMode "format")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"format")
instance HasCField.HasCField SDL_DisplayMode "format" where
type
CFieldType SDL_DisplayMode "format" =
SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
offset# :: Proxy# SDL_DisplayMode -> Proxy# "format" -> Int
offset# = \Proxy# SDL_DisplayMode
_ -> \Proxy# "format"
_ -> Int
4
instance
(ty ~ BG.CInt)
=> BG.CompatHasField.HasField "w" SDL_DisplayMode ty
where
hasField :: SDL_DisplayMode -> (ty -> SDL_DisplayMode, ty)
hasField =
\SDL_DisplayMode
x0 ->
( \ty
y1 ->
SDL_DisplayMode
{ w :: CInt
w = ty
CInt
y1
, displayID :: SDL_DisplayID
displayID = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"displayID" SDL_DisplayMode
x0
, format :: SDL_PixelFormat
format = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"format" SDL_DisplayMode
x0
, h :: CInt
h = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"h" SDL_DisplayMode
x0
, pixel_density :: CFloat
pixel_density = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"pixel_density" SDL_DisplayMode
x0
, refresh_rate :: CFloat
refresh_rate = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"refresh_rate" SDL_DisplayMode
x0
, refresh_rate_numerator :: CInt
refresh_rate_numerator = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"refresh_rate_numerator" SDL_DisplayMode
x0
, refresh_rate_denominator :: CInt
refresh_rate_denominator = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"refresh_rate_denominator" SDL_DisplayMode
x0
, internal :: Ptr SDL_DisplayModeData
internal = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"internal" SDL_DisplayMode
x0
}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"w" SDL_DisplayMode
x0
)
instance
(ty ~ BG.CInt)
=> BG.HasField "w" (BG.Ptr SDL_DisplayMode) (BG.Ptr ty)
where
getField :: Ptr SDL_DisplayMode -> Ptr ty
getField = Proxy "w"
-> Ptr SDL_DisplayMode -> Ptr (CFieldType SDL_DisplayMode "w")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"w")
instance HasCField.HasCField SDL_DisplayMode "w" where
type CFieldType SDL_DisplayMode "w" = BG.CInt
offset# :: Proxy# SDL_DisplayMode -> Proxy# "w" -> Int
offset# = \Proxy# SDL_DisplayMode
_ -> \Proxy# "w"
_ -> Int
8
instance
(ty ~ BG.CInt)
=> BG.CompatHasField.HasField "h" SDL_DisplayMode ty
where
hasField :: SDL_DisplayMode -> (ty -> SDL_DisplayMode, ty)
hasField =
\SDL_DisplayMode
x0 ->
( \ty
y1 ->
SDL_DisplayMode
{ h :: CInt
h = ty
CInt
y1
, displayID :: SDL_DisplayID
displayID = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"displayID" SDL_DisplayMode
x0
, format :: SDL_PixelFormat
format = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"format" SDL_DisplayMode
x0
, w :: CInt
w = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"w" SDL_DisplayMode
x0
, pixel_density :: CFloat
pixel_density = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"pixel_density" SDL_DisplayMode
x0
, refresh_rate :: CFloat
refresh_rate = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"refresh_rate" SDL_DisplayMode
x0
, refresh_rate_numerator :: CInt
refresh_rate_numerator = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"refresh_rate_numerator" SDL_DisplayMode
x0
, refresh_rate_denominator :: CInt
refresh_rate_denominator = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"refresh_rate_denominator" SDL_DisplayMode
x0
, internal :: Ptr SDL_DisplayModeData
internal = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"internal" SDL_DisplayMode
x0
}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"h" SDL_DisplayMode
x0
)
instance
(ty ~ BG.CInt)
=> BG.HasField "h" (BG.Ptr SDL_DisplayMode) (BG.Ptr ty)
where
getField :: Ptr SDL_DisplayMode -> Ptr ty
getField = Proxy "h"
-> Ptr SDL_DisplayMode -> Ptr (CFieldType SDL_DisplayMode "h")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"h")
instance HasCField.HasCField SDL_DisplayMode "h" where
type CFieldType SDL_DisplayMode "h" = BG.CInt
offset# :: Proxy# SDL_DisplayMode -> Proxy# "h" -> Int
offset# = \Proxy# SDL_DisplayMode
_ -> \Proxy# "h"
_ -> Int
12
instance
(ty ~ BG.CFloat)
=> BG.CompatHasField.HasField "pixel_density" SDL_DisplayMode ty
where
hasField :: SDL_DisplayMode -> (ty -> SDL_DisplayMode, ty)
hasField =
\SDL_DisplayMode
x0 ->
( \ty
y1 ->
SDL_DisplayMode
{ pixel_density :: CFloat
pixel_density = ty
CFloat
y1
, displayID :: SDL_DisplayID
displayID = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"displayID" SDL_DisplayMode
x0
, format :: SDL_PixelFormat
format = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"format" SDL_DisplayMode
x0
, w :: CInt
w = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"w" SDL_DisplayMode
x0
, h :: CInt
h = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"h" SDL_DisplayMode
x0
, refresh_rate :: CFloat
refresh_rate = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"refresh_rate" SDL_DisplayMode
x0
, refresh_rate_numerator :: CInt
refresh_rate_numerator = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"refresh_rate_numerator" SDL_DisplayMode
x0
, refresh_rate_denominator :: CInt
refresh_rate_denominator = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"refresh_rate_denominator" SDL_DisplayMode
x0
, internal :: Ptr SDL_DisplayModeData
internal = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"internal" SDL_DisplayMode
x0
}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"pixel_density" SDL_DisplayMode
x0
)
instance
(ty ~ BG.CFloat)
=> BG.HasField "pixel_density" (BG.Ptr SDL_DisplayMode) (BG.Ptr ty)
where
getField :: Ptr SDL_DisplayMode -> Ptr ty
getField =
Proxy "pixel_density"
-> Ptr SDL_DisplayMode
-> Ptr (CFieldType SDL_DisplayMode "pixel_density")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"pixel_density")
instance HasCField.HasCField SDL_DisplayMode "pixel_density" where
type
CFieldType SDL_DisplayMode "pixel_density" =
BG.CFloat
offset# :: Proxy# SDL_DisplayMode -> Proxy# "pixel_density" -> Int
offset# = \Proxy# SDL_DisplayMode
_ -> \Proxy# "pixel_density"
_ -> Int
16
instance
(ty ~ BG.CFloat)
=> BG.CompatHasField.HasField "refresh_rate" SDL_DisplayMode ty
where
hasField :: SDL_DisplayMode -> (ty -> SDL_DisplayMode, ty)
hasField =
\SDL_DisplayMode
x0 ->
( \ty
y1 ->
SDL_DisplayMode
{ refresh_rate :: CFloat
refresh_rate = ty
CFloat
y1
, displayID :: SDL_DisplayID
displayID = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"displayID" SDL_DisplayMode
x0
, format :: SDL_PixelFormat
format = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"format" SDL_DisplayMode
x0
, w :: CInt
w = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"w" SDL_DisplayMode
x0
, h :: CInt
h = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"h" SDL_DisplayMode
x0
, pixel_density :: CFloat
pixel_density = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"pixel_density" SDL_DisplayMode
x0
, refresh_rate_numerator :: CInt
refresh_rate_numerator = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"refresh_rate_numerator" SDL_DisplayMode
x0
, refresh_rate_denominator :: CInt
refresh_rate_denominator = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"refresh_rate_denominator" SDL_DisplayMode
x0
, internal :: Ptr SDL_DisplayModeData
internal = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"internal" SDL_DisplayMode
x0
}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"refresh_rate" SDL_DisplayMode
x0
)
instance
(ty ~ BG.CFloat)
=> BG.HasField "refresh_rate" (BG.Ptr SDL_DisplayMode) (BG.Ptr ty)
where
getField :: Ptr SDL_DisplayMode -> Ptr ty
getField =
Proxy "refresh_rate"
-> Ptr SDL_DisplayMode
-> Ptr (CFieldType SDL_DisplayMode "refresh_rate")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"refresh_rate")
instance HasCField.HasCField SDL_DisplayMode "refresh_rate" where
type
CFieldType SDL_DisplayMode "refresh_rate" =
BG.CFloat
offset# :: Proxy# SDL_DisplayMode -> Proxy# "refresh_rate" -> Int
offset# = \Proxy# SDL_DisplayMode
_ -> \Proxy# "refresh_rate"
_ -> Int
20
instance
(ty ~ BG.CInt)
=> BG.CompatHasField.HasField "refresh_rate_numerator" SDL_DisplayMode ty
where
hasField :: SDL_DisplayMode -> (ty -> SDL_DisplayMode, ty)
hasField =
\SDL_DisplayMode
x0 ->
( \ty
y1 ->
SDL_DisplayMode
{ refresh_rate_numerator :: CInt
refresh_rate_numerator = ty
CInt
y1
, displayID :: SDL_DisplayID
displayID = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"displayID" SDL_DisplayMode
x0
, format :: SDL_PixelFormat
format = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"format" SDL_DisplayMode
x0
, w :: CInt
w = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"w" SDL_DisplayMode
x0
, h :: CInt
h = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"h" SDL_DisplayMode
x0
, pixel_density :: CFloat
pixel_density = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"pixel_density" SDL_DisplayMode
x0
, refresh_rate :: CFloat
refresh_rate = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"refresh_rate" SDL_DisplayMode
x0
, refresh_rate_denominator :: CInt
refresh_rate_denominator = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"refresh_rate_denominator" SDL_DisplayMode
x0
, internal :: Ptr SDL_DisplayModeData
internal = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"internal" SDL_DisplayMode
x0
}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"refresh_rate_numerator" SDL_DisplayMode
x0
)
instance
(ty ~ BG.CInt)
=> BG.HasField "refresh_rate_numerator" (BG.Ptr SDL_DisplayMode) (BG.Ptr ty)
where
getField :: Ptr SDL_DisplayMode -> Ptr ty
getField =
Proxy "refresh_rate_numerator"
-> Ptr SDL_DisplayMode
-> Ptr (CFieldType SDL_DisplayMode "refresh_rate_numerator")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"refresh_rate_numerator")
instance HasCField.HasCField SDL_DisplayMode "refresh_rate_numerator" where
type
CFieldType SDL_DisplayMode "refresh_rate_numerator" =
BG.CInt
offset# :: Proxy# SDL_DisplayMode -> Proxy# "refresh_rate_numerator" -> Int
offset# = \Proxy# SDL_DisplayMode
_ -> \Proxy# "refresh_rate_numerator"
_ -> Int
24
instance
(ty ~ BG.CInt)
=> BG.CompatHasField.HasField "refresh_rate_denominator" SDL_DisplayMode ty
where
hasField :: SDL_DisplayMode -> (ty -> SDL_DisplayMode, ty)
hasField =
\SDL_DisplayMode
x0 ->
( \ty
y1 ->
SDL_DisplayMode
{ refresh_rate_denominator :: CInt
refresh_rate_denominator = ty
CInt
y1
, displayID :: SDL_DisplayID
displayID = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"displayID" SDL_DisplayMode
x0
, format :: SDL_PixelFormat
format = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"format" SDL_DisplayMode
x0
, w :: CInt
w = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"w" SDL_DisplayMode
x0
, h :: CInt
h = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"h" SDL_DisplayMode
x0
, pixel_density :: CFloat
pixel_density = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"pixel_density" SDL_DisplayMode
x0
, refresh_rate :: CFloat
refresh_rate = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"refresh_rate" SDL_DisplayMode
x0
, refresh_rate_numerator :: CInt
refresh_rate_numerator = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"refresh_rate_numerator" SDL_DisplayMode
x0
, internal :: Ptr SDL_DisplayModeData
internal = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"internal" SDL_DisplayMode
x0
}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"refresh_rate_denominator" SDL_DisplayMode
x0
)
instance
(ty ~ BG.CInt)
=> BG.HasField "refresh_rate_denominator" (BG.Ptr SDL_DisplayMode) (BG.Ptr ty)
where
getField :: Ptr SDL_DisplayMode -> Ptr ty
getField =
Proxy "refresh_rate_denominator"
-> Ptr SDL_DisplayMode
-> Ptr (CFieldType SDL_DisplayMode "refresh_rate_denominator")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"refresh_rate_denominator")
instance HasCField.HasCField SDL_DisplayMode "refresh_rate_denominator" where
type
CFieldType SDL_DisplayMode "refresh_rate_denominator" =
BG.CInt
offset# :: Proxy# SDL_DisplayMode -> Proxy# "refresh_rate_denominator" -> Int
offset# = \Proxy# SDL_DisplayMode
_ -> \Proxy# "refresh_rate_denominator"
_ -> Int
28
instance
(ty ~ BG.Ptr SDL_DisplayModeData)
=> BG.CompatHasField.HasField "internal" SDL_DisplayMode ty
where
hasField :: SDL_DisplayMode -> (ty -> SDL_DisplayMode, ty)
hasField =
\SDL_DisplayMode
x0 ->
( \ty
y1 ->
SDL_DisplayMode
{ internal :: Ptr SDL_DisplayModeData
internal = ty
Ptr SDL_DisplayModeData
y1
, displayID :: SDL_DisplayID
displayID = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"displayID" SDL_DisplayMode
x0
, format :: SDL_PixelFormat
format = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"format" SDL_DisplayMode
x0
, w :: CInt
w = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"w" SDL_DisplayMode
x0
, h :: CInt
h = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"h" SDL_DisplayMode
x0
, pixel_density :: CFloat
pixel_density = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"pixel_density" SDL_DisplayMode
x0
, refresh_rate :: CFloat
refresh_rate = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"refresh_rate" SDL_DisplayMode
x0
, refresh_rate_numerator :: CInt
refresh_rate_numerator = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"refresh_rate_numerator" SDL_DisplayMode
x0
, refresh_rate_denominator :: CInt
refresh_rate_denominator = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"refresh_rate_denominator" SDL_DisplayMode
x0
}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"internal" SDL_DisplayMode
x0
)
instance
(ty ~ BG.Ptr SDL_DisplayModeData)
=> BG.HasField "internal" (BG.Ptr SDL_DisplayMode) (BG.Ptr ty)
where
getField :: Ptr SDL_DisplayMode -> Ptr ty
getField = Proxy "internal"
-> Ptr SDL_DisplayMode
-> Ptr (CFieldType SDL_DisplayMode "internal")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"internal")
instance HasCField.HasCField SDL_DisplayMode "internal" where
type
CFieldType SDL_DisplayMode "internal" =
BG.Ptr SDL_DisplayModeData
offset# :: Proxy# SDL_DisplayMode -> Proxy# "internal" -> Int
offset# = \Proxy# SDL_DisplayMode
_ -> \Proxy# "internal"
_ -> Int
32
newtype SDL_DisplayOrientation = SDL_DisplayOrientation
{ SDL_DisplayOrientation -> CUInt
unwrap :: BG.CUInt
}
deriving stock ((forall x. SDL_DisplayOrientation -> Rep SDL_DisplayOrientation x)
-> (forall x.
Rep SDL_DisplayOrientation x -> SDL_DisplayOrientation)
-> Generic SDL_DisplayOrientation
forall x. Rep SDL_DisplayOrientation x -> SDL_DisplayOrientation
forall x. SDL_DisplayOrientation -> Rep SDL_DisplayOrientation x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. SDL_DisplayOrientation -> Rep SDL_DisplayOrientation x
from :: forall x. SDL_DisplayOrientation -> Rep SDL_DisplayOrientation x
$cto :: forall x. Rep SDL_DisplayOrientation x -> SDL_DisplayOrientation
to :: forall x. Rep SDL_DisplayOrientation x -> SDL_DisplayOrientation
BG.Generic, SDL_DisplayOrientation -> SDL_DisplayOrientation -> Bool
(SDL_DisplayOrientation -> SDL_DisplayOrientation -> Bool)
-> (SDL_DisplayOrientation -> SDL_DisplayOrientation -> Bool)
-> Eq SDL_DisplayOrientation
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SDL_DisplayOrientation -> SDL_DisplayOrientation -> Bool
== :: SDL_DisplayOrientation -> SDL_DisplayOrientation -> Bool
$c/= :: SDL_DisplayOrientation -> SDL_DisplayOrientation -> Bool
/= :: SDL_DisplayOrientation -> SDL_DisplayOrientation -> Bool
Eq, Eq SDL_DisplayOrientation
Eq SDL_DisplayOrientation =>
(SDL_DisplayOrientation -> SDL_DisplayOrientation -> Ordering)
-> (SDL_DisplayOrientation -> SDL_DisplayOrientation -> Bool)
-> (SDL_DisplayOrientation -> SDL_DisplayOrientation -> Bool)
-> (SDL_DisplayOrientation -> SDL_DisplayOrientation -> Bool)
-> (SDL_DisplayOrientation -> SDL_DisplayOrientation -> Bool)
-> (SDL_DisplayOrientation
-> SDL_DisplayOrientation -> SDL_DisplayOrientation)
-> (SDL_DisplayOrientation
-> SDL_DisplayOrientation -> SDL_DisplayOrientation)
-> Ord SDL_DisplayOrientation
SDL_DisplayOrientation -> SDL_DisplayOrientation -> Bool
SDL_DisplayOrientation -> SDL_DisplayOrientation -> Ordering
SDL_DisplayOrientation
-> SDL_DisplayOrientation -> SDL_DisplayOrientation
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: SDL_DisplayOrientation -> SDL_DisplayOrientation -> Ordering
compare :: SDL_DisplayOrientation -> SDL_DisplayOrientation -> Ordering
$c< :: SDL_DisplayOrientation -> SDL_DisplayOrientation -> Bool
< :: SDL_DisplayOrientation -> SDL_DisplayOrientation -> Bool
$c<= :: SDL_DisplayOrientation -> SDL_DisplayOrientation -> Bool
<= :: SDL_DisplayOrientation -> SDL_DisplayOrientation -> Bool
$c> :: SDL_DisplayOrientation -> SDL_DisplayOrientation -> Bool
> :: SDL_DisplayOrientation -> SDL_DisplayOrientation -> Bool
$c>= :: SDL_DisplayOrientation -> SDL_DisplayOrientation -> Bool
>= :: SDL_DisplayOrientation -> SDL_DisplayOrientation -> Bool
$cmax :: SDL_DisplayOrientation
-> SDL_DisplayOrientation -> SDL_DisplayOrientation
max :: SDL_DisplayOrientation
-> SDL_DisplayOrientation -> SDL_DisplayOrientation
$cmin :: SDL_DisplayOrientation
-> SDL_DisplayOrientation -> SDL_DisplayOrientation
min :: SDL_DisplayOrientation
-> SDL_DisplayOrientation -> SDL_DisplayOrientation
Ord)
deriving newtype (FFIType SDL_DisplayOrientation -> SDL_DisplayOrientation
SDL_DisplayOrientation -> FFIType SDL_DisplayOrientation
(SDL_DisplayOrientation -> FFIType SDL_DisplayOrientation)
-> (FFIType SDL_DisplayOrientation -> SDL_DisplayOrientation)
-> HasFFIType SDL_DisplayOrientation
forall a. (a -> FFIType a) -> (FFIType a -> a) -> HasFFIType a
$ctoFFIType :: SDL_DisplayOrientation -> FFIType SDL_DisplayOrientation
toFFIType :: SDL_DisplayOrientation -> FFIType SDL_DisplayOrientation
$cfromFFIType :: FFIType SDL_DisplayOrientation -> SDL_DisplayOrientation
fromFFIType :: FFIType SDL_DisplayOrientation -> SDL_DisplayOrientation
BG.HasFFIType)
instance Marshal.StaticSize SDL_DisplayOrientation where
staticSizeOf :: Proxy SDL_DisplayOrientation -> Int
staticSizeOf = \Proxy SDL_DisplayOrientation
_ -> (Int
4 :: Int)
staticAlignment :: Proxy SDL_DisplayOrientation -> Int
staticAlignment = \Proxy SDL_DisplayOrientation
_ -> (Int
4 :: Int)
instance Marshal.ReadRaw SDL_DisplayOrientation where
readRaw :: Ptr SDL_DisplayOrientation -> IO SDL_DisplayOrientation
readRaw =
\Ptr SDL_DisplayOrientation
ptr0 ->
(CUInt -> SDL_DisplayOrientation)
-> IO (CUInt -> SDL_DisplayOrientation)
forall a. a -> IO a
forall (f :: * -> *) a. Applicative f => a -> f a
pure CUInt -> SDL_DisplayOrientation
SDL_DisplayOrientation
IO (CUInt -> SDL_DisplayOrientation)
-> IO CUInt -> IO SDL_DisplayOrientation
forall a b. IO (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
<*> Ptr SDL_DisplayOrientation -> Int -> IO CUInt
forall a b. ReadRaw a => Ptr b -> Int -> IO a
Marshal.readRawByteOff Ptr SDL_DisplayOrientation
ptr0 (Int
0 :: Int)
instance Marshal.WriteRaw SDL_DisplayOrientation where
writeRaw :: Ptr SDL_DisplayOrientation -> SDL_DisplayOrientation -> IO ()
writeRaw =
\Ptr SDL_DisplayOrientation
ptr0 ->
\SDL_DisplayOrientation
s1 ->
case SDL_DisplayOrientation
s1 of
SDL_DisplayOrientation CUInt
unwrap2 ->
Ptr SDL_DisplayOrientation -> Int -> CUInt -> IO ()
forall a b. WriteRaw a => Ptr b -> Int -> a -> IO ()
Marshal.writeRawByteOff Ptr SDL_DisplayOrientation
ptr0 (Int
0 :: Int) CUInt
unwrap2
deriving via
Marshal.EquivStorable SDL_DisplayOrientation
instance
BG.Storable SDL_DisplayOrientation
deriving via BG.CUInt instance BG.Prim SDL_DisplayOrientation
instance CEnum.CEnum SDL_DisplayOrientation where
type CEnumZ SDL_DisplayOrientation = BG.CUInt
toCEnum :: CEnumZ SDL_DisplayOrientation -> SDL_DisplayOrientation
toCEnum = CUInt -> SDL_DisplayOrientation
CEnumZ SDL_DisplayOrientation -> SDL_DisplayOrientation
SDL_DisplayOrientation
fromCEnum :: SDL_DisplayOrientation -> CEnumZ SDL_DisplayOrientation
fromCEnum = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap"
declaredValues :: forall (proxy :: * -> *).
proxy SDL_DisplayOrientation
-> DeclaredValues SDL_DisplayOrientation
declaredValues =
\proxy SDL_DisplayOrientation
_ ->
[(CEnumZ SDL_DisplayOrientation, NonEmpty String)]
-> DeclaredValues SDL_DisplayOrientation
forall a.
Ord (CEnumZ a) =>
[(CEnumZ a, NonEmpty String)] -> DeclaredValues a
CEnum.declaredValuesFromList
[ (CUInt
CEnumZ SDL_DisplayOrientation
0, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_ORIENTATION_UNKNOWN")
, (CUInt
CEnumZ SDL_DisplayOrientation
1, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_ORIENTATION_LANDSCAPE")
, (CUInt
CEnumZ SDL_DisplayOrientation
2, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_ORIENTATION_LANDSCAPE_FLIPPED")
, (CUInt
CEnumZ SDL_DisplayOrientation
3, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_ORIENTATION_PORTRAIT")
, (CUInt
CEnumZ SDL_DisplayOrientation
4, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_ORIENTATION_PORTRAIT_FLIPPED")
]
showsUndeclared :: forall (proxy :: * -> *).
proxy SDL_DisplayOrientation
-> Int -> CEnumZ SDL_DisplayOrientation -> ShowS
showsUndeclared =
String
-> proxy SDL_DisplayOrientation
-> Int
-> CEnumZ SDL_DisplayOrientation
-> ShowS
forall a (proxy :: * -> *).
Show (CEnumZ a) =>
String -> proxy a -> Int -> CEnumZ a -> ShowS
CEnum.showsWrappedUndeclared String
"SDL_DisplayOrientation"
readPrecUndeclared :: ReadPrec SDL_DisplayOrientation
readPrecUndeclared =
String -> ReadPrec SDL_DisplayOrientation
forall a. (CEnum a, Read (CEnumZ a)) => String -> ReadPrec a
CEnum.readPrecWrappedUndeclared String
"SDL_DisplayOrientation"
isDeclared :: SDL_DisplayOrientation -> Bool
isDeclared = SDL_DisplayOrientation -> Bool
forall a. SequentialCEnum a => a -> Bool
CEnum.seqIsDeclared
mkDeclared :: CEnumZ SDL_DisplayOrientation -> Maybe SDL_DisplayOrientation
mkDeclared = CEnumZ SDL_DisplayOrientation -> Maybe SDL_DisplayOrientation
forall a. SequentialCEnum a => CEnumZ a -> Maybe a
CEnum.seqMkDeclared
instance CEnum.SequentialCEnum SDL_DisplayOrientation where
minDeclaredValue :: SDL_DisplayOrientation
minDeclaredValue = SDL_DisplayOrientation
SDL_ORIENTATION_UNKNOWN
maxDeclaredValue :: SDL_DisplayOrientation
maxDeclaredValue = SDL_DisplayOrientation
SDL_ORIENTATION_PORTRAIT_FLIPPED
instance Show SDL_DisplayOrientation where
showsPrec :: Int -> SDL_DisplayOrientation -> ShowS
showsPrec = Int -> SDL_DisplayOrientation -> ShowS
forall a. CEnum a => Int -> a -> ShowS
CEnum.shows
instance Read SDL_DisplayOrientation where
readPrec :: ReadPrec SDL_DisplayOrientation
readPrec = ReadPrec SDL_DisplayOrientation
forall a. CEnum a => ReadPrec a
CEnum.readPrec
readList :: ReadS [SDL_DisplayOrientation]
readList = ReadS [SDL_DisplayOrientation]
forall a. Read a => ReadS [a]
BG.readListDefault
readListPrec :: ReadPrec [SDL_DisplayOrientation]
readListPrec = ReadPrec [SDL_DisplayOrientation]
forall a. Read a => ReadPrec [a]
BG.readListPrecDefault
instance
(ty ~ BG.CUInt)
=> BG.CompatHasField.HasField "unwrap" SDL_DisplayOrientation ty
where
hasField :: SDL_DisplayOrientation -> (ty -> SDL_DisplayOrientation, ty)
hasField =
\SDL_DisplayOrientation
x0 ->
( \ty
y1 ->
SDL_DisplayOrientation{unwrap :: CUInt
unwrap = ty
CUInt
y1}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_DisplayOrientation
x0
)
instance
(ty ~ BG.CUInt)
=> BG.HasField "unwrap" (BG.Ptr SDL_DisplayOrientation) (BG.Ptr ty)
where
getField :: Ptr SDL_DisplayOrientation -> Ptr ty
getField = Proxy "unwrap"
-> Ptr SDL_DisplayOrientation
-> Ptr (CFieldType SDL_DisplayOrientation "unwrap")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"unwrap")
instance HasCField.HasCField SDL_DisplayOrientation "unwrap" where
type
CFieldType SDL_DisplayOrientation "unwrap" =
BG.CUInt
offset# :: Proxy# SDL_DisplayOrientation -> Proxy# "unwrap" -> Int
offset# = \Proxy# SDL_DisplayOrientation
_ -> \Proxy# "unwrap"
_ -> Int
0
pattern SDL_ORIENTATION_UNKNOWN :: SDL_DisplayOrientation
pattern $mSDL_ORIENTATION_UNKNOWN :: forall {r}.
SDL_DisplayOrientation -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_ORIENTATION_UNKNOWN :: SDL_DisplayOrientation
SDL_ORIENTATION_UNKNOWN = SDL_DisplayOrientation 0
pattern SDL_ORIENTATION_LANDSCAPE :: SDL_DisplayOrientation
pattern $mSDL_ORIENTATION_LANDSCAPE :: forall {r}.
SDL_DisplayOrientation -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_ORIENTATION_LANDSCAPE :: SDL_DisplayOrientation
SDL_ORIENTATION_LANDSCAPE = SDL_DisplayOrientation 1
pattern SDL_ORIENTATION_LANDSCAPE_FLIPPED :: SDL_DisplayOrientation
pattern $mSDL_ORIENTATION_LANDSCAPE_FLIPPED :: forall {r}.
SDL_DisplayOrientation -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_ORIENTATION_LANDSCAPE_FLIPPED :: SDL_DisplayOrientation
SDL_ORIENTATION_LANDSCAPE_FLIPPED = SDL_DisplayOrientation 2
pattern SDL_ORIENTATION_PORTRAIT :: SDL_DisplayOrientation
pattern $mSDL_ORIENTATION_PORTRAIT :: forall {r}.
SDL_DisplayOrientation -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_ORIENTATION_PORTRAIT :: SDL_DisplayOrientation
SDL_ORIENTATION_PORTRAIT = SDL_DisplayOrientation 3
pattern SDL_ORIENTATION_PORTRAIT_FLIPPED :: SDL_DisplayOrientation
pattern $mSDL_ORIENTATION_PORTRAIT_FLIPPED :: forall {r}.
SDL_DisplayOrientation -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_ORIENTATION_PORTRAIT_FLIPPED :: SDL_DisplayOrientation
SDL_ORIENTATION_PORTRAIT_FLIPPED = SDL_DisplayOrientation 4
data SDL_Window
newtype SDL_WindowFlags = SDL_WindowFlags
{ SDL_WindowFlags -> Uint64
unwrap :: SDL3.Sys.Bindgen.Stdinc.Uint64
}
deriving stock ((forall x. SDL_WindowFlags -> Rep SDL_WindowFlags x)
-> (forall x. Rep SDL_WindowFlags x -> SDL_WindowFlags)
-> Generic SDL_WindowFlags
forall x. Rep SDL_WindowFlags x -> SDL_WindowFlags
forall x. SDL_WindowFlags -> Rep SDL_WindowFlags x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. SDL_WindowFlags -> Rep SDL_WindowFlags x
from :: forall x. SDL_WindowFlags -> Rep SDL_WindowFlags x
$cto :: forall x. Rep SDL_WindowFlags x -> SDL_WindowFlags
to :: forall x. Rep SDL_WindowFlags x -> SDL_WindowFlags
BG.Generic, SDL_WindowFlags -> SDL_WindowFlags -> Bool
(SDL_WindowFlags -> SDL_WindowFlags -> Bool)
-> (SDL_WindowFlags -> SDL_WindowFlags -> Bool)
-> Eq SDL_WindowFlags
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SDL_WindowFlags -> SDL_WindowFlags -> Bool
== :: SDL_WindowFlags -> SDL_WindowFlags -> Bool
$c/= :: SDL_WindowFlags -> SDL_WindowFlags -> Bool
/= :: SDL_WindowFlags -> SDL_WindowFlags -> Bool
Eq, Eq SDL_WindowFlags
Eq SDL_WindowFlags =>
(SDL_WindowFlags -> SDL_WindowFlags -> Ordering)
-> (SDL_WindowFlags -> SDL_WindowFlags -> Bool)
-> (SDL_WindowFlags -> SDL_WindowFlags -> Bool)
-> (SDL_WindowFlags -> SDL_WindowFlags -> Bool)
-> (SDL_WindowFlags -> SDL_WindowFlags -> Bool)
-> (SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags)
-> (SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags)
-> Ord SDL_WindowFlags
SDL_WindowFlags -> SDL_WindowFlags -> Bool
SDL_WindowFlags -> SDL_WindowFlags -> Ordering
SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: SDL_WindowFlags -> SDL_WindowFlags -> Ordering
compare :: SDL_WindowFlags -> SDL_WindowFlags -> Ordering
$c< :: SDL_WindowFlags -> SDL_WindowFlags -> Bool
< :: SDL_WindowFlags -> SDL_WindowFlags -> Bool
$c<= :: SDL_WindowFlags -> SDL_WindowFlags -> Bool
<= :: SDL_WindowFlags -> SDL_WindowFlags -> Bool
$c> :: SDL_WindowFlags -> SDL_WindowFlags -> Bool
> :: SDL_WindowFlags -> SDL_WindowFlags -> Bool
$c>= :: SDL_WindowFlags -> SDL_WindowFlags -> Bool
>= :: SDL_WindowFlags -> SDL_WindowFlags -> Bool
$cmax :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags
max :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags
$cmin :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags
min :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags
Ord, ReadPrec [SDL_WindowFlags]
ReadPrec SDL_WindowFlags
Int -> ReadS SDL_WindowFlags
ReadS [SDL_WindowFlags]
(Int -> ReadS SDL_WindowFlags)
-> ReadS [SDL_WindowFlags]
-> ReadPrec SDL_WindowFlags
-> ReadPrec [SDL_WindowFlags]
-> Read SDL_WindowFlags
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
$creadsPrec :: Int -> ReadS SDL_WindowFlags
readsPrec :: Int -> ReadS SDL_WindowFlags
$creadList :: ReadS [SDL_WindowFlags]
readList :: ReadS [SDL_WindowFlags]
$creadPrec :: ReadPrec SDL_WindowFlags
readPrec :: ReadPrec SDL_WindowFlags
$creadListPrec :: ReadPrec [SDL_WindowFlags]
readListPrec :: ReadPrec [SDL_WindowFlags]
Read, Int -> SDL_WindowFlags -> ShowS
[SDL_WindowFlags] -> ShowS
SDL_WindowFlags -> String
(Int -> SDL_WindowFlags -> ShowS)
-> (SDL_WindowFlags -> String)
-> ([SDL_WindowFlags] -> ShowS)
-> Show SDL_WindowFlags
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SDL_WindowFlags -> ShowS
showsPrec :: Int -> SDL_WindowFlags -> ShowS
$cshow :: SDL_WindowFlags -> String
show :: SDL_WindowFlags -> String
$cshowList :: [SDL_WindowFlags] -> ShowS
showList :: [SDL_WindowFlags] -> ShowS
Show)
deriving newtype
( Word64 -> Int -> SDL_WindowFlags
SDL_WindowFlags -> Int -> Word64
(SDL_WindowFlags -> Int -> Word64)
-> (Word64 -> Int -> SDL_WindowFlags) -> Bitfield SDL_WindowFlags
forall a.
(a -> Int -> Word64) -> (Word64 -> Int -> a) -> Bitfield a
$cnarrow :: SDL_WindowFlags -> Int -> Word64
narrow :: SDL_WindowFlags -> Int -> Word64
$cextend :: Word64 -> Int -> SDL_WindowFlags
extend :: Word64 -> Int -> SDL_WindowFlags
BG.Bitfield
, Eq SDL_WindowFlags
SDL_WindowFlags
Eq SDL_WindowFlags =>
(SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags)
-> (SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags)
-> (SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags)
-> (SDL_WindowFlags -> SDL_WindowFlags)
-> (SDL_WindowFlags -> Int -> SDL_WindowFlags)
-> (SDL_WindowFlags -> Int -> SDL_WindowFlags)
-> SDL_WindowFlags
-> (Int -> SDL_WindowFlags)
-> (SDL_WindowFlags -> Int -> SDL_WindowFlags)
-> (SDL_WindowFlags -> Int -> SDL_WindowFlags)
-> (SDL_WindowFlags -> Int -> SDL_WindowFlags)
-> (SDL_WindowFlags -> Int -> Bool)
-> (SDL_WindowFlags -> Maybe Int)
-> (SDL_WindowFlags -> Int)
-> (SDL_WindowFlags -> Bool)
-> (SDL_WindowFlags -> Int -> SDL_WindowFlags)
-> (SDL_WindowFlags -> Int -> SDL_WindowFlags)
-> (SDL_WindowFlags -> Int -> SDL_WindowFlags)
-> (SDL_WindowFlags -> Int -> SDL_WindowFlags)
-> (SDL_WindowFlags -> Int -> SDL_WindowFlags)
-> (SDL_WindowFlags -> Int -> SDL_WindowFlags)
-> (SDL_WindowFlags -> Int)
-> Bits SDL_WindowFlags
Int -> SDL_WindowFlags
SDL_WindowFlags -> Bool
SDL_WindowFlags -> Int
SDL_WindowFlags -> Maybe Int
SDL_WindowFlags -> SDL_WindowFlags
SDL_WindowFlags -> Int -> Bool
SDL_WindowFlags -> Int -> SDL_WindowFlags
SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags
forall a.
Eq a =>
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> a
-> (Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> Bool)
-> (a -> Maybe Int)
-> (a -> Int)
-> (a -> Bool)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int)
-> Bits a
$c.&. :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags
.&. :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags
$c.|. :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags
.|. :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags
$cxor :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags
xor :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags
$ccomplement :: SDL_WindowFlags -> SDL_WindowFlags
complement :: SDL_WindowFlags -> SDL_WindowFlags
$cshift :: SDL_WindowFlags -> Int -> SDL_WindowFlags
shift :: SDL_WindowFlags -> Int -> SDL_WindowFlags
$crotate :: SDL_WindowFlags -> Int -> SDL_WindowFlags
rotate :: SDL_WindowFlags -> Int -> SDL_WindowFlags
$czeroBits :: SDL_WindowFlags
zeroBits :: SDL_WindowFlags
$cbit :: Int -> SDL_WindowFlags
bit :: Int -> SDL_WindowFlags
$csetBit :: SDL_WindowFlags -> Int -> SDL_WindowFlags
setBit :: SDL_WindowFlags -> Int -> SDL_WindowFlags
$cclearBit :: SDL_WindowFlags -> Int -> SDL_WindowFlags
clearBit :: SDL_WindowFlags -> Int -> SDL_WindowFlags
$ccomplementBit :: SDL_WindowFlags -> Int -> SDL_WindowFlags
complementBit :: SDL_WindowFlags -> Int -> SDL_WindowFlags
$ctestBit :: SDL_WindowFlags -> Int -> Bool
testBit :: SDL_WindowFlags -> Int -> Bool
$cbitSizeMaybe :: SDL_WindowFlags -> Maybe Int
bitSizeMaybe :: SDL_WindowFlags -> Maybe Int
$cbitSize :: SDL_WindowFlags -> Int
bitSize :: SDL_WindowFlags -> Int
$cisSigned :: SDL_WindowFlags -> Bool
isSigned :: SDL_WindowFlags -> Bool
$cshiftL :: SDL_WindowFlags -> Int -> SDL_WindowFlags
shiftL :: SDL_WindowFlags -> Int -> SDL_WindowFlags
$cunsafeShiftL :: SDL_WindowFlags -> Int -> SDL_WindowFlags
unsafeShiftL :: SDL_WindowFlags -> Int -> SDL_WindowFlags
$cshiftR :: SDL_WindowFlags -> Int -> SDL_WindowFlags
shiftR :: SDL_WindowFlags -> Int -> SDL_WindowFlags
$cunsafeShiftR :: SDL_WindowFlags -> Int -> SDL_WindowFlags
unsafeShiftR :: SDL_WindowFlags -> Int -> SDL_WindowFlags
$crotateL :: SDL_WindowFlags -> Int -> SDL_WindowFlags
rotateL :: SDL_WindowFlags -> Int -> SDL_WindowFlags
$crotateR :: SDL_WindowFlags -> Int -> SDL_WindowFlags
rotateR :: SDL_WindowFlags -> Int -> SDL_WindowFlags
$cpopCount :: SDL_WindowFlags -> Int
popCount :: SDL_WindowFlags -> Int
BG.Bits
, Bits SDL_WindowFlags
Bits SDL_WindowFlags =>
(SDL_WindowFlags -> Int)
-> (SDL_WindowFlags -> Int)
-> (SDL_WindowFlags -> Int)
-> FiniteBits SDL_WindowFlags
SDL_WindowFlags -> Int
forall b.
Bits b =>
(b -> Int) -> (b -> Int) -> (b -> Int) -> FiniteBits b
$cfiniteBitSize :: SDL_WindowFlags -> Int
finiteBitSize :: SDL_WindowFlags -> Int
$ccountLeadingZeros :: SDL_WindowFlags -> Int
countLeadingZeros :: SDL_WindowFlags -> Int
$ccountTrailingZeros :: SDL_WindowFlags -> Int
countTrailingZeros :: SDL_WindowFlags -> Int
BG.FiniteBits
, FFIType SDL_WindowFlags -> SDL_WindowFlags
SDL_WindowFlags -> FFIType SDL_WindowFlags
(SDL_WindowFlags -> FFIType SDL_WindowFlags)
-> (FFIType SDL_WindowFlags -> SDL_WindowFlags)
-> HasFFIType SDL_WindowFlags
forall a. (a -> FFIType a) -> (FFIType a -> a) -> HasFFIType a
$ctoFFIType :: SDL_WindowFlags -> FFIType SDL_WindowFlags
toFFIType :: SDL_WindowFlags -> FFIType SDL_WindowFlags
$cfromFFIType :: FFIType SDL_WindowFlags -> SDL_WindowFlags
fromFFIType :: FFIType SDL_WindowFlags -> SDL_WindowFlags
BG.HasFFIType
, Ord SDL_WindowFlags
Ord SDL_WindowFlags =>
((SDL_WindowFlags, SDL_WindowFlags) -> [SDL_WindowFlags])
-> ((SDL_WindowFlags, SDL_WindowFlags) -> SDL_WindowFlags -> Int)
-> ((SDL_WindowFlags, SDL_WindowFlags) -> SDL_WindowFlags -> Int)
-> ((SDL_WindowFlags, SDL_WindowFlags) -> SDL_WindowFlags -> Bool)
-> ((SDL_WindowFlags, SDL_WindowFlags) -> Int)
-> ((SDL_WindowFlags, SDL_WindowFlags) -> Int)
-> Ix SDL_WindowFlags
(SDL_WindowFlags, SDL_WindowFlags) -> Int
(SDL_WindowFlags, SDL_WindowFlags) -> [SDL_WindowFlags]
(SDL_WindowFlags, SDL_WindowFlags) -> SDL_WindowFlags -> Bool
(SDL_WindowFlags, SDL_WindowFlags) -> SDL_WindowFlags -> Int
forall a.
Ord a =>
((a, a) -> [a])
-> ((a, a) -> a -> Int)
-> ((a, a) -> a -> Int)
-> ((a, a) -> a -> Bool)
-> ((a, a) -> Int)
-> ((a, a) -> Int)
-> Ix a
$crange :: (SDL_WindowFlags, SDL_WindowFlags) -> [SDL_WindowFlags]
range :: (SDL_WindowFlags, SDL_WindowFlags) -> [SDL_WindowFlags]
$cindex :: (SDL_WindowFlags, SDL_WindowFlags) -> SDL_WindowFlags -> Int
index :: (SDL_WindowFlags, SDL_WindowFlags) -> SDL_WindowFlags -> Int
$cunsafeIndex :: (SDL_WindowFlags, SDL_WindowFlags) -> SDL_WindowFlags -> Int
unsafeIndex :: (SDL_WindowFlags, SDL_WindowFlags) -> SDL_WindowFlags -> Int
$cinRange :: (SDL_WindowFlags, SDL_WindowFlags) -> SDL_WindowFlags -> Bool
inRange :: (SDL_WindowFlags, SDL_WindowFlags) -> SDL_WindowFlags -> Bool
$crangeSize :: (SDL_WindowFlags, SDL_WindowFlags) -> Int
rangeSize :: (SDL_WindowFlags, SDL_WindowFlags) -> Int
$cunsafeRangeSize :: (SDL_WindowFlags, SDL_WindowFlags) -> Int
unsafeRangeSize :: (SDL_WindowFlags, SDL_WindowFlags) -> Int
BG.Ix
, Addr# -> Int# -> SDL_WindowFlags
ByteArray# -> Int# -> SDL_WindowFlags
Proxy SDL_WindowFlags -> Int#
SDL_WindowFlags -> Int#
(Proxy SDL_WindowFlags -> Int#)
-> (SDL_WindowFlags -> Int#)
-> (Proxy SDL_WindowFlags -> Int#)
-> (SDL_WindowFlags -> Int#)
-> (ByteArray# -> Int# -> SDL_WindowFlags)
-> (forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_WindowFlags #))
-> (forall s.
MutableByteArray# s
-> Int# -> SDL_WindowFlags -> State# s -> State# s)
-> (forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_WindowFlags -> State# s -> State# s)
-> (Addr# -> Int# -> SDL_WindowFlags)
-> (forall s.
Addr# -> Int# -> State# s -> (# State# s, SDL_WindowFlags #))
-> (forall s.
Addr# -> Int# -> SDL_WindowFlags -> State# s -> State# s)
-> (forall s.
Addr# -> Int# -> Int# -> SDL_WindowFlags -> State# s -> State# s)
-> Prim SDL_WindowFlags
forall s.
Addr# -> Int# -> Int# -> SDL_WindowFlags -> State# s -> State# s
forall s.
Addr# -> Int# -> State# s -> (# State# s, SDL_WindowFlags #)
forall s. Addr# -> Int# -> SDL_WindowFlags -> State# s -> State# s
forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_WindowFlags -> State# s -> State# s
forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_WindowFlags #)
forall s.
MutableByteArray# s
-> Int# -> SDL_WindowFlags -> State# s -> State# s
forall a.
(Proxy a -> Int#)
-> (a -> Int#)
-> (Proxy a -> Int#)
-> (a -> Int#)
-> (ByteArray# -> Int# -> a)
-> (forall s.
MutableByteArray# s -> Int# -> State# s -> (# State# s, a #))
-> (forall s.
MutableByteArray# s -> Int# -> a -> State# s -> State# s)
-> (forall s.
MutableByteArray# s -> Int# -> Int# -> a -> State# s -> State# s)
-> (Addr# -> Int# -> a)
-> (forall s. Addr# -> Int# -> State# s -> (# State# s, a #))
-> (forall s. Addr# -> Int# -> a -> State# s -> State# s)
-> (forall s. Addr# -> Int# -> Int# -> a -> State# s -> State# s)
-> Prim a
$csizeOfType# :: Proxy SDL_WindowFlags -> Int#
sizeOfType# :: Proxy SDL_WindowFlags -> Int#
$csizeOf# :: SDL_WindowFlags -> Int#
sizeOf# :: SDL_WindowFlags -> Int#
$calignmentOfType# :: Proxy SDL_WindowFlags -> Int#
alignmentOfType# :: Proxy SDL_WindowFlags -> Int#
$calignment# :: SDL_WindowFlags -> Int#
alignment# :: SDL_WindowFlags -> Int#
$cindexByteArray# :: ByteArray# -> Int# -> SDL_WindowFlags
indexByteArray# :: ByteArray# -> Int# -> SDL_WindowFlags
$creadByteArray# :: forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_WindowFlags #)
readByteArray# :: forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_WindowFlags #)
$cwriteByteArray# :: forall s.
MutableByteArray# s
-> Int# -> SDL_WindowFlags -> State# s -> State# s
writeByteArray# :: forall s.
MutableByteArray# s
-> Int# -> SDL_WindowFlags -> State# s -> State# s
$csetByteArray# :: forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_WindowFlags -> State# s -> State# s
setByteArray# :: forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_WindowFlags -> State# s -> State# s
$cindexOffAddr# :: Addr# -> Int# -> SDL_WindowFlags
indexOffAddr# :: Addr# -> Int# -> SDL_WindowFlags
$creadOffAddr# :: forall s.
Addr# -> Int# -> State# s -> (# State# s, SDL_WindowFlags #)
readOffAddr# :: forall s.
Addr# -> Int# -> State# s -> (# State# s, SDL_WindowFlags #)
$cwriteOffAddr# :: forall s. Addr# -> Int# -> SDL_WindowFlags -> State# s -> State# s
writeOffAddr# :: forall s. Addr# -> Int# -> SDL_WindowFlags -> State# s -> State# s
$csetOffAddr# :: forall s.
Addr# -> Int# -> Int# -> SDL_WindowFlags -> State# s -> State# s
setOffAddr# :: forall s.
Addr# -> Int# -> Int# -> SDL_WindowFlags -> State# s -> State# s
BG.Prim
, Ptr SDL_WindowFlags -> IO SDL_WindowFlags
Ptr SDL_WindowFlags -> Int -> IO SDL_WindowFlags
Ptr SDL_WindowFlags -> Int -> SDL_WindowFlags -> IO ()
Ptr SDL_WindowFlags -> SDL_WindowFlags -> IO ()
SDL_WindowFlags -> Int
(SDL_WindowFlags -> Int)
-> (SDL_WindowFlags -> Int)
-> (Ptr SDL_WindowFlags -> Int -> IO SDL_WindowFlags)
-> (Ptr SDL_WindowFlags -> Int -> SDL_WindowFlags -> IO ())
-> (forall b. Ptr b -> Int -> IO SDL_WindowFlags)
-> (forall b. Ptr b -> Int -> SDL_WindowFlags -> IO ())
-> (Ptr SDL_WindowFlags -> IO SDL_WindowFlags)
-> (Ptr SDL_WindowFlags -> SDL_WindowFlags -> IO ())
-> Storable SDL_WindowFlags
forall b. Ptr b -> Int -> IO SDL_WindowFlags
forall b. Ptr b -> Int -> SDL_WindowFlags -> IO ()
forall a.
(a -> Int)
-> (a -> Int)
-> (Ptr a -> Int -> IO a)
-> (Ptr a -> Int -> a -> IO ())
-> (forall b. Ptr b -> Int -> IO a)
-> (forall b. Ptr b -> Int -> a -> IO ())
-> (Ptr a -> IO a)
-> (Ptr a -> a -> IO ())
-> Storable a
$csizeOf :: SDL_WindowFlags -> Int
sizeOf :: SDL_WindowFlags -> Int
$calignment :: SDL_WindowFlags -> Int
alignment :: SDL_WindowFlags -> Int
$cpeekElemOff :: Ptr SDL_WindowFlags -> Int -> IO SDL_WindowFlags
peekElemOff :: Ptr SDL_WindowFlags -> Int -> IO SDL_WindowFlags
$cpokeElemOff :: Ptr SDL_WindowFlags -> Int -> SDL_WindowFlags -> IO ()
pokeElemOff :: Ptr SDL_WindowFlags -> Int -> SDL_WindowFlags -> IO ()
$cpeekByteOff :: forall b. Ptr b -> Int -> IO SDL_WindowFlags
peekByteOff :: forall b. Ptr b -> Int -> IO SDL_WindowFlags
$cpokeByteOff :: forall b. Ptr b -> Int -> SDL_WindowFlags -> IO ()
pokeByteOff :: forall b. Ptr b -> Int -> SDL_WindowFlags -> IO ()
$cpeek :: Ptr SDL_WindowFlags -> IO SDL_WindowFlags
peek :: Ptr SDL_WindowFlags -> IO SDL_WindowFlags
$cpoke :: Ptr SDL_WindowFlags -> SDL_WindowFlags -> IO ()
poke :: Ptr SDL_WindowFlags -> SDL_WindowFlags -> IO ()
BG.Storable
, SDL_WindowFlags
SDL_WindowFlags -> SDL_WindowFlags -> Bounded SDL_WindowFlags
forall a. a -> a -> Bounded a
$cminBound :: SDL_WindowFlags
minBound :: SDL_WindowFlags
$cmaxBound :: SDL_WindowFlags
maxBound :: SDL_WindowFlags
Bounded
, Int -> SDL_WindowFlags
SDL_WindowFlags -> Int
SDL_WindowFlags -> [SDL_WindowFlags]
SDL_WindowFlags -> SDL_WindowFlags
SDL_WindowFlags -> SDL_WindowFlags -> [SDL_WindowFlags]
SDL_WindowFlags
-> SDL_WindowFlags -> SDL_WindowFlags -> [SDL_WindowFlags]
(SDL_WindowFlags -> SDL_WindowFlags)
-> (SDL_WindowFlags -> SDL_WindowFlags)
-> (Int -> SDL_WindowFlags)
-> (SDL_WindowFlags -> Int)
-> (SDL_WindowFlags -> [SDL_WindowFlags])
-> (SDL_WindowFlags -> SDL_WindowFlags -> [SDL_WindowFlags])
-> (SDL_WindowFlags -> SDL_WindowFlags -> [SDL_WindowFlags])
-> (SDL_WindowFlags
-> SDL_WindowFlags -> SDL_WindowFlags -> [SDL_WindowFlags])
-> Enum SDL_WindowFlags
forall a.
(a -> a)
-> (a -> a)
-> (Int -> a)
-> (a -> Int)
-> (a -> [a])
-> (a -> a -> [a])
-> (a -> a -> [a])
-> (a -> a -> a -> [a])
-> Enum a
$csucc :: SDL_WindowFlags -> SDL_WindowFlags
succ :: SDL_WindowFlags -> SDL_WindowFlags
$cpred :: SDL_WindowFlags -> SDL_WindowFlags
pred :: SDL_WindowFlags -> SDL_WindowFlags
$ctoEnum :: Int -> SDL_WindowFlags
toEnum :: Int -> SDL_WindowFlags
$cfromEnum :: SDL_WindowFlags -> Int
fromEnum :: SDL_WindowFlags -> Int
$cenumFrom :: SDL_WindowFlags -> [SDL_WindowFlags]
enumFrom :: SDL_WindowFlags -> [SDL_WindowFlags]
$cenumFromThen :: SDL_WindowFlags -> SDL_WindowFlags -> [SDL_WindowFlags]
enumFromThen :: SDL_WindowFlags -> SDL_WindowFlags -> [SDL_WindowFlags]
$cenumFromTo :: SDL_WindowFlags -> SDL_WindowFlags -> [SDL_WindowFlags]
enumFromTo :: SDL_WindowFlags -> SDL_WindowFlags -> [SDL_WindowFlags]
$cenumFromThenTo :: SDL_WindowFlags
-> SDL_WindowFlags -> SDL_WindowFlags -> [SDL_WindowFlags]
enumFromThenTo :: SDL_WindowFlags
-> SDL_WindowFlags -> SDL_WindowFlags -> [SDL_WindowFlags]
Enum
, Enum SDL_WindowFlags
Real SDL_WindowFlags
(Real SDL_WindowFlags, Enum SDL_WindowFlags) =>
(SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags)
-> (SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags)
-> (SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags)
-> (SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags)
-> (SDL_WindowFlags
-> SDL_WindowFlags -> (SDL_WindowFlags, SDL_WindowFlags))
-> (SDL_WindowFlags
-> SDL_WindowFlags -> (SDL_WindowFlags, SDL_WindowFlags))
-> (SDL_WindowFlags -> Integer)
-> Integral SDL_WindowFlags
SDL_WindowFlags -> Integer
SDL_WindowFlags
-> SDL_WindowFlags -> (SDL_WindowFlags, SDL_WindowFlags)
SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags
forall a.
(Real a, Enum a) =>
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> (a, a))
-> (a -> a -> (a, a))
-> (a -> Integer)
-> Integral a
$cquot :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags
quot :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags
$crem :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags
rem :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags
$cdiv :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags
div :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags
$cmod :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags
mod :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags
$cquotRem :: SDL_WindowFlags
-> SDL_WindowFlags -> (SDL_WindowFlags, SDL_WindowFlags)
quotRem :: SDL_WindowFlags
-> SDL_WindowFlags -> (SDL_WindowFlags, SDL_WindowFlags)
$cdivMod :: SDL_WindowFlags
-> SDL_WindowFlags -> (SDL_WindowFlags, SDL_WindowFlags)
divMod :: SDL_WindowFlags
-> SDL_WindowFlags -> (SDL_WindowFlags, SDL_WindowFlags)
$ctoInteger :: SDL_WindowFlags -> Integer
toInteger :: SDL_WindowFlags -> Integer
Integral
, Ptr SDL_WindowFlags -> IO SDL_WindowFlags
(Ptr SDL_WindowFlags -> IO SDL_WindowFlags)
-> ReadRaw SDL_WindowFlags
forall a. (Ptr a -> IO a) -> ReadRaw a
$creadRaw :: Ptr SDL_WindowFlags -> IO SDL_WindowFlags
readRaw :: Ptr SDL_WindowFlags -> IO SDL_WindowFlags
Marshal.ReadRaw
, Proxy SDL_WindowFlags -> Int
(Proxy SDL_WindowFlags -> Int)
-> (Proxy SDL_WindowFlags -> Int) -> StaticSize SDL_WindowFlags
forall a. (Proxy a -> Int) -> (Proxy a -> Int) -> StaticSize a
$cstaticSizeOf :: Proxy SDL_WindowFlags -> Int
staticSizeOf :: Proxy SDL_WindowFlags -> Int
$cstaticAlignment :: Proxy SDL_WindowFlags -> Int
staticAlignment :: Proxy SDL_WindowFlags -> Int
Marshal.StaticSize
, Ptr SDL_WindowFlags -> SDL_WindowFlags -> IO ()
(Ptr SDL_WindowFlags -> SDL_WindowFlags -> IO ())
-> WriteRaw SDL_WindowFlags
forall a. (Ptr a -> a -> IO ()) -> WriteRaw a
$cwriteRaw :: Ptr SDL_WindowFlags -> SDL_WindowFlags -> IO ()
writeRaw :: Ptr SDL_WindowFlags -> SDL_WindowFlags -> IO ()
Marshal.WriteRaw
, Integer -> SDL_WindowFlags
SDL_WindowFlags -> SDL_WindowFlags
SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags
(SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags)
-> (SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags)
-> (SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags)
-> (SDL_WindowFlags -> SDL_WindowFlags)
-> (SDL_WindowFlags -> SDL_WindowFlags)
-> (SDL_WindowFlags -> SDL_WindowFlags)
-> (Integer -> SDL_WindowFlags)
-> Num SDL_WindowFlags
forall a.
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a)
-> (a -> a)
-> (a -> a)
-> (Integer -> a)
-> Num a
$c+ :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags
+ :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags
$c- :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags
- :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags
$c* :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags
* :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags
$cnegate :: SDL_WindowFlags -> SDL_WindowFlags
negate :: SDL_WindowFlags -> SDL_WindowFlags
$cabs :: SDL_WindowFlags -> SDL_WindowFlags
abs :: SDL_WindowFlags -> SDL_WindowFlags
$csignum :: SDL_WindowFlags -> SDL_WindowFlags
signum :: SDL_WindowFlags -> SDL_WindowFlags
$cfromInteger :: Integer -> SDL_WindowFlags
fromInteger :: Integer -> SDL_WindowFlags
Num
, Num SDL_WindowFlags
Ord SDL_WindowFlags
(Num SDL_WindowFlags, Ord SDL_WindowFlags) =>
(SDL_WindowFlags -> Rational) -> Real SDL_WindowFlags
SDL_WindowFlags -> Rational
forall a. (Num a, Ord a) => (a -> Rational) -> Real a
$ctoRational :: SDL_WindowFlags -> Rational
toRational :: SDL_WindowFlags -> Rational
Real
)
instance
(ty ~ SDL3.Sys.Bindgen.Stdinc.Uint64)
=> BG.CompatHasField.HasField "unwrap" SDL_WindowFlags ty
where
hasField :: SDL_WindowFlags -> (ty -> SDL_WindowFlags, ty)
hasField =
\SDL_WindowFlags
x0 ->
( \ty
y1 ->
SDL_WindowFlags{unwrap :: Uint64
unwrap = ty
Uint64
y1}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_WindowFlags
x0
)
instance
(ty ~ SDL3.Sys.Bindgen.Stdinc.Uint64)
=> BG.HasField "unwrap" (BG.Ptr SDL_WindowFlags) (BG.Ptr ty)
where
getField :: Ptr SDL_WindowFlags -> Ptr ty
getField = Proxy "unwrap"
-> Ptr SDL_WindowFlags -> Ptr (CFieldType SDL_WindowFlags "unwrap")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"unwrap")
instance HasCField.HasCField SDL_WindowFlags "unwrap" where
type
CFieldType SDL_WindowFlags "unwrap" =
SDL3.Sys.Bindgen.Stdinc.Uint64
offset# :: Proxy# SDL_WindowFlags -> Proxy# "unwrap" -> Int
offset# = \Proxy# SDL_WindowFlags
_ -> \Proxy# "unwrap"
_ -> Int
0
sDL_WINDOWPOS_UNDEFINED_MASK :: BG.CUInt
sDL_WINDOWPOS_UNDEFINED_MASK :: CUInt
sDL_WINDOWPOS_UNDEFINED_MASK =
(CUInt
536805376 :: BG.CUInt)
sDL_WINDOWPOS_UNDEFINED_DISPLAY
:: forall a0. (C.Expr.HostPlatform.Bitwise BG.CUInt a0) => a0 -> C.Expr.HostPlatform.BitsRes BG.CUInt a0
sDL_WINDOWPOS_UNDEFINED_DISPLAY :: forall a0. Bitwise CUInt a0 => a0 -> BitsRes CUInt a0
sDL_WINDOWPOS_UNDEFINED_DISPLAY =
\a0
x0 ->
CUInt -> a0 -> BitsRes CUInt a0
forall a b. Bitwise a b => a -> b -> BitsRes a b
(C.Expr.HostPlatform..|.) CUInt
sDL_WINDOWPOS_UNDEFINED_MASK a0
x0
sDL_WINDOWPOS_UNDEFINED :: BG.CUInt
sDL_WINDOWPOS_UNDEFINED :: CUInt
sDL_WINDOWPOS_UNDEFINED =
CInt -> BitsRes CUInt CInt
forall a0. Bitwise CUInt a0 => a0 -> BitsRes CUInt a0
sDL_WINDOWPOS_UNDEFINED_DISPLAY (CInt
0 :: BG.CInt)
sDL_WINDOWPOS_ISUNDEFINED
:: forall a0
. (C.Expr.HostPlatform.RelEq (C.Expr.HostPlatform.BitsRes a0 BG.CInt) BG.CUInt)
=> (C.Expr.HostPlatform.Bitwise a0 BG.CInt)
=> a0 -> BG.CInt
sDL_WINDOWPOS_ISUNDEFINED :: forall a0.
(RelEq (BitsRes a0 CInt) CUInt, Bitwise a0 CInt) =>
a0 -> CInt
sDL_WINDOWPOS_ISUNDEFINED =
\a0
x0 ->
BitsRes a0 CInt -> CUInt -> CInt
forall a b. RelEq a b => a -> b -> CInt
(C.Expr.HostPlatform.==)
(a0 -> CInt -> BitsRes a0 CInt
forall a b. Bitwise a b => a -> b -> BitsRes a b
(C.Expr.HostPlatform..&.) a0
x0 (CInt
4294901760 :: BG.CInt))
CUInt
sDL_WINDOWPOS_UNDEFINED_MASK
sDL_WINDOWPOS_CENTERED_MASK :: BG.CUInt
sDL_WINDOWPOS_CENTERED_MASK :: CUInt
sDL_WINDOWPOS_CENTERED_MASK = (CUInt
805240832 :: BG.CUInt)
sDL_WINDOWPOS_CENTERED_DISPLAY
:: forall a0. (C.Expr.HostPlatform.Bitwise BG.CUInt a0) => a0 -> C.Expr.HostPlatform.BitsRes BG.CUInt a0
sDL_WINDOWPOS_CENTERED_DISPLAY :: forall a0. Bitwise CUInt a0 => a0 -> BitsRes CUInt a0
sDL_WINDOWPOS_CENTERED_DISPLAY =
\a0
x0 ->
CUInt -> a0 -> BitsRes CUInt a0
forall a b. Bitwise a b => a -> b -> BitsRes a b
(C.Expr.HostPlatform..|.) CUInt
sDL_WINDOWPOS_CENTERED_MASK a0
x0
sDL_WINDOWPOS_CENTERED :: BG.CUInt
sDL_WINDOWPOS_CENTERED :: CUInt
sDL_WINDOWPOS_CENTERED =
CInt -> BitsRes CUInt CInt
forall a0. Bitwise CUInt a0 => a0 -> BitsRes CUInt a0
sDL_WINDOWPOS_CENTERED_DISPLAY (CInt
0 :: BG.CInt)
sDL_WINDOWPOS_ISCENTERED
:: forall a0
. (C.Expr.HostPlatform.RelEq (C.Expr.HostPlatform.BitsRes a0 BG.CInt) BG.CUInt)
=> (C.Expr.HostPlatform.Bitwise a0 BG.CInt)
=> a0 -> BG.CInt
sDL_WINDOWPOS_ISCENTERED :: forall a0.
(RelEq (BitsRes a0 CInt) CUInt, Bitwise a0 CInt) =>
a0 -> CInt
sDL_WINDOWPOS_ISCENTERED =
\a0
x0 ->
BitsRes a0 CInt -> CUInt -> CInt
forall a b. RelEq a b => a -> b -> CInt
(C.Expr.HostPlatform.==)
(a0 -> CInt -> BitsRes a0 CInt
forall a b. Bitwise a b => a -> b -> BitsRes a b
(C.Expr.HostPlatform..&.) a0
x0 (CInt
4294901760 :: BG.CInt))
CUInt
sDL_WINDOWPOS_CENTERED_MASK
newtype SDL_FlashOperation = SDL_FlashOperation
{ SDL_FlashOperation -> CUInt
unwrap :: BG.CUInt
}
deriving stock ((forall x. SDL_FlashOperation -> Rep SDL_FlashOperation x)
-> (forall x. Rep SDL_FlashOperation x -> SDL_FlashOperation)
-> Generic SDL_FlashOperation
forall x. Rep SDL_FlashOperation x -> SDL_FlashOperation
forall x. SDL_FlashOperation -> Rep SDL_FlashOperation x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. SDL_FlashOperation -> Rep SDL_FlashOperation x
from :: forall x. SDL_FlashOperation -> Rep SDL_FlashOperation x
$cto :: forall x. Rep SDL_FlashOperation x -> SDL_FlashOperation
to :: forall x. Rep SDL_FlashOperation x -> SDL_FlashOperation
BG.Generic, SDL_FlashOperation -> SDL_FlashOperation -> Bool
(SDL_FlashOperation -> SDL_FlashOperation -> Bool)
-> (SDL_FlashOperation -> SDL_FlashOperation -> Bool)
-> Eq SDL_FlashOperation
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SDL_FlashOperation -> SDL_FlashOperation -> Bool
== :: SDL_FlashOperation -> SDL_FlashOperation -> Bool
$c/= :: SDL_FlashOperation -> SDL_FlashOperation -> Bool
/= :: SDL_FlashOperation -> SDL_FlashOperation -> Bool
Eq, Eq SDL_FlashOperation
Eq SDL_FlashOperation =>
(SDL_FlashOperation -> SDL_FlashOperation -> Ordering)
-> (SDL_FlashOperation -> SDL_FlashOperation -> Bool)
-> (SDL_FlashOperation -> SDL_FlashOperation -> Bool)
-> (SDL_FlashOperation -> SDL_FlashOperation -> Bool)
-> (SDL_FlashOperation -> SDL_FlashOperation -> Bool)
-> (SDL_FlashOperation -> SDL_FlashOperation -> SDL_FlashOperation)
-> (SDL_FlashOperation -> SDL_FlashOperation -> SDL_FlashOperation)
-> Ord SDL_FlashOperation
SDL_FlashOperation -> SDL_FlashOperation -> Bool
SDL_FlashOperation -> SDL_FlashOperation -> Ordering
SDL_FlashOperation -> SDL_FlashOperation -> SDL_FlashOperation
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: SDL_FlashOperation -> SDL_FlashOperation -> Ordering
compare :: SDL_FlashOperation -> SDL_FlashOperation -> Ordering
$c< :: SDL_FlashOperation -> SDL_FlashOperation -> Bool
< :: SDL_FlashOperation -> SDL_FlashOperation -> Bool
$c<= :: SDL_FlashOperation -> SDL_FlashOperation -> Bool
<= :: SDL_FlashOperation -> SDL_FlashOperation -> Bool
$c> :: SDL_FlashOperation -> SDL_FlashOperation -> Bool
> :: SDL_FlashOperation -> SDL_FlashOperation -> Bool
$c>= :: SDL_FlashOperation -> SDL_FlashOperation -> Bool
>= :: SDL_FlashOperation -> SDL_FlashOperation -> Bool
$cmax :: SDL_FlashOperation -> SDL_FlashOperation -> SDL_FlashOperation
max :: SDL_FlashOperation -> SDL_FlashOperation -> SDL_FlashOperation
$cmin :: SDL_FlashOperation -> SDL_FlashOperation -> SDL_FlashOperation
min :: SDL_FlashOperation -> SDL_FlashOperation -> SDL_FlashOperation
Ord)
deriving newtype (FFIType SDL_FlashOperation -> SDL_FlashOperation
SDL_FlashOperation -> FFIType SDL_FlashOperation
(SDL_FlashOperation -> FFIType SDL_FlashOperation)
-> (FFIType SDL_FlashOperation -> SDL_FlashOperation)
-> HasFFIType SDL_FlashOperation
forall a. (a -> FFIType a) -> (FFIType a -> a) -> HasFFIType a
$ctoFFIType :: SDL_FlashOperation -> FFIType SDL_FlashOperation
toFFIType :: SDL_FlashOperation -> FFIType SDL_FlashOperation
$cfromFFIType :: FFIType SDL_FlashOperation -> SDL_FlashOperation
fromFFIType :: FFIType SDL_FlashOperation -> SDL_FlashOperation
BG.HasFFIType)
instance Marshal.StaticSize SDL_FlashOperation where
staticSizeOf :: Proxy SDL_FlashOperation -> Int
staticSizeOf = \Proxy SDL_FlashOperation
_ -> (Int
4 :: Int)
staticAlignment :: Proxy SDL_FlashOperation -> Int
staticAlignment = \Proxy SDL_FlashOperation
_ -> (Int
4 :: Int)
instance Marshal.ReadRaw SDL_FlashOperation where
readRaw :: Ptr SDL_FlashOperation -> IO SDL_FlashOperation
readRaw =
\Ptr SDL_FlashOperation
ptr0 ->
(CUInt -> SDL_FlashOperation) -> IO (CUInt -> SDL_FlashOperation)
forall a. a -> IO a
forall (f :: * -> *) a. Applicative f => a -> f a
pure CUInt -> SDL_FlashOperation
SDL_FlashOperation
IO (CUInt -> SDL_FlashOperation)
-> IO CUInt -> IO SDL_FlashOperation
forall a b. IO (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
<*> Ptr SDL_FlashOperation -> Int -> IO CUInt
forall a b. ReadRaw a => Ptr b -> Int -> IO a
Marshal.readRawByteOff Ptr SDL_FlashOperation
ptr0 (Int
0 :: Int)
instance Marshal.WriteRaw SDL_FlashOperation where
writeRaw :: Ptr SDL_FlashOperation -> SDL_FlashOperation -> IO ()
writeRaw =
\Ptr SDL_FlashOperation
ptr0 ->
\SDL_FlashOperation
s1 ->
case SDL_FlashOperation
s1 of
SDL_FlashOperation CUInt
unwrap2 ->
Ptr SDL_FlashOperation -> Int -> CUInt -> IO ()
forall a b. WriteRaw a => Ptr b -> Int -> a -> IO ()
Marshal.writeRawByteOff Ptr SDL_FlashOperation
ptr0 (Int
0 :: Int) CUInt
unwrap2
deriving via Marshal.EquivStorable SDL_FlashOperation instance BG.Storable SDL_FlashOperation
deriving via BG.CUInt instance BG.Prim SDL_FlashOperation
instance CEnum.CEnum SDL_FlashOperation where
type CEnumZ SDL_FlashOperation = BG.CUInt
toCEnum :: CEnumZ SDL_FlashOperation -> SDL_FlashOperation
toCEnum = CUInt -> SDL_FlashOperation
CEnumZ SDL_FlashOperation -> SDL_FlashOperation
SDL_FlashOperation
fromCEnum :: SDL_FlashOperation -> CEnumZ SDL_FlashOperation
fromCEnum = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap"
declaredValues :: forall (proxy :: * -> *).
proxy SDL_FlashOperation -> DeclaredValues SDL_FlashOperation
declaredValues =
\proxy SDL_FlashOperation
_ ->
[(CEnumZ SDL_FlashOperation, NonEmpty String)]
-> DeclaredValues SDL_FlashOperation
forall a.
Ord (CEnumZ a) =>
[(CEnumZ a, NonEmpty String)] -> DeclaredValues a
CEnum.declaredValuesFromList
[ (CUInt
CEnumZ SDL_FlashOperation
0, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_FLASH_CANCEL")
, (CUInt
CEnumZ SDL_FlashOperation
1, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_FLASH_BRIEFLY")
, (CUInt
CEnumZ SDL_FlashOperation
2, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_FLASH_UNTIL_FOCUSED")
]
showsUndeclared :: forall (proxy :: * -> *).
proxy SDL_FlashOperation
-> Int -> CEnumZ SDL_FlashOperation -> ShowS
showsUndeclared =
String
-> proxy SDL_FlashOperation
-> Int
-> CEnumZ SDL_FlashOperation
-> ShowS
forall a (proxy :: * -> *).
Show (CEnumZ a) =>
String -> proxy a -> Int -> CEnumZ a -> ShowS
CEnum.showsWrappedUndeclared String
"SDL_FlashOperation"
readPrecUndeclared :: ReadPrec SDL_FlashOperation
readPrecUndeclared =
String -> ReadPrec SDL_FlashOperation
forall a. (CEnum a, Read (CEnumZ a)) => String -> ReadPrec a
CEnum.readPrecWrappedUndeclared String
"SDL_FlashOperation"
isDeclared :: SDL_FlashOperation -> Bool
isDeclared = SDL_FlashOperation -> Bool
forall a. SequentialCEnum a => a -> Bool
CEnum.seqIsDeclared
mkDeclared :: CEnumZ SDL_FlashOperation -> Maybe SDL_FlashOperation
mkDeclared = CEnumZ SDL_FlashOperation -> Maybe SDL_FlashOperation
forall a. SequentialCEnum a => CEnumZ a -> Maybe a
CEnum.seqMkDeclared
instance CEnum.SequentialCEnum SDL_FlashOperation where
minDeclaredValue :: SDL_FlashOperation
minDeclaredValue = SDL_FlashOperation
SDL_FLASH_CANCEL
maxDeclaredValue :: SDL_FlashOperation
maxDeclaredValue = SDL_FlashOperation
SDL_FLASH_UNTIL_FOCUSED
instance Show SDL_FlashOperation where
showsPrec :: Int -> SDL_FlashOperation -> ShowS
showsPrec = Int -> SDL_FlashOperation -> ShowS
forall a. CEnum a => Int -> a -> ShowS
CEnum.shows
instance Read SDL_FlashOperation where
readPrec :: ReadPrec SDL_FlashOperation
readPrec = ReadPrec SDL_FlashOperation
forall a. CEnum a => ReadPrec a
CEnum.readPrec
readList :: ReadS [SDL_FlashOperation]
readList = ReadS [SDL_FlashOperation]
forall a. Read a => ReadS [a]
BG.readListDefault
readListPrec :: ReadPrec [SDL_FlashOperation]
readListPrec = ReadPrec [SDL_FlashOperation]
forall a. Read a => ReadPrec [a]
BG.readListPrecDefault
instance
(ty ~ BG.CUInt)
=> BG.CompatHasField.HasField "unwrap" SDL_FlashOperation ty
where
hasField :: SDL_FlashOperation -> (ty -> SDL_FlashOperation, ty)
hasField =
\SDL_FlashOperation
x0 ->
( \ty
y1 ->
SDL_FlashOperation{unwrap :: CUInt
unwrap = ty
CUInt
y1}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_FlashOperation
x0
)
instance
(ty ~ BG.CUInt)
=> BG.HasField "unwrap" (BG.Ptr SDL_FlashOperation) (BG.Ptr ty)
where
getField :: Ptr SDL_FlashOperation -> Ptr ty
getField = Proxy "unwrap"
-> Ptr SDL_FlashOperation
-> Ptr (CFieldType SDL_FlashOperation "unwrap")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"unwrap")
instance HasCField.HasCField SDL_FlashOperation "unwrap" where
type
CFieldType SDL_FlashOperation "unwrap" =
BG.CUInt
offset# :: Proxy# SDL_FlashOperation -> Proxy# "unwrap" -> Int
offset# = \Proxy# SDL_FlashOperation
_ -> \Proxy# "unwrap"
_ -> Int
0
pattern SDL_FLASH_CANCEL :: SDL_FlashOperation
pattern $mSDL_FLASH_CANCEL :: forall {r}. SDL_FlashOperation -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_FLASH_CANCEL :: SDL_FlashOperation
SDL_FLASH_CANCEL = SDL_FlashOperation 0
pattern SDL_FLASH_BRIEFLY :: SDL_FlashOperation
pattern $mSDL_FLASH_BRIEFLY :: forall {r}. SDL_FlashOperation -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_FLASH_BRIEFLY :: SDL_FlashOperation
SDL_FLASH_BRIEFLY = SDL_FlashOperation 1
pattern SDL_FLASH_UNTIL_FOCUSED :: SDL_FlashOperation
pattern $mSDL_FLASH_UNTIL_FOCUSED :: forall {r}. SDL_FlashOperation -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_FLASH_UNTIL_FOCUSED :: SDL_FlashOperation
SDL_FLASH_UNTIL_FOCUSED = SDL_FlashOperation 2
newtype SDL_ProgressState = SDL_ProgressState
{ SDL_ProgressState -> CInt
unwrap :: BG.CInt
}
deriving stock ((forall x. SDL_ProgressState -> Rep SDL_ProgressState x)
-> (forall x. Rep SDL_ProgressState x -> SDL_ProgressState)
-> Generic SDL_ProgressState
forall x. Rep SDL_ProgressState x -> SDL_ProgressState
forall x. SDL_ProgressState -> Rep SDL_ProgressState x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. SDL_ProgressState -> Rep SDL_ProgressState x
from :: forall x. SDL_ProgressState -> Rep SDL_ProgressState x
$cto :: forall x. Rep SDL_ProgressState x -> SDL_ProgressState
to :: forall x. Rep SDL_ProgressState x -> SDL_ProgressState
BG.Generic, SDL_ProgressState -> SDL_ProgressState -> Bool
(SDL_ProgressState -> SDL_ProgressState -> Bool)
-> (SDL_ProgressState -> SDL_ProgressState -> Bool)
-> Eq SDL_ProgressState
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SDL_ProgressState -> SDL_ProgressState -> Bool
== :: SDL_ProgressState -> SDL_ProgressState -> Bool
$c/= :: SDL_ProgressState -> SDL_ProgressState -> Bool
/= :: SDL_ProgressState -> SDL_ProgressState -> Bool
Eq, Eq SDL_ProgressState
Eq SDL_ProgressState =>
(SDL_ProgressState -> SDL_ProgressState -> Ordering)
-> (SDL_ProgressState -> SDL_ProgressState -> Bool)
-> (SDL_ProgressState -> SDL_ProgressState -> Bool)
-> (SDL_ProgressState -> SDL_ProgressState -> Bool)
-> (SDL_ProgressState -> SDL_ProgressState -> Bool)
-> (SDL_ProgressState -> SDL_ProgressState -> SDL_ProgressState)
-> (SDL_ProgressState -> SDL_ProgressState -> SDL_ProgressState)
-> Ord SDL_ProgressState
SDL_ProgressState -> SDL_ProgressState -> Bool
SDL_ProgressState -> SDL_ProgressState -> Ordering
SDL_ProgressState -> SDL_ProgressState -> SDL_ProgressState
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: SDL_ProgressState -> SDL_ProgressState -> Ordering
compare :: SDL_ProgressState -> SDL_ProgressState -> Ordering
$c< :: SDL_ProgressState -> SDL_ProgressState -> Bool
< :: SDL_ProgressState -> SDL_ProgressState -> Bool
$c<= :: SDL_ProgressState -> SDL_ProgressState -> Bool
<= :: SDL_ProgressState -> SDL_ProgressState -> Bool
$c> :: SDL_ProgressState -> SDL_ProgressState -> Bool
> :: SDL_ProgressState -> SDL_ProgressState -> Bool
$c>= :: SDL_ProgressState -> SDL_ProgressState -> Bool
>= :: SDL_ProgressState -> SDL_ProgressState -> Bool
$cmax :: SDL_ProgressState -> SDL_ProgressState -> SDL_ProgressState
max :: SDL_ProgressState -> SDL_ProgressState -> SDL_ProgressState
$cmin :: SDL_ProgressState -> SDL_ProgressState -> SDL_ProgressState
min :: SDL_ProgressState -> SDL_ProgressState -> SDL_ProgressState
Ord)
deriving newtype (FFIType SDL_ProgressState -> SDL_ProgressState
SDL_ProgressState -> FFIType SDL_ProgressState
(SDL_ProgressState -> FFIType SDL_ProgressState)
-> (FFIType SDL_ProgressState -> SDL_ProgressState)
-> HasFFIType SDL_ProgressState
forall a. (a -> FFIType a) -> (FFIType a -> a) -> HasFFIType a
$ctoFFIType :: SDL_ProgressState -> FFIType SDL_ProgressState
toFFIType :: SDL_ProgressState -> FFIType SDL_ProgressState
$cfromFFIType :: FFIType SDL_ProgressState -> SDL_ProgressState
fromFFIType :: FFIType SDL_ProgressState -> SDL_ProgressState
BG.HasFFIType)
instance Marshal.StaticSize SDL_ProgressState where
staticSizeOf :: Proxy SDL_ProgressState -> Int
staticSizeOf = \Proxy SDL_ProgressState
_ -> (Int
4 :: Int)
staticAlignment :: Proxy SDL_ProgressState -> Int
staticAlignment = \Proxy SDL_ProgressState
_ -> (Int
4 :: Int)
instance Marshal.ReadRaw SDL_ProgressState where
readRaw :: Ptr SDL_ProgressState -> IO SDL_ProgressState
readRaw =
\Ptr SDL_ProgressState
ptr0 ->
(CInt -> SDL_ProgressState) -> IO (CInt -> SDL_ProgressState)
forall a. a -> IO a
forall (f :: * -> *) a. Applicative f => a -> f a
pure CInt -> SDL_ProgressState
SDL_ProgressState
IO (CInt -> SDL_ProgressState) -> IO CInt -> IO SDL_ProgressState
forall a b. IO (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
<*> Ptr SDL_ProgressState -> Int -> IO CInt
forall a b. ReadRaw a => Ptr b -> Int -> IO a
Marshal.readRawByteOff Ptr SDL_ProgressState
ptr0 (Int
0 :: Int)
instance Marshal.WriteRaw SDL_ProgressState where
writeRaw :: Ptr SDL_ProgressState -> SDL_ProgressState -> IO ()
writeRaw =
\Ptr SDL_ProgressState
ptr0 ->
\SDL_ProgressState
s1 ->
case SDL_ProgressState
s1 of
SDL_ProgressState CInt
unwrap2 ->
Ptr SDL_ProgressState -> Int -> CInt -> IO ()
forall a b. WriteRaw a => Ptr b -> Int -> a -> IO ()
Marshal.writeRawByteOff Ptr SDL_ProgressState
ptr0 (Int
0 :: Int) CInt
unwrap2
deriving via Marshal.EquivStorable SDL_ProgressState instance BG.Storable SDL_ProgressState
deriving via BG.CInt instance BG.Prim SDL_ProgressState
instance CEnum.CEnum SDL_ProgressState where
type CEnumZ SDL_ProgressState = BG.CInt
toCEnum :: CEnumZ SDL_ProgressState -> SDL_ProgressState
toCEnum = CInt -> SDL_ProgressState
CEnumZ SDL_ProgressState -> SDL_ProgressState
SDL_ProgressState
fromCEnum :: SDL_ProgressState -> CEnumZ SDL_ProgressState
fromCEnum = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap"
declaredValues :: forall (proxy :: * -> *).
proxy SDL_ProgressState -> DeclaredValues SDL_ProgressState
declaredValues =
\proxy SDL_ProgressState
_ ->
[(CEnumZ SDL_ProgressState, NonEmpty String)]
-> DeclaredValues SDL_ProgressState
forall a.
Ord (CEnumZ a) =>
[(CEnumZ a, NonEmpty String)] -> DeclaredValues a
CEnum.declaredValuesFromList
[ (-CInt
1, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_PROGRESS_STATE_INVALID")
, (CInt
CEnumZ SDL_ProgressState
0, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_PROGRESS_STATE_NONE")
, (CInt
CEnumZ SDL_ProgressState
1, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_PROGRESS_STATE_INDETERMINATE")
, (CInt
CEnumZ SDL_ProgressState
2, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_PROGRESS_STATE_NORMAL")
, (CInt
CEnumZ SDL_ProgressState
3, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_PROGRESS_STATE_PAUSED")
, (CInt
CEnumZ SDL_ProgressState
4, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_PROGRESS_STATE_ERROR")
]
showsUndeclared :: forall (proxy :: * -> *).
proxy SDL_ProgressState -> Int -> CEnumZ SDL_ProgressState -> ShowS
showsUndeclared =
String
-> proxy SDL_ProgressState
-> Int
-> CEnumZ SDL_ProgressState
-> ShowS
forall a (proxy :: * -> *).
Show (CEnumZ a) =>
String -> proxy a -> Int -> CEnumZ a -> ShowS
CEnum.showsWrappedUndeclared String
"SDL_ProgressState"
readPrecUndeclared :: ReadPrec SDL_ProgressState
readPrecUndeclared =
String -> ReadPrec SDL_ProgressState
forall a. (CEnum a, Read (CEnumZ a)) => String -> ReadPrec a
CEnum.readPrecWrappedUndeclared String
"SDL_ProgressState"
isDeclared :: SDL_ProgressState -> Bool
isDeclared = SDL_ProgressState -> Bool
forall a. SequentialCEnum a => a -> Bool
CEnum.seqIsDeclared
mkDeclared :: CEnumZ SDL_ProgressState -> Maybe SDL_ProgressState
mkDeclared = CEnumZ SDL_ProgressState -> Maybe SDL_ProgressState
forall a. SequentialCEnum a => CEnumZ a -> Maybe a
CEnum.seqMkDeclared
instance CEnum.SequentialCEnum SDL_ProgressState where
minDeclaredValue :: SDL_ProgressState
minDeclaredValue = SDL_ProgressState
SDL_PROGRESS_STATE_INVALID
maxDeclaredValue :: SDL_ProgressState
maxDeclaredValue = SDL_ProgressState
SDL_PROGRESS_STATE_ERROR
instance Show SDL_ProgressState where
showsPrec :: Int -> SDL_ProgressState -> ShowS
showsPrec = Int -> SDL_ProgressState -> ShowS
forall a. CEnum a => Int -> a -> ShowS
CEnum.shows
instance Read SDL_ProgressState where
readPrec :: ReadPrec SDL_ProgressState
readPrec = ReadPrec SDL_ProgressState
forall a. CEnum a => ReadPrec a
CEnum.readPrec
readList :: ReadS [SDL_ProgressState]
readList = ReadS [SDL_ProgressState]
forall a. Read a => ReadS [a]
BG.readListDefault
readListPrec :: ReadPrec [SDL_ProgressState]
readListPrec = ReadPrec [SDL_ProgressState]
forall a. Read a => ReadPrec [a]
BG.readListPrecDefault
instance
(ty ~ BG.CInt)
=> BG.CompatHasField.HasField "unwrap" SDL_ProgressState ty
where
hasField :: SDL_ProgressState -> (ty -> SDL_ProgressState, ty)
hasField =
\SDL_ProgressState
x0 ->
( \ty
y1 ->
SDL_ProgressState{unwrap :: CInt
unwrap = ty
CInt
y1}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_ProgressState
x0
)
instance
(ty ~ BG.CInt)
=> BG.HasField "unwrap" (BG.Ptr SDL_ProgressState) (BG.Ptr ty)
where
getField :: Ptr SDL_ProgressState -> Ptr ty
getField = Proxy "unwrap"
-> Ptr SDL_ProgressState
-> Ptr (CFieldType SDL_ProgressState "unwrap")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"unwrap")
instance HasCField.HasCField SDL_ProgressState "unwrap" where
type CFieldType SDL_ProgressState "unwrap" = BG.CInt
offset# :: Proxy# SDL_ProgressState -> Proxy# "unwrap" -> Int
offset# = \Proxy# SDL_ProgressState
_ -> \Proxy# "unwrap"
_ -> Int
0
pattern SDL_PROGRESS_STATE_INVALID :: SDL_ProgressState
pattern $mSDL_PROGRESS_STATE_INVALID :: forall {r}. SDL_ProgressState -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_PROGRESS_STATE_INVALID :: SDL_ProgressState
SDL_PROGRESS_STATE_INVALID = SDL_ProgressState (-1)
pattern SDL_PROGRESS_STATE_NONE :: SDL_ProgressState
pattern $mSDL_PROGRESS_STATE_NONE :: forall {r}. SDL_ProgressState -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_PROGRESS_STATE_NONE :: SDL_ProgressState
SDL_PROGRESS_STATE_NONE = SDL_ProgressState 0
pattern SDL_PROGRESS_STATE_INDETERMINATE :: SDL_ProgressState
pattern $mSDL_PROGRESS_STATE_INDETERMINATE :: forall {r}. SDL_ProgressState -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_PROGRESS_STATE_INDETERMINATE :: SDL_ProgressState
SDL_PROGRESS_STATE_INDETERMINATE = SDL_ProgressState 1
pattern SDL_PROGRESS_STATE_NORMAL :: SDL_ProgressState
pattern $mSDL_PROGRESS_STATE_NORMAL :: forall {r}. SDL_ProgressState -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_PROGRESS_STATE_NORMAL :: SDL_ProgressState
SDL_PROGRESS_STATE_NORMAL = SDL_ProgressState 2
pattern SDL_PROGRESS_STATE_PAUSED :: SDL_ProgressState
pattern $mSDL_PROGRESS_STATE_PAUSED :: forall {r}. SDL_ProgressState -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_PROGRESS_STATE_PAUSED :: SDL_ProgressState
SDL_PROGRESS_STATE_PAUSED = SDL_ProgressState 3
pattern SDL_PROGRESS_STATE_ERROR :: SDL_ProgressState
pattern $mSDL_PROGRESS_STATE_ERROR :: forall {r}. SDL_ProgressState -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_PROGRESS_STATE_ERROR :: SDL_ProgressState
SDL_PROGRESS_STATE_ERROR = SDL_ProgressState 4
data SDL_GLContextState
newtype SDL_GLContext = SDL_GLContext
{ SDL_GLContext -> Ptr SDL_GLContextState
unwrap :: BG.Ptr SDL_GLContextState
}
deriving stock ((forall x. SDL_GLContext -> Rep SDL_GLContext x)
-> (forall x. Rep SDL_GLContext x -> SDL_GLContext)
-> Generic SDL_GLContext
forall x. Rep SDL_GLContext x -> SDL_GLContext
forall x. SDL_GLContext -> Rep SDL_GLContext x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. SDL_GLContext -> Rep SDL_GLContext x
from :: forall x. SDL_GLContext -> Rep SDL_GLContext x
$cto :: forall x. Rep SDL_GLContext x -> SDL_GLContext
to :: forall x. Rep SDL_GLContext x -> SDL_GLContext
BG.Generic, SDL_GLContext -> SDL_GLContext -> Bool
(SDL_GLContext -> SDL_GLContext -> Bool)
-> (SDL_GLContext -> SDL_GLContext -> Bool) -> Eq SDL_GLContext
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SDL_GLContext -> SDL_GLContext -> Bool
== :: SDL_GLContext -> SDL_GLContext -> Bool
$c/= :: SDL_GLContext -> SDL_GLContext -> Bool
/= :: SDL_GLContext -> SDL_GLContext -> Bool
Eq, Eq SDL_GLContext
Eq SDL_GLContext =>
(SDL_GLContext -> SDL_GLContext -> Ordering)
-> (SDL_GLContext -> SDL_GLContext -> Bool)
-> (SDL_GLContext -> SDL_GLContext -> Bool)
-> (SDL_GLContext -> SDL_GLContext -> Bool)
-> (SDL_GLContext -> SDL_GLContext -> Bool)
-> (SDL_GLContext -> SDL_GLContext -> SDL_GLContext)
-> (SDL_GLContext -> SDL_GLContext -> SDL_GLContext)
-> Ord SDL_GLContext
SDL_GLContext -> SDL_GLContext -> Bool
SDL_GLContext -> SDL_GLContext -> Ordering
SDL_GLContext -> SDL_GLContext -> SDL_GLContext
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: SDL_GLContext -> SDL_GLContext -> Ordering
compare :: SDL_GLContext -> SDL_GLContext -> Ordering
$c< :: SDL_GLContext -> SDL_GLContext -> Bool
< :: SDL_GLContext -> SDL_GLContext -> Bool
$c<= :: SDL_GLContext -> SDL_GLContext -> Bool
<= :: SDL_GLContext -> SDL_GLContext -> Bool
$c> :: SDL_GLContext -> SDL_GLContext -> Bool
> :: SDL_GLContext -> SDL_GLContext -> Bool
$c>= :: SDL_GLContext -> SDL_GLContext -> Bool
>= :: SDL_GLContext -> SDL_GLContext -> Bool
$cmax :: SDL_GLContext -> SDL_GLContext -> SDL_GLContext
max :: SDL_GLContext -> SDL_GLContext -> SDL_GLContext
$cmin :: SDL_GLContext -> SDL_GLContext -> SDL_GLContext
min :: SDL_GLContext -> SDL_GLContext -> SDL_GLContext
Ord, Int -> SDL_GLContext -> ShowS
[SDL_GLContext] -> ShowS
SDL_GLContext -> String
(Int -> SDL_GLContext -> ShowS)
-> (SDL_GLContext -> String)
-> ([SDL_GLContext] -> ShowS)
-> Show SDL_GLContext
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SDL_GLContext -> ShowS
showsPrec :: Int -> SDL_GLContext -> ShowS
$cshow :: SDL_GLContext -> String
show :: SDL_GLContext -> String
$cshowList :: [SDL_GLContext] -> ShowS
showList :: [SDL_GLContext] -> ShowS
Show)
deriving newtype
( FFIType SDL_GLContext -> SDL_GLContext
SDL_GLContext -> FFIType SDL_GLContext
(SDL_GLContext -> FFIType SDL_GLContext)
-> (FFIType SDL_GLContext -> SDL_GLContext)
-> HasFFIType SDL_GLContext
forall a. (a -> FFIType a) -> (FFIType a -> a) -> HasFFIType a
$ctoFFIType :: SDL_GLContext -> FFIType SDL_GLContext
toFFIType :: SDL_GLContext -> FFIType SDL_GLContext
$cfromFFIType :: FFIType SDL_GLContext -> SDL_GLContext
fromFFIType :: FFIType SDL_GLContext -> SDL_GLContext
BG.HasFFIType
, Ptr SDL_GLContext -> IO SDL_GLContext
Ptr SDL_GLContext -> Int -> IO SDL_GLContext
Ptr SDL_GLContext -> Int -> SDL_GLContext -> IO ()
Ptr SDL_GLContext -> SDL_GLContext -> IO ()
SDL_GLContext -> Int
(SDL_GLContext -> Int)
-> (SDL_GLContext -> Int)
-> (Ptr SDL_GLContext -> Int -> IO SDL_GLContext)
-> (Ptr SDL_GLContext -> Int -> SDL_GLContext -> IO ())
-> (forall b. Ptr b -> Int -> IO SDL_GLContext)
-> (forall b. Ptr b -> Int -> SDL_GLContext -> IO ())
-> (Ptr SDL_GLContext -> IO SDL_GLContext)
-> (Ptr SDL_GLContext -> SDL_GLContext -> IO ())
-> Storable SDL_GLContext
forall b. Ptr b -> Int -> IO SDL_GLContext
forall b. Ptr b -> Int -> SDL_GLContext -> IO ()
forall a.
(a -> Int)
-> (a -> Int)
-> (Ptr a -> Int -> IO a)
-> (Ptr a -> Int -> a -> IO ())
-> (forall b. Ptr b -> Int -> IO a)
-> (forall b. Ptr b -> Int -> a -> IO ())
-> (Ptr a -> IO a)
-> (Ptr a -> a -> IO ())
-> Storable a
$csizeOf :: SDL_GLContext -> Int
sizeOf :: SDL_GLContext -> Int
$calignment :: SDL_GLContext -> Int
alignment :: SDL_GLContext -> Int
$cpeekElemOff :: Ptr SDL_GLContext -> Int -> IO SDL_GLContext
peekElemOff :: Ptr SDL_GLContext -> Int -> IO SDL_GLContext
$cpokeElemOff :: Ptr SDL_GLContext -> Int -> SDL_GLContext -> IO ()
pokeElemOff :: Ptr SDL_GLContext -> Int -> SDL_GLContext -> IO ()
$cpeekByteOff :: forall b. Ptr b -> Int -> IO SDL_GLContext
peekByteOff :: forall b. Ptr b -> Int -> IO SDL_GLContext
$cpokeByteOff :: forall b. Ptr b -> Int -> SDL_GLContext -> IO ()
pokeByteOff :: forall b. Ptr b -> Int -> SDL_GLContext -> IO ()
$cpeek :: Ptr SDL_GLContext -> IO SDL_GLContext
peek :: Ptr SDL_GLContext -> IO SDL_GLContext
$cpoke :: Ptr SDL_GLContext -> SDL_GLContext -> IO ()
poke :: Ptr SDL_GLContext -> SDL_GLContext -> IO ()
BG.Storable
, Ptr SDL_GLContext -> IO SDL_GLContext
(Ptr SDL_GLContext -> IO SDL_GLContext) -> ReadRaw SDL_GLContext
forall a. (Ptr a -> IO a) -> ReadRaw a
$creadRaw :: Ptr SDL_GLContext -> IO SDL_GLContext
readRaw :: Ptr SDL_GLContext -> IO SDL_GLContext
Marshal.ReadRaw
, Proxy SDL_GLContext -> Int
(Proxy SDL_GLContext -> Int)
-> (Proxy SDL_GLContext -> Int) -> StaticSize SDL_GLContext
forall a. (Proxy a -> Int) -> (Proxy a -> Int) -> StaticSize a
$cstaticSizeOf :: Proxy SDL_GLContext -> Int
staticSizeOf :: Proxy SDL_GLContext -> Int
$cstaticAlignment :: Proxy SDL_GLContext -> Int
staticAlignment :: Proxy SDL_GLContext -> Int
Marshal.StaticSize
, Ptr SDL_GLContext -> SDL_GLContext -> IO ()
(Ptr SDL_GLContext -> SDL_GLContext -> IO ())
-> WriteRaw SDL_GLContext
forall a. (Ptr a -> a -> IO ()) -> WriteRaw a
$cwriteRaw :: Ptr SDL_GLContext -> SDL_GLContext -> IO ()
writeRaw :: Ptr SDL_GLContext -> SDL_GLContext -> IO ()
Marshal.WriteRaw
)
instance
(ty ~ BG.Ptr SDL_GLContextState)
=> BG.CompatHasField.HasField "unwrap" SDL_GLContext ty
where
hasField :: SDL_GLContext -> (ty -> SDL_GLContext, ty)
hasField =
\SDL_GLContext
x0 ->
( \ty
y1 ->
SDL_GLContext{unwrap :: Ptr SDL_GLContextState
unwrap = ty
Ptr SDL_GLContextState
y1}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_GLContext
x0
)
instance
(ty ~ BG.Ptr SDL_GLContextState)
=> BG.HasField "unwrap" (BG.Ptr SDL_GLContext) (BG.Ptr ty)
where
getField :: Ptr SDL_GLContext -> Ptr ty
getField = Proxy "unwrap"
-> Ptr SDL_GLContext -> Ptr (CFieldType SDL_GLContext "unwrap")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"unwrap")
instance HasCField.HasCField SDL_GLContext "unwrap" where
type
CFieldType SDL_GLContext "unwrap" =
BG.Ptr SDL_GLContextState
offset# :: Proxy# SDL_GLContext -> Proxy# "unwrap" -> Int
offset# = \Proxy# SDL_GLContext
_ -> \Proxy# "unwrap"
_ -> Int
0
newtype SDL_EGLDisplay = SDL_EGLDisplay
{ SDL_EGLDisplay -> Ptr Void
unwrap :: BG.Ptr BG.Void
}
deriving stock ((forall x. SDL_EGLDisplay -> Rep SDL_EGLDisplay x)
-> (forall x. Rep SDL_EGLDisplay x -> SDL_EGLDisplay)
-> Generic SDL_EGLDisplay
forall x. Rep SDL_EGLDisplay x -> SDL_EGLDisplay
forall x. SDL_EGLDisplay -> Rep SDL_EGLDisplay x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. SDL_EGLDisplay -> Rep SDL_EGLDisplay x
from :: forall x. SDL_EGLDisplay -> Rep SDL_EGLDisplay x
$cto :: forall x. Rep SDL_EGLDisplay x -> SDL_EGLDisplay
to :: forall x. Rep SDL_EGLDisplay x -> SDL_EGLDisplay
BG.Generic, SDL_EGLDisplay -> SDL_EGLDisplay -> Bool
(SDL_EGLDisplay -> SDL_EGLDisplay -> Bool)
-> (SDL_EGLDisplay -> SDL_EGLDisplay -> Bool) -> Eq SDL_EGLDisplay
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SDL_EGLDisplay -> SDL_EGLDisplay -> Bool
== :: SDL_EGLDisplay -> SDL_EGLDisplay -> Bool
$c/= :: SDL_EGLDisplay -> SDL_EGLDisplay -> Bool
/= :: SDL_EGLDisplay -> SDL_EGLDisplay -> Bool
Eq, Eq SDL_EGLDisplay
Eq SDL_EGLDisplay =>
(SDL_EGLDisplay -> SDL_EGLDisplay -> Ordering)
-> (SDL_EGLDisplay -> SDL_EGLDisplay -> Bool)
-> (SDL_EGLDisplay -> SDL_EGLDisplay -> Bool)
-> (SDL_EGLDisplay -> SDL_EGLDisplay -> Bool)
-> (SDL_EGLDisplay -> SDL_EGLDisplay -> Bool)
-> (SDL_EGLDisplay -> SDL_EGLDisplay -> SDL_EGLDisplay)
-> (SDL_EGLDisplay -> SDL_EGLDisplay -> SDL_EGLDisplay)
-> Ord SDL_EGLDisplay
SDL_EGLDisplay -> SDL_EGLDisplay -> Bool
SDL_EGLDisplay -> SDL_EGLDisplay -> Ordering
SDL_EGLDisplay -> SDL_EGLDisplay -> SDL_EGLDisplay
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: SDL_EGLDisplay -> SDL_EGLDisplay -> Ordering
compare :: SDL_EGLDisplay -> SDL_EGLDisplay -> Ordering
$c< :: SDL_EGLDisplay -> SDL_EGLDisplay -> Bool
< :: SDL_EGLDisplay -> SDL_EGLDisplay -> Bool
$c<= :: SDL_EGLDisplay -> SDL_EGLDisplay -> Bool
<= :: SDL_EGLDisplay -> SDL_EGLDisplay -> Bool
$c> :: SDL_EGLDisplay -> SDL_EGLDisplay -> Bool
> :: SDL_EGLDisplay -> SDL_EGLDisplay -> Bool
$c>= :: SDL_EGLDisplay -> SDL_EGLDisplay -> Bool
>= :: SDL_EGLDisplay -> SDL_EGLDisplay -> Bool
$cmax :: SDL_EGLDisplay -> SDL_EGLDisplay -> SDL_EGLDisplay
max :: SDL_EGLDisplay -> SDL_EGLDisplay -> SDL_EGLDisplay
$cmin :: SDL_EGLDisplay -> SDL_EGLDisplay -> SDL_EGLDisplay
min :: SDL_EGLDisplay -> SDL_EGLDisplay -> SDL_EGLDisplay
Ord, Int -> SDL_EGLDisplay -> ShowS
[SDL_EGLDisplay] -> ShowS
SDL_EGLDisplay -> String
(Int -> SDL_EGLDisplay -> ShowS)
-> (SDL_EGLDisplay -> String)
-> ([SDL_EGLDisplay] -> ShowS)
-> Show SDL_EGLDisplay
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SDL_EGLDisplay -> ShowS
showsPrec :: Int -> SDL_EGLDisplay -> ShowS
$cshow :: SDL_EGLDisplay -> String
show :: SDL_EGLDisplay -> String
$cshowList :: [SDL_EGLDisplay] -> ShowS
showList :: [SDL_EGLDisplay] -> ShowS
Show)
deriving newtype
( FFIType SDL_EGLDisplay -> SDL_EGLDisplay
SDL_EGLDisplay -> FFIType SDL_EGLDisplay
(SDL_EGLDisplay -> FFIType SDL_EGLDisplay)
-> (FFIType SDL_EGLDisplay -> SDL_EGLDisplay)
-> HasFFIType SDL_EGLDisplay
forall a. (a -> FFIType a) -> (FFIType a -> a) -> HasFFIType a
$ctoFFIType :: SDL_EGLDisplay -> FFIType SDL_EGLDisplay
toFFIType :: SDL_EGLDisplay -> FFIType SDL_EGLDisplay
$cfromFFIType :: FFIType SDL_EGLDisplay -> SDL_EGLDisplay
fromFFIType :: FFIType SDL_EGLDisplay -> SDL_EGLDisplay
BG.HasFFIType
, Ptr SDL_EGLDisplay -> IO SDL_EGLDisplay
Ptr SDL_EGLDisplay -> Int -> IO SDL_EGLDisplay
Ptr SDL_EGLDisplay -> Int -> SDL_EGLDisplay -> IO ()
Ptr SDL_EGLDisplay -> SDL_EGLDisplay -> IO ()
SDL_EGLDisplay -> Int
(SDL_EGLDisplay -> Int)
-> (SDL_EGLDisplay -> Int)
-> (Ptr SDL_EGLDisplay -> Int -> IO SDL_EGLDisplay)
-> (Ptr SDL_EGLDisplay -> Int -> SDL_EGLDisplay -> IO ())
-> (forall b. Ptr b -> Int -> IO SDL_EGLDisplay)
-> (forall b. Ptr b -> Int -> SDL_EGLDisplay -> IO ())
-> (Ptr SDL_EGLDisplay -> IO SDL_EGLDisplay)
-> (Ptr SDL_EGLDisplay -> SDL_EGLDisplay -> IO ())
-> Storable SDL_EGLDisplay
forall b. Ptr b -> Int -> IO SDL_EGLDisplay
forall b. Ptr b -> Int -> SDL_EGLDisplay -> IO ()
forall a.
(a -> Int)
-> (a -> Int)
-> (Ptr a -> Int -> IO a)
-> (Ptr a -> Int -> a -> IO ())
-> (forall b. Ptr b -> Int -> IO a)
-> (forall b. Ptr b -> Int -> a -> IO ())
-> (Ptr a -> IO a)
-> (Ptr a -> a -> IO ())
-> Storable a
$csizeOf :: SDL_EGLDisplay -> Int
sizeOf :: SDL_EGLDisplay -> Int
$calignment :: SDL_EGLDisplay -> Int
alignment :: SDL_EGLDisplay -> Int
$cpeekElemOff :: Ptr SDL_EGLDisplay -> Int -> IO SDL_EGLDisplay
peekElemOff :: Ptr SDL_EGLDisplay -> Int -> IO SDL_EGLDisplay
$cpokeElemOff :: Ptr SDL_EGLDisplay -> Int -> SDL_EGLDisplay -> IO ()
pokeElemOff :: Ptr SDL_EGLDisplay -> Int -> SDL_EGLDisplay -> IO ()
$cpeekByteOff :: forall b. Ptr b -> Int -> IO SDL_EGLDisplay
peekByteOff :: forall b. Ptr b -> Int -> IO SDL_EGLDisplay
$cpokeByteOff :: forall b. Ptr b -> Int -> SDL_EGLDisplay -> IO ()
pokeByteOff :: forall b. Ptr b -> Int -> SDL_EGLDisplay -> IO ()
$cpeek :: Ptr SDL_EGLDisplay -> IO SDL_EGLDisplay
peek :: Ptr SDL_EGLDisplay -> IO SDL_EGLDisplay
$cpoke :: Ptr SDL_EGLDisplay -> SDL_EGLDisplay -> IO ()
poke :: Ptr SDL_EGLDisplay -> SDL_EGLDisplay -> IO ()
BG.Storable
, Ptr SDL_EGLDisplay -> IO SDL_EGLDisplay
(Ptr SDL_EGLDisplay -> IO SDL_EGLDisplay) -> ReadRaw SDL_EGLDisplay
forall a. (Ptr a -> IO a) -> ReadRaw a
$creadRaw :: Ptr SDL_EGLDisplay -> IO SDL_EGLDisplay
readRaw :: Ptr SDL_EGLDisplay -> IO SDL_EGLDisplay
Marshal.ReadRaw
, Proxy SDL_EGLDisplay -> Int
(Proxy SDL_EGLDisplay -> Int)
-> (Proxy SDL_EGLDisplay -> Int) -> StaticSize SDL_EGLDisplay
forall a. (Proxy a -> Int) -> (Proxy a -> Int) -> StaticSize a
$cstaticSizeOf :: Proxy SDL_EGLDisplay -> Int
staticSizeOf :: Proxy SDL_EGLDisplay -> Int
$cstaticAlignment :: Proxy SDL_EGLDisplay -> Int
staticAlignment :: Proxy SDL_EGLDisplay -> Int
Marshal.StaticSize
, Ptr SDL_EGLDisplay -> SDL_EGLDisplay -> IO ()
(Ptr SDL_EGLDisplay -> SDL_EGLDisplay -> IO ())
-> WriteRaw SDL_EGLDisplay
forall a. (Ptr a -> a -> IO ()) -> WriteRaw a
$cwriteRaw :: Ptr SDL_EGLDisplay -> SDL_EGLDisplay -> IO ()
writeRaw :: Ptr SDL_EGLDisplay -> SDL_EGLDisplay -> IO ()
Marshal.WriteRaw
)
instance
(ty ~ BG.Ptr BG.Void)
=> BG.CompatHasField.HasField "unwrap" SDL_EGLDisplay ty
where
hasField :: SDL_EGLDisplay -> (ty -> SDL_EGLDisplay, ty)
hasField =
\SDL_EGLDisplay
x0 ->
( \ty
y1 ->
SDL_EGLDisplay{unwrap :: Ptr Void
unwrap = ty
Ptr Void
y1}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_EGLDisplay
x0
)
instance
(ty ~ BG.Ptr BG.Void)
=> BG.HasField "unwrap" (BG.Ptr SDL_EGLDisplay) (BG.Ptr ty)
where
getField :: Ptr SDL_EGLDisplay -> Ptr ty
getField = Proxy "unwrap"
-> Ptr SDL_EGLDisplay -> Ptr (CFieldType SDL_EGLDisplay "unwrap")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"unwrap")
instance HasCField.HasCField SDL_EGLDisplay "unwrap" where
type
CFieldType SDL_EGLDisplay "unwrap" =
BG.Ptr BG.Void
offset# :: Proxy# SDL_EGLDisplay -> Proxy# "unwrap" -> Int
offset# = \Proxy# SDL_EGLDisplay
_ -> \Proxy# "unwrap"
_ -> Int
0
newtype SDL_EGLConfig = SDL_EGLConfig
{ SDL_EGLConfig -> Ptr Void
unwrap :: BG.Ptr BG.Void
}
deriving stock ((forall x. SDL_EGLConfig -> Rep SDL_EGLConfig x)
-> (forall x. Rep SDL_EGLConfig x -> SDL_EGLConfig)
-> Generic SDL_EGLConfig
forall x. Rep SDL_EGLConfig x -> SDL_EGLConfig
forall x. SDL_EGLConfig -> Rep SDL_EGLConfig x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. SDL_EGLConfig -> Rep SDL_EGLConfig x
from :: forall x. SDL_EGLConfig -> Rep SDL_EGLConfig x
$cto :: forall x. Rep SDL_EGLConfig x -> SDL_EGLConfig
to :: forall x. Rep SDL_EGLConfig x -> SDL_EGLConfig
BG.Generic, SDL_EGLConfig -> SDL_EGLConfig -> Bool
(SDL_EGLConfig -> SDL_EGLConfig -> Bool)
-> (SDL_EGLConfig -> SDL_EGLConfig -> Bool) -> Eq SDL_EGLConfig
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SDL_EGLConfig -> SDL_EGLConfig -> Bool
== :: SDL_EGLConfig -> SDL_EGLConfig -> Bool
$c/= :: SDL_EGLConfig -> SDL_EGLConfig -> Bool
/= :: SDL_EGLConfig -> SDL_EGLConfig -> Bool
Eq, Eq SDL_EGLConfig
Eq SDL_EGLConfig =>
(SDL_EGLConfig -> SDL_EGLConfig -> Ordering)
-> (SDL_EGLConfig -> SDL_EGLConfig -> Bool)
-> (SDL_EGLConfig -> SDL_EGLConfig -> Bool)
-> (SDL_EGLConfig -> SDL_EGLConfig -> Bool)
-> (SDL_EGLConfig -> SDL_EGLConfig -> Bool)
-> (SDL_EGLConfig -> SDL_EGLConfig -> SDL_EGLConfig)
-> (SDL_EGLConfig -> SDL_EGLConfig -> SDL_EGLConfig)
-> Ord SDL_EGLConfig
SDL_EGLConfig -> SDL_EGLConfig -> Bool
SDL_EGLConfig -> SDL_EGLConfig -> Ordering
SDL_EGLConfig -> SDL_EGLConfig -> SDL_EGLConfig
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: SDL_EGLConfig -> SDL_EGLConfig -> Ordering
compare :: SDL_EGLConfig -> SDL_EGLConfig -> Ordering
$c< :: SDL_EGLConfig -> SDL_EGLConfig -> Bool
< :: SDL_EGLConfig -> SDL_EGLConfig -> Bool
$c<= :: SDL_EGLConfig -> SDL_EGLConfig -> Bool
<= :: SDL_EGLConfig -> SDL_EGLConfig -> Bool
$c> :: SDL_EGLConfig -> SDL_EGLConfig -> Bool
> :: SDL_EGLConfig -> SDL_EGLConfig -> Bool
$c>= :: SDL_EGLConfig -> SDL_EGLConfig -> Bool
>= :: SDL_EGLConfig -> SDL_EGLConfig -> Bool
$cmax :: SDL_EGLConfig -> SDL_EGLConfig -> SDL_EGLConfig
max :: SDL_EGLConfig -> SDL_EGLConfig -> SDL_EGLConfig
$cmin :: SDL_EGLConfig -> SDL_EGLConfig -> SDL_EGLConfig
min :: SDL_EGLConfig -> SDL_EGLConfig -> SDL_EGLConfig
Ord, Int -> SDL_EGLConfig -> ShowS
[SDL_EGLConfig] -> ShowS
SDL_EGLConfig -> String
(Int -> SDL_EGLConfig -> ShowS)
-> (SDL_EGLConfig -> String)
-> ([SDL_EGLConfig] -> ShowS)
-> Show SDL_EGLConfig
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SDL_EGLConfig -> ShowS
showsPrec :: Int -> SDL_EGLConfig -> ShowS
$cshow :: SDL_EGLConfig -> String
show :: SDL_EGLConfig -> String
$cshowList :: [SDL_EGLConfig] -> ShowS
showList :: [SDL_EGLConfig] -> ShowS
Show)
deriving newtype
( FFIType SDL_EGLConfig -> SDL_EGLConfig
SDL_EGLConfig -> FFIType SDL_EGLConfig
(SDL_EGLConfig -> FFIType SDL_EGLConfig)
-> (FFIType SDL_EGLConfig -> SDL_EGLConfig)
-> HasFFIType SDL_EGLConfig
forall a. (a -> FFIType a) -> (FFIType a -> a) -> HasFFIType a
$ctoFFIType :: SDL_EGLConfig -> FFIType SDL_EGLConfig
toFFIType :: SDL_EGLConfig -> FFIType SDL_EGLConfig
$cfromFFIType :: FFIType SDL_EGLConfig -> SDL_EGLConfig
fromFFIType :: FFIType SDL_EGLConfig -> SDL_EGLConfig
BG.HasFFIType
, Ptr SDL_EGLConfig -> IO SDL_EGLConfig
Ptr SDL_EGLConfig -> Int -> IO SDL_EGLConfig
Ptr SDL_EGLConfig -> Int -> SDL_EGLConfig -> IO ()
Ptr SDL_EGLConfig -> SDL_EGLConfig -> IO ()
SDL_EGLConfig -> Int
(SDL_EGLConfig -> Int)
-> (SDL_EGLConfig -> Int)
-> (Ptr SDL_EGLConfig -> Int -> IO SDL_EGLConfig)
-> (Ptr SDL_EGLConfig -> Int -> SDL_EGLConfig -> IO ())
-> (forall b. Ptr b -> Int -> IO SDL_EGLConfig)
-> (forall b. Ptr b -> Int -> SDL_EGLConfig -> IO ())
-> (Ptr SDL_EGLConfig -> IO SDL_EGLConfig)
-> (Ptr SDL_EGLConfig -> SDL_EGLConfig -> IO ())
-> Storable SDL_EGLConfig
forall b. Ptr b -> Int -> IO SDL_EGLConfig
forall b. Ptr b -> Int -> SDL_EGLConfig -> IO ()
forall a.
(a -> Int)
-> (a -> Int)
-> (Ptr a -> Int -> IO a)
-> (Ptr a -> Int -> a -> IO ())
-> (forall b. Ptr b -> Int -> IO a)
-> (forall b. Ptr b -> Int -> a -> IO ())
-> (Ptr a -> IO a)
-> (Ptr a -> a -> IO ())
-> Storable a
$csizeOf :: SDL_EGLConfig -> Int
sizeOf :: SDL_EGLConfig -> Int
$calignment :: SDL_EGLConfig -> Int
alignment :: SDL_EGLConfig -> Int
$cpeekElemOff :: Ptr SDL_EGLConfig -> Int -> IO SDL_EGLConfig
peekElemOff :: Ptr SDL_EGLConfig -> Int -> IO SDL_EGLConfig
$cpokeElemOff :: Ptr SDL_EGLConfig -> Int -> SDL_EGLConfig -> IO ()
pokeElemOff :: Ptr SDL_EGLConfig -> Int -> SDL_EGLConfig -> IO ()
$cpeekByteOff :: forall b. Ptr b -> Int -> IO SDL_EGLConfig
peekByteOff :: forall b. Ptr b -> Int -> IO SDL_EGLConfig
$cpokeByteOff :: forall b. Ptr b -> Int -> SDL_EGLConfig -> IO ()
pokeByteOff :: forall b. Ptr b -> Int -> SDL_EGLConfig -> IO ()
$cpeek :: Ptr SDL_EGLConfig -> IO SDL_EGLConfig
peek :: Ptr SDL_EGLConfig -> IO SDL_EGLConfig
$cpoke :: Ptr SDL_EGLConfig -> SDL_EGLConfig -> IO ()
poke :: Ptr SDL_EGLConfig -> SDL_EGLConfig -> IO ()
BG.Storable
, Ptr SDL_EGLConfig -> IO SDL_EGLConfig
(Ptr SDL_EGLConfig -> IO SDL_EGLConfig) -> ReadRaw SDL_EGLConfig
forall a. (Ptr a -> IO a) -> ReadRaw a
$creadRaw :: Ptr SDL_EGLConfig -> IO SDL_EGLConfig
readRaw :: Ptr SDL_EGLConfig -> IO SDL_EGLConfig
Marshal.ReadRaw
, Proxy SDL_EGLConfig -> Int
(Proxy SDL_EGLConfig -> Int)
-> (Proxy SDL_EGLConfig -> Int) -> StaticSize SDL_EGLConfig
forall a. (Proxy a -> Int) -> (Proxy a -> Int) -> StaticSize a
$cstaticSizeOf :: Proxy SDL_EGLConfig -> Int
staticSizeOf :: Proxy SDL_EGLConfig -> Int
$cstaticAlignment :: Proxy SDL_EGLConfig -> Int
staticAlignment :: Proxy SDL_EGLConfig -> Int
Marshal.StaticSize
, Ptr SDL_EGLConfig -> SDL_EGLConfig -> IO ()
(Ptr SDL_EGLConfig -> SDL_EGLConfig -> IO ())
-> WriteRaw SDL_EGLConfig
forall a. (Ptr a -> a -> IO ()) -> WriteRaw a
$cwriteRaw :: Ptr SDL_EGLConfig -> SDL_EGLConfig -> IO ()
writeRaw :: Ptr SDL_EGLConfig -> SDL_EGLConfig -> IO ()
Marshal.WriteRaw
)
instance
(ty ~ BG.Ptr BG.Void)
=> BG.CompatHasField.HasField "unwrap" SDL_EGLConfig ty
where
hasField :: SDL_EGLConfig -> (ty -> SDL_EGLConfig, ty)
hasField =
\SDL_EGLConfig
x0 ->
( \ty
y1 ->
SDL_EGLConfig{unwrap :: Ptr Void
unwrap = ty
Ptr Void
y1}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_EGLConfig
x0
)
instance
(ty ~ BG.Ptr BG.Void)
=> BG.HasField "unwrap" (BG.Ptr SDL_EGLConfig) (BG.Ptr ty)
where
getField :: Ptr SDL_EGLConfig -> Ptr ty
getField = Proxy "unwrap"
-> Ptr SDL_EGLConfig -> Ptr (CFieldType SDL_EGLConfig "unwrap")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"unwrap")
instance HasCField.HasCField SDL_EGLConfig "unwrap" where
type
CFieldType SDL_EGLConfig "unwrap" =
BG.Ptr BG.Void
offset# :: Proxy# SDL_EGLConfig -> Proxy# "unwrap" -> Int
offset# = \Proxy# SDL_EGLConfig
_ -> \Proxy# "unwrap"
_ -> Int
0
newtype SDL_EGLSurface = SDL_EGLSurface
{ SDL_EGLSurface -> Ptr Void
unwrap :: BG.Ptr BG.Void
}
deriving stock ((forall x. SDL_EGLSurface -> Rep SDL_EGLSurface x)
-> (forall x. Rep SDL_EGLSurface x -> SDL_EGLSurface)
-> Generic SDL_EGLSurface
forall x. Rep SDL_EGLSurface x -> SDL_EGLSurface
forall x. SDL_EGLSurface -> Rep SDL_EGLSurface x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. SDL_EGLSurface -> Rep SDL_EGLSurface x
from :: forall x. SDL_EGLSurface -> Rep SDL_EGLSurface x
$cto :: forall x. Rep SDL_EGLSurface x -> SDL_EGLSurface
to :: forall x. Rep SDL_EGLSurface x -> SDL_EGLSurface
BG.Generic, SDL_EGLSurface -> SDL_EGLSurface -> Bool
(SDL_EGLSurface -> SDL_EGLSurface -> Bool)
-> (SDL_EGLSurface -> SDL_EGLSurface -> Bool) -> Eq SDL_EGLSurface
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SDL_EGLSurface -> SDL_EGLSurface -> Bool
== :: SDL_EGLSurface -> SDL_EGLSurface -> Bool
$c/= :: SDL_EGLSurface -> SDL_EGLSurface -> Bool
/= :: SDL_EGLSurface -> SDL_EGLSurface -> Bool
Eq, Eq SDL_EGLSurface
Eq SDL_EGLSurface =>
(SDL_EGLSurface -> SDL_EGLSurface -> Ordering)
-> (SDL_EGLSurface -> SDL_EGLSurface -> Bool)
-> (SDL_EGLSurface -> SDL_EGLSurface -> Bool)
-> (SDL_EGLSurface -> SDL_EGLSurface -> Bool)
-> (SDL_EGLSurface -> SDL_EGLSurface -> Bool)
-> (SDL_EGLSurface -> SDL_EGLSurface -> SDL_EGLSurface)
-> (SDL_EGLSurface -> SDL_EGLSurface -> SDL_EGLSurface)
-> Ord SDL_EGLSurface
SDL_EGLSurface -> SDL_EGLSurface -> Bool
SDL_EGLSurface -> SDL_EGLSurface -> Ordering
SDL_EGLSurface -> SDL_EGLSurface -> SDL_EGLSurface
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: SDL_EGLSurface -> SDL_EGLSurface -> Ordering
compare :: SDL_EGLSurface -> SDL_EGLSurface -> Ordering
$c< :: SDL_EGLSurface -> SDL_EGLSurface -> Bool
< :: SDL_EGLSurface -> SDL_EGLSurface -> Bool
$c<= :: SDL_EGLSurface -> SDL_EGLSurface -> Bool
<= :: SDL_EGLSurface -> SDL_EGLSurface -> Bool
$c> :: SDL_EGLSurface -> SDL_EGLSurface -> Bool
> :: SDL_EGLSurface -> SDL_EGLSurface -> Bool
$c>= :: SDL_EGLSurface -> SDL_EGLSurface -> Bool
>= :: SDL_EGLSurface -> SDL_EGLSurface -> Bool
$cmax :: SDL_EGLSurface -> SDL_EGLSurface -> SDL_EGLSurface
max :: SDL_EGLSurface -> SDL_EGLSurface -> SDL_EGLSurface
$cmin :: SDL_EGLSurface -> SDL_EGLSurface -> SDL_EGLSurface
min :: SDL_EGLSurface -> SDL_EGLSurface -> SDL_EGLSurface
Ord, Int -> SDL_EGLSurface -> ShowS
[SDL_EGLSurface] -> ShowS
SDL_EGLSurface -> String
(Int -> SDL_EGLSurface -> ShowS)
-> (SDL_EGLSurface -> String)
-> ([SDL_EGLSurface] -> ShowS)
-> Show SDL_EGLSurface
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SDL_EGLSurface -> ShowS
showsPrec :: Int -> SDL_EGLSurface -> ShowS
$cshow :: SDL_EGLSurface -> String
show :: SDL_EGLSurface -> String
$cshowList :: [SDL_EGLSurface] -> ShowS
showList :: [SDL_EGLSurface] -> ShowS
Show)
deriving newtype
( FFIType SDL_EGLSurface -> SDL_EGLSurface
SDL_EGLSurface -> FFIType SDL_EGLSurface
(SDL_EGLSurface -> FFIType SDL_EGLSurface)
-> (FFIType SDL_EGLSurface -> SDL_EGLSurface)
-> HasFFIType SDL_EGLSurface
forall a. (a -> FFIType a) -> (FFIType a -> a) -> HasFFIType a
$ctoFFIType :: SDL_EGLSurface -> FFIType SDL_EGLSurface
toFFIType :: SDL_EGLSurface -> FFIType SDL_EGLSurface
$cfromFFIType :: FFIType SDL_EGLSurface -> SDL_EGLSurface
fromFFIType :: FFIType SDL_EGLSurface -> SDL_EGLSurface
BG.HasFFIType
, Ptr SDL_EGLSurface -> IO SDL_EGLSurface
Ptr SDL_EGLSurface -> Int -> IO SDL_EGLSurface
Ptr SDL_EGLSurface -> Int -> SDL_EGLSurface -> IO ()
Ptr SDL_EGLSurface -> SDL_EGLSurface -> IO ()
SDL_EGLSurface -> Int
(SDL_EGLSurface -> Int)
-> (SDL_EGLSurface -> Int)
-> (Ptr SDL_EGLSurface -> Int -> IO SDL_EGLSurface)
-> (Ptr SDL_EGLSurface -> Int -> SDL_EGLSurface -> IO ())
-> (forall b. Ptr b -> Int -> IO SDL_EGLSurface)
-> (forall b. Ptr b -> Int -> SDL_EGLSurface -> IO ())
-> (Ptr SDL_EGLSurface -> IO SDL_EGLSurface)
-> (Ptr SDL_EGLSurface -> SDL_EGLSurface -> IO ())
-> Storable SDL_EGLSurface
forall b. Ptr b -> Int -> IO SDL_EGLSurface
forall b. Ptr b -> Int -> SDL_EGLSurface -> IO ()
forall a.
(a -> Int)
-> (a -> Int)
-> (Ptr a -> Int -> IO a)
-> (Ptr a -> Int -> a -> IO ())
-> (forall b. Ptr b -> Int -> IO a)
-> (forall b. Ptr b -> Int -> a -> IO ())
-> (Ptr a -> IO a)
-> (Ptr a -> a -> IO ())
-> Storable a
$csizeOf :: SDL_EGLSurface -> Int
sizeOf :: SDL_EGLSurface -> Int
$calignment :: SDL_EGLSurface -> Int
alignment :: SDL_EGLSurface -> Int
$cpeekElemOff :: Ptr SDL_EGLSurface -> Int -> IO SDL_EGLSurface
peekElemOff :: Ptr SDL_EGLSurface -> Int -> IO SDL_EGLSurface
$cpokeElemOff :: Ptr SDL_EGLSurface -> Int -> SDL_EGLSurface -> IO ()
pokeElemOff :: Ptr SDL_EGLSurface -> Int -> SDL_EGLSurface -> IO ()
$cpeekByteOff :: forall b. Ptr b -> Int -> IO SDL_EGLSurface
peekByteOff :: forall b. Ptr b -> Int -> IO SDL_EGLSurface
$cpokeByteOff :: forall b. Ptr b -> Int -> SDL_EGLSurface -> IO ()
pokeByteOff :: forall b. Ptr b -> Int -> SDL_EGLSurface -> IO ()
$cpeek :: Ptr SDL_EGLSurface -> IO SDL_EGLSurface
peek :: Ptr SDL_EGLSurface -> IO SDL_EGLSurface
$cpoke :: Ptr SDL_EGLSurface -> SDL_EGLSurface -> IO ()
poke :: Ptr SDL_EGLSurface -> SDL_EGLSurface -> IO ()
BG.Storable
, Ptr SDL_EGLSurface -> IO SDL_EGLSurface
(Ptr SDL_EGLSurface -> IO SDL_EGLSurface) -> ReadRaw SDL_EGLSurface
forall a. (Ptr a -> IO a) -> ReadRaw a
$creadRaw :: Ptr SDL_EGLSurface -> IO SDL_EGLSurface
readRaw :: Ptr SDL_EGLSurface -> IO SDL_EGLSurface
Marshal.ReadRaw
, Proxy SDL_EGLSurface -> Int
(Proxy SDL_EGLSurface -> Int)
-> (Proxy SDL_EGLSurface -> Int) -> StaticSize SDL_EGLSurface
forall a. (Proxy a -> Int) -> (Proxy a -> Int) -> StaticSize a
$cstaticSizeOf :: Proxy SDL_EGLSurface -> Int
staticSizeOf :: Proxy SDL_EGLSurface -> Int
$cstaticAlignment :: Proxy SDL_EGLSurface -> Int
staticAlignment :: Proxy SDL_EGLSurface -> Int
Marshal.StaticSize
, Ptr SDL_EGLSurface -> SDL_EGLSurface -> IO ()
(Ptr SDL_EGLSurface -> SDL_EGLSurface -> IO ())
-> WriteRaw SDL_EGLSurface
forall a. (Ptr a -> a -> IO ()) -> WriteRaw a
$cwriteRaw :: Ptr SDL_EGLSurface -> SDL_EGLSurface -> IO ()
writeRaw :: Ptr SDL_EGLSurface -> SDL_EGLSurface -> IO ()
Marshal.WriteRaw
)
instance
(ty ~ BG.Ptr BG.Void)
=> BG.CompatHasField.HasField "unwrap" SDL_EGLSurface ty
where
hasField :: SDL_EGLSurface -> (ty -> SDL_EGLSurface, ty)
hasField =
\SDL_EGLSurface
x0 ->
( \ty
y1 ->
SDL_EGLSurface{unwrap :: Ptr Void
unwrap = ty
Ptr Void
y1}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_EGLSurface
x0
)
instance
(ty ~ BG.Ptr BG.Void)
=> BG.HasField "unwrap" (BG.Ptr SDL_EGLSurface) (BG.Ptr ty)
where
getField :: Ptr SDL_EGLSurface -> Ptr ty
getField = Proxy "unwrap"
-> Ptr SDL_EGLSurface -> Ptr (CFieldType SDL_EGLSurface "unwrap")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"unwrap")
instance HasCField.HasCField SDL_EGLSurface "unwrap" where
type
CFieldType SDL_EGLSurface "unwrap" =
BG.Ptr BG.Void
offset# :: Proxy# SDL_EGLSurface -> Proxy# "unwrap" -> Int
offset# = \Proxy# SDL_EGLSurface
_ -> \Proxy# "unwrap"
_ -> Int
0
newtype SDL_EGLAttrib = SDL_EGLAttrib
{ SDL_EGLAttrib -> CIntPtr
unwrap :: HsBindgen.Runtime.LibC.CIntPtr
}
deriving stock ((forall x. SDL_EGLAttrib -> Rep SDL_EGLAttrib x)
-> (forall x. Rep SDL_EGLAttrib x -> SDL_EGLAttrib)
-> Generic SDL_EGLAttrib
forall x. Rep SDL_EGLAttrib x -> SDL_EGLAttrib
forall x. SDL_EGLAttrib -> Rep SDL_EGLAttrib x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. SDL_EGLAttrib -> Rep SDL_EGLAttrib x
from :: forall x. SDL_EGLAttrib -> Rep SDL_EGLAttrib x
$cto :: forall x. Rep SDL_EGLAttrib x -> SDL_EGLAttrib
to :: forall x. Rep SDL_EGLAttrib x -> SDL_EGLAttrib
BG.Generic, SDL_EGLAttrib -> SDL_EGLAttrib -> Bool
(SDL_EGLAttrib -> SDL_EGLAttrib -> Bool)
-> (SDL_EGLAttrib -> SDL_EGLAttrib -> Bool) -> Eq SDL_EGLAttrib
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SDL_EGLAttrib -> SDL_EGLAttrib -> Bool
== :: SDL_EGLAttrib -> SDL_EGLAttrib -> Bool
$c/= :: SDL_EGLAttrib -> SDL_EGLAttrib -> Bool
/= :: SDL_EGLAttrib -> SDL_EGLAttrib -> Bool
Eq, Eq SDL_EGLAttrib
Eq SDL_EGLAttrib =>
(SDL_EGLAttrib -> SDL_EGLAttrib -> Ordering)
-> (SDL_EGLAttrib -> SDL_EGLAttrib -> Bool)
-> (SDL_EGLAttrib -> SDL_EGLAttrib -> Bool)
-> (SDL_EGLAttrib -> SDL_EGLAttrib -> Bool)
-> (SDL_EGLAttrib -> SDL_EGLAttrib -> Bool)
-> (SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib)
-> (SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib)
-> Ord SDL_EGLAttrib
SDL_EGLAttrib -> SDL_EGLAttrib -> Bool
SDL_EGLAttrib -> SDL_EGLAttrib -> Ordering
SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: SDL_EGLAttrib -> SDL_EGLAttrib -> Ordering
compare :: SDL_EGLAttrib -> SDL_EGLAttrib -> Ordering
$c< :: SDL_EGLAttrib -> SDL_EGLAttrib -> Bool
< :: SDL_EGLAttrib -> SDL_EGLAttrib -> Bool
$c<= :: SDL_EGLAttrib -> SDL_EGLAttrib -> Bool
<= :: SDL_EGLAttrib -> SDL_EGLAttrib -> Bool
$c> :: SDL_EGLAttrib -> SDL_EGLAttrib -> Bool
> :: SDL_EGLAttrib -> SDL_EGLAttrib -> Bool
$c>= :: SDL_EGLAttrib -> SDL_EGLAttrib -> Bool
>= :: SDL_EGLAttrib -> SDL_EGLAttrib -> Bool
$cmax :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib
max :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib
$cmin :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib
min :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib
Ord, ReadPrec [SDL_EGLAttrib]
ReadPrec SDL_EGLAttrib
Int -> ReadS SDL_EGLAttrib
ReadS [SDL_EGLAttrib]
(Int -> ReadS SDL_EGLAttrib)
-> ReadS [SDL_EGLAttrib]
-> ReadPrec SDL_EGLAttrib
-> ReadPrec [SDL_EGLAttrib]
-> Read SDL_EGLAttrib
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
$creadsPrec :: Int -> ReadS SDL_EGLAttrib
readsPrec :: Int -> ReadS SDL_EGLAttrib
$creadList :: ReadS [SDL_EGLAttrib]
readList :: ReadS [SDL_EGLAttrib]
$creadPrec :: ReadPrec SDL_EGLAttrib
readPrec :: ReadPrec SDL_EGLAttrib
$creadListPrec :: ReadPrec [SDL_EGLAttrib]
readListPrec :: ReadPrec [SDL_EGLAttrib]
Read, Int -> SDL_EGLAttrib -> ShowS
[SDL_EGLAttrib] -> ShowS
SDL_EGLAttrib -> String
(Int -> SDL_EGLAttrib -> ShowS)
-> (SDL_EGLAttrib -> String)
-> ([SDL_EGLAttrib] -> ShowS)
-> Show SDL_EGLAttrib
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SDL_EGLAttrib -> ShowS
showsPrec :: Int -> SDL_EGLAttrib -> ShowS
$cshow :: SDL_EGLAttrib -> String
show :: SDL_EGLAttrib -> String
$cshowList :: [SDL_EGLAttrib] -> ShowS
showList :: [SDL_EGLAttrib] -> ShowS
Show)
deriving newtype
( Word64 -> Int -> SDL_EGLAttrib
SDL_EGLAttrib -> Int -> Word64
(SDL_EGLAttrib -> Int -> Word64)
-> (Word64 -> Int -> SDL_EGLAttrib) -> Bitfield SDL_EGLAttrib
forall a.
(a -> Int -> Word64) -> (Word64 -> Int -> a) -> Bitfield a
$cnarrow :: SDL_EGLAttrib -> Int -> Word64
narrow :: SDL_EGLAttrib -> Int -> Word64
$cextend :: Word64 -> Int -> SDL_EGLAttrib
extend :: Word64 -> Int -> SDL_EGLAttrib
BG.Bitfield
, Eq SDL_EGLAttrib
SDL_EGLAttrib
Eq SDL_EGLAttrib =>
(SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib)
-> (SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib)
-> (SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib)
-> (SDL_EGLAttrib -> SDL_EGLAttrib)
-> (SDL_EGLAttrib -> Int -> SDL_EGLAttrib)
-> (SDL_EGLAttrib -> Int -> SDL_EGLAttrib)
-> SDL_EGLAttrib
-> (Int -> SDL_EGLAttrib)
-> (SDL_EGLAttrib -> Int -> SDL_EGLAttrib)
-> (SDL_EGLAttrib -> Int -> SDL_EGLAttrib)
-> (SDL_EGLAttrib -> Int -> SDL_EGLAttrib)
-> (SDL_EGLAttrib -> Int -> Bool)
-> (SDL_EGLAttrib -> Maybe Int)
-> (SDL_EGLAttrib -> Int)
-> (SDL_EGLAttrib -> Bool)
-> (SDL_EGLAttrib -> Int -> SDL_EGLAttrib)
-> (SDL_EGLAttrib -> Int -> SDL_EGLAttrib)
-> (SDL_EGLAttrib -> Int -> SDL_EGLAttrib)
-> (SDL_EGLAttrib -> Int -> SDL_EGLAttrib)
-> (SDL_EGLAttrib -> Int -> SDL_EGLAttrib)
-> (SDL_EGLAttrib -> Int -> SDL_EGLAttrib)
-> (SDL_EGLAttrib -> Int)
-> Bits SDL_EGLAttrib
Int -> SDL_EGLAttrib
SDL_EGLAttrib -> Bool
SDL_EGLAttrib -> Int
SDL_EGLAttrib -> Maybe Int
SDL_EGLAttrib -> SDL_EGLAttrib
SDL_EGLAttrib -> Int -> Bool
SDL_EGLAttrib -> Int -> SDL_EGLAttrib
SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib
forall a.
Eq a =>
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> a
-> (Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> Bool)
-> (a -> Maybe Int)
-> (a -> Int)
-> (a -> Bool)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int)
-> Bits a
$c.&. :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib
.&. :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib
$c.|. :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib
.|. :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib
$cxor :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib
xor :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib
$ccomplement :: SDL_EGLAttrib -> SDL_EGLAttrib
complement :: SDL_EGLAttrib -> SDL_EGLAttrib
$cshift :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib
shift :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib
$crotate :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib
rotate :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib
$czeroBits :: SDL_EGLAttrib
zeroBits :: SDL_EGLAttrib
$cbit :: Int -> SDL_EGLAttrib
bit :: Int -> SDL_EGLAttrib
$csetBit :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib
setBit :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib
$cclearBit :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib
clearBit :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib
$ccomplementBit :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib
complementBit :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib
$ctestBit :: SDL_EGLAttrib -> Int -> Bool
testBit :: SDL_EGLAttrib -> Int -> Bool
$cbitSizeMaybe :: SDL_EGLAttrib -> Maybe Int
bitSizeMaybe :: SDL_EGLAttrib -> Maybe Int
$cbitSize :: SDL_EGLAttrib -> Int
bitSize :: SDL_EGLAttrib -> Int
$cisSigned :: SDL_EGLAttrib -> Bool
isSigned :: SDL_EGLAttrib -> Bool
$cshiftL :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib
shiftL :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib
$cunsafeShiftL :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib
unsafeShiftL :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib
$cshiftR :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib
shiftR :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib
$cunsafeShiftR :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib
unsafeShiftR :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib
$crotateL :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib
rotateL :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib
$crotateR :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib
rotateR :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib
$cpopCount :: SDL_EGLAttrib -> Int
popCount :: SDL_EGLAttrib -> Int
BG.Bits
, Bits SDL_EGLAttrib
Bits SDL_EGLAttrib =>
(SDL_EGLAttrib -> Int)
-> (SDL_EGLAttrib -> Int)
-> (SDL_EGLAttrib -> Int)
-> FiniteBits SDL_EGLAttrib
SDL_EGLAttrib -> Int
forall b.
Bits b =>
(b -> Int) -> (b -> Int) -> (b -> Int) -> FiniteBits b
$cfiniteBitSize :: SDL_EGLAttrib -> Int
finiteBitSize :: SDL_EGLAttrib -> Int
$ccountLeadingZeros :: SDL_EGLAttrib -> Int
countLeadingZeros :: SDL_EGLAttrib -> Int
$ccountTrailingZeros :: SDL_EGLAttrib -> Int
countTrailingZeros :: SDL_EGLAttrib -> Int
BG.FiniteBits
, FFIType SDL_EGLAttrib -> SDL_EGLAttrib
SDL_EGLAttrib -> FFIType SDL_EGLAttrib
(SDL_EGLAttrib -> FFIType SDL_EGLAttrib)
-> (FFIType SDL_EGLAttrib -> SDL_EGLAttrib)
-> HasFFIType SDL_EGLAttrib
forall a. (a -> FFIType a) -> (FFIType a -> a) -> HasFFIType a
$ctoFFIType :: SDL_EGLAttrib -> FFIType SDL_EGLAttrib
toFFIType :: SDL_EGLAttrib -> FFIType SDL_EGLAttrib
$cfromFFIType :: FFIType SDL_EGLAttrib -> SDL_EGLAttrib
fromFFIType :: FFIType SDL_EGLAttrib -> SDL_EGLAttrib
BG.HasFFIType
, Ord SDL_EGLAttrib
Ord SDL_EGLAttrib =>
((SDL_EGLAttrib, SDL_EGLAttrib) -> [SDL_EGLAttrib])
-> ((SDL_EGLAttrib, SDL_EGLAttrib) -> SDL_EGLAttrib -> Int)
-> ((SDL_EGLAttrib, SDL_EGLAttrib) -> SDL_EGLAttrib -> Int)
-> ((SDL_EGLAttrib, SDL_EGLAttrib) -> SDL_EGLAttrib -> Bool)
-> ((SDL_EGLAttrib, SDL_EGLAttrib) -> Int)
-> ((SDL_EGLAttrib, SDL_EGLAttrib) -> Int)
-> Ix SDL_EGLAttrib
(SDL_EGLAttrib, SDL_EGLAttrib) -> Int
(SDL_EGLAttrib, SDL_EGLAttrib) -> [SDL_EGLAttrib]
(SDL_EGLAttrib, SDL_EGLAttrib) -> SDL_EGLAttrib -> Bool
(SDL_EGLAttrib, SDL_EGLAttrib) -> SDL_EGLAttrib -> Int
forall a.
Ord a =>
((a, a) -> [a])
-> ((a, a) -> a -> Int)
-> ((a, a) -> a -> Int)
-> ((a, a) -> a -> Bool)
-> ((a, a) -> Int)
-> ((a, a) -> Int)
-> Ix a
$crange :: (SDL_EGLAttrib, SDL_EGLAttrib) -> [SDL_EGLAttrib]
range :: (SDL_EGLAttrib, SDL_EGLAttrib) -> [SDL_EGLAttrib]
$cindex :: (SDL_EGLAttrib, SDL_EGLAttrib) -> SDL_EGLAttrib -> Int
index :: (SDL_EGLAttrib, SDL_EGLAttrib) -> SDL_EGLAttrib -> Int
$cunsafeIndex :: (SDL_EGLAttrib, SDL_EGLAttrib) -> SDL_EGLAttrib -> Int
unsafeIndex :: (SDL_EGLAttrib, SDL_EGLAttrib) -> SDL_EGLAttrib -> Int
$cinRange :: (SDL_EGLAttrib, SDL_EGLAttrib) -> SDL_EGLAttrib -> Bool
inRange :: (SDL_EGLAttrib, SDL_EGLAttrib) -> SDL_EGLAttrib -> Bool
$crangeSize :: (SDL_EGLAttrib, SDL_EGLAttrib) -> Int
rangeSize :: (SDL_EGLAttrib, SDL_EGLAttrib) -> Int
$cunsafeRangeSize :: (SDL_EGLAttrib, SDL_EGLAttrib) -> Int
unsafeRangeSize :: (SDL_EGLAttrib, SDL_EGLAttrib) -> Int
BG.Ix
, Addr# -> Int# -> SDL_EGLAttrib
ByteArray# -> Int# -> SDL_EGLAttrib
Proxy SDL_EGLAttrib -> Int#
SDL_EGLAttrib -> Int#
(Proxy SDL_EGLAttrib -> Int#)
-> (SDL_EGLAttrib -> Int#)
-> (Proxy SDL_EGLAttrib -> Int#)
-> (SDL_EGLAttrib -> Int#)
-> (ByteArray# -> Int# -> SDL_EGLAttrib)
-> (forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_EGLAttrib #))
-> (forall s.
MutableByteArray# s
-> Int# -> SDL_EGLAttrib -> State# s -> State# s)
-> (forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_EGLAttrib -> State# s -> State# s)
-> (Addr# -> Int# -> SDL_EGLAttrib)
-> (forall s.
Addr# -> Int# -> State# s -> (# State# s, SDL_EGLAttrib #))
-> (forall s.
Addr# -> Int# -> SDL_EGLAttrib -> State# s -> State# s)
-> (forall s.
Addr# -> Int# -> Int# -> SDL_EGLAttrib -> State# s -> State# s)
-> Prim SDL_EGLAttrib
forall s.
Addr# -> Int# -> Int# -> SDL_EGLAttrib -> State# s -> State# s
forall s.
Addr# -> Int# -> State# s -> (# State# s, SDL_EGLAttrib #)
forall s. Addr# -> Int# -> SDL_EGLAttrib -> State# s -> State# s
forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_EGLAttrib -> State# s -> State# s
forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_EGLAttrib #)
forall s.
MutableByteArray# s
-> Int# -> SDL_EGLAttrib -> State# s -> State# s
forall a.
(Proxy a -> Int#)
-> (a -> Int#)
-> (Proxy a -> Int#)
-> (a -> Int#)
-> (ByteArray# -> Int# -> a)
-> (forall s.
MutableByteArray# s -> Int# -> State# s -> (# State# s, a #))
-> (forall s.
MutableByteArray# s -> Int# -> a -> State# s -> State# s)
-> (forall s.
MutableByteArray# s -> Int# -> Int# -> a -> State# s -> State# s)
-> (Addr# -> Int# -> a)
-> (forall s. Addr# -> Int# -> State# s -> (# State# s, a #))
-> (forall s. Addr# -> Int# -> a -> State# s -> State# s)
-> (forall s. Addr# -> Int# -> Int# -> a -> State# s -> State# s)
-> Prim a
$csizeOfType# :: Proxy SDL_EGLAttrib -> Int#
sizeOfType# :: Proxy SDL_EGLAttrib -> Int#
$csizeOf# :: SDL_EGLAttrib -> Int#
sizeOf# :: SDL_EGLAttrib -> Int#
$calignmentOfType# :: Proxy SDL_EGLAttrib -> Int#
alignmentOfType# :: Proxy SDL_EGLAttrib -> Int#
$calignment# :: SDL_EGLAttrib -> Int#
alignment# :: SDL_EGLAttrib -> Int#
$cindexByteArray# :: ByteArray# -> Int# -> SDL_EGLAttrib
indexByteArray# :: ByteArray# -> Int# -> SDL_EGLAttrib
$creadByteArray# :: forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_EGLAttrib #)
readByteArray# :: forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_EGLAttrib #)
$cwriteByteArray# :: forall s.
MutableByteArray# s
-> Int# -> SDL_EGLAttrib -> State# s -> State# s
writeByteArray# :: forall s.
MutableByteArray# s
-> Int# -> SDL_EGLAttrib -> State# s -> State# s
$csetByteArray# :: forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_EGLAttrib -> State# s -> State# s
setByteArray# :: forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_EGLAttrib -> State# s -> State# s
$cindexOffAddr# :: Addr# -> Int# -> SDL_EGLAttrib
indexOffAddr# :: Addr# -> Int# -> SDL_EGLAttrib
$creadOffAddr# :: forall s.
Addr# -> Int# -> State# s -> (# State# s, SDL_EGLAttrib #)
readOffAddr# :: forall s.
Addr# -> Int# -> State# s -> (# State# s, SDL_EGLAttrib #)
$cwriteOffAddr# :: forall s. Addr# -> Int# -> SDL_EGLAttrib -> State# s -> State# s
writeOffAddr# :: forall s. Addr# -> Int# -> SDL_EGLAttrib -> State# s -> State# s
$csetOffAddr# :: forall s.
Addr# -> Int# -> Int# -> SDL_EGLAttrib -> State# s -> State# s
setOffAddr# :: forall s.
Addr# -> Int# -> Int# -> SDL_EGLAttrib -> State# s -> State# s
BG.Prim
, Ptr SDL_EGLAttrib -> IO SDL_EGLAttrib
Ptr SDL_EGLAttrib -> Int -> IO SDL_EGLAttrib
Ptr SDL_EGLAttrib -> Int -> SDL_EGLAttrib -> IO ()
Ptr SDL_EGLAttrib -> SDL_EGLAttrib -> IO ()
SDL_EGLAttrib -> Int
(SDL_EGLAttrib -> Int)
-> (SDL_EGLAttrib -> Int)
-> (Ptr SDL_EGLAttrib -> Int -> IO SDL_EGLAttrib)
-> (Ptr SDL_EGLAttrib -> Int -> SDL_EGLAttrib -> IO ())
-> (forall b. Ptr b -> Int -> IO SDL_EGLAttrib)
-> (forall b. Ptr b -> Int -> SDL_EGLAttrib -> IO ())
-> (Ptr SDL_EGLAttrib -> IO SDL_EGLAttrib)
-> (Ptr SDL_EGLAttrib -> SDL_EGLAttrib -> IO ())
-> Storable SDL_EGLAttrib
forall b. Ptr b -> Int -> IO SDL_EGLAttrib
forall b. Ptr b -> Int -> SDL_EGLAttrib -> IO ()
forall a.
(a -> Int)
-> (a -> Int)
-> (Ptr a -> Int -> IO a)
-> (Ptr a -> Int -> a -> IO ())
-> (forall b. Ptr b -> Int -> IO a)
-> (forall b. Ptr b -> Int -> a -> IO ())
-> (Ptr a -> IO a)
-> (Ptr a -> a -> IO ())
-> Storable a
$csizeOf :: SDL_EGLAttrib -> Int
sizeOf :: SDL_EGLAttrib -> Int
$calignment :: SDL_EGLAttrib -> Int
alignment :: SDL_EGLAttrib -> Int
$cpeekElemOff :: Ptr SDL_EGLAttrib -> Int -> IO SDL_EGLAttrib
peekElemOff :: Ptr SDL_EGLAttrib -> Int -> IO SDL_EGLAttrib
$cpokeElemOff :: Ptr SDL_EGLAttrib -> Int -> SDL_EGLAttrib -> IO ()
pokeElemOff :: Ptr SDL_EGLAttrib -> Int -> SDL_EGLAttrib -> IO ()
$cpeekByteOff :: forall b. Ptr b -> Int -> IO SDL_EGLAttrib
peekByteOff :: forall b. Ptr b -> Int -> IO SDL_EGLAttrib
$cpokeByteOff :: forall b. Ptr b -> Int -> SDL_EGLAttrib -> IO ()
pokeByteOff :: forall b. Ptr b -> Int -> SDL_EGLAttrib -> IO ()
$cpeek :: Ptr SDL_EGLAttrib -> IO SDL_EGLAttrib
peek :: Ptr SDL_EGLAttrib -> IO SDL_EGLAttrib
$cpoke :: Ptr SDL_EGLAttrib -> SDL_EGLAttrib -> IO ()
poke :: Ptr SDL_EGLAttrib -> SDL_EGLAttrib -> IO ()
BG.Storable
, SDL_EGLAttrib
SDL_EGLAttrib -> SDL_EGLAttrib -> Bounded SDL_EGLAttrib
forall a. a -> a -> Bounded a
$cminBound :: SDL_EGLAttrib
minBound :: SDL_EGLAttrib
$cmaxBound :: SDL_EGLAttrib
maxBound :: SDL_EGLAttrib
Bounded
, Int -> SDL_EGLAttrib
SDL_EGLAttrib -> Int
SDL_EGLAttrib -> [SDL_EGLAttrib]
SDL_EGLAttrib -> SDL_EGLAttrib
SDL_EGLAttrib -> SDL_EGLAttrib -> [SDL_EGLAttrib]
SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib -> [SDL_EGLAttrib]
(SDL_EGLAttrib -> SDL_EGLAttrib)
-> (SDL_EGLAttrib -> SDL_EGLAttrib)
-> (Int -> SDL_EGLAttrib)
-> (SDL_EGLAttrib -> Int)
-> (SDL_EGLAttrib -> [SDL_EGLAttrib])
-> (SDL_EGLAttrib -> SDL_EGLAttrib -> [SDL_EGLAttrib])
-> (SDL_EGLAttrib -> SDL_EGLAttrib -> [SDL_EGLAttrib])
-> (SDL_EGLAttrib
-> SDL_EGLAttrib -> SDL_EGLAttrib -> [SDL_EGLAttrib])
-> Enum SDL_EGLAttrib
forall a.
(a -> a)
-> (a -> a)
-> (Int -> a)
-> (a -> Int)
-> (a -> [a])
-> (a -> a -> [a])
-> (a -> a -> [a])
-> (a -> a -> a -> [a])
-> Enum a
$csucc :: SDL_EGLAttrib -> SDL_EGLAttrib
succ :: SDL_EGLAttrib -> SDL_EGLAttrib
$cpred :: SDL_EGLAttrib -> SDL_EGLAttrib
pred :: SDL_EGLAttrib -> SDL_EGLAttrib
$ctoEnum :: Int -> SDL_EGLAttrib
toEnum :: Int -> SDL_EGLAttrib
$cfromEnum :: SDL_EGLAttrib -> Int
fromEnum :: SDL_EGLAttrib -> Int
$cenumFrom :: SDL_EGLAttrib -> [SDL_EGLAttrib]
enumFrom :: SDL_EGLAttrib -> [SDL_EGLAttrib]
$cenumFromThen :: SDL_EGLAttrib -> SDL_EGLAttrib -> [SDL_EGLAttrib]
enumFromThen :: SDL_EGLAttrib -> SDL_EGLAttrib -> [SDL_EGLAttrib]
$cenumFromTo :: SDL_EGLAttrib -> SDL_EGLAttrib -> [SDL_EGLAttrib]
enumFromTo :: SDL_EGLAttrib -> SDL_EGLAttrib -> [SDL_EGLAttrib]
$cenumFromThenTo :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib -> [SDL_EGLAttrib]
enumFromThenTo :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib -> [SDL_EGLAttrib]
Enum
, Enum SDL_EGLAttrib
Real SDL_EGLAttrib
(Real SDL_EGLAttrib, Enum SDL_EGLAttrib) =>
(SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib)
-> (SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib)
-> (SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib)
-> (SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib)
-> (SDL_EGLAttrib
-> SDL_EGLAttrib -> (SDL_EGLAttrib, SDL_EGLAttrib))
-> (SDL_EGLAttrib
-> SDL_EGLAttrib -> (SDL_EGLAttrib, SDL_EGLAttrib))
-> (SDL_EGLAttrib -> Integer)
-> Integral SDL_EGLAttrib
SDL_EGLAttrib -> Integer
SDL_EGLAttrib -> SDL_EGLAttrib -> (SDL_EGLAttrib, SDL_EGLAttrib)
SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib
forall a.
(Real a, Enum a) =>
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> (a, a))
-> (a -> a -> (a, a))
-> (a -> Integer)
-> Integral a
$cquot :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib
quot :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib
$crem :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib
rem :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib
$cdiv :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib
div :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib
$cmod :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib
mod :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib
$cquotRem :: SDL_EGLAttrib -> SDL_EGLAttrib -> (SDL_EGLAttrib, SDL_EGLAttrib)
quotRem :: SDL_EGLAttrib -> SDL_EGLAttrib -> (SDL_EGLAttrib, SDL_EGLAttrib)
$cdivMod :: SDL_EGLAttrib -> SDL_EGLAttrib -> (SDL_EGLAttrib, SDL_EGLAttrib)
divMod :: SDL_EGLAttrib -> SDL_EGLAttrib -> (SDL_EGLAttrib, SDL_EGLAttrib)
$ctoInteger :: SDL_EGLAttrib -> Integer
toInteger :: SDL_EGLAttrib -> Integer
Integral
, Ptr SDL_EGLAttrib -> IO SDL_EGLAttrib
(Ptr SDL_EGLAttrib -> IO SDL_EGLAttrib) -> ReadRaw SDL_EGLAttrib
forall a. (Ptr a -> IO a) -> ReadRaw a
$creadRaw :: Ptr SDL_EGLAttrib -> IO SDL_EGLAttrib
readRaw :: Ptr SDL_EGLAttrib -> IO SDL_EGLAttrib
Marshal.ReadRaw
, Proxy SDL_EGLAttrib -> Int
(Proxy SDL_EGLAttrib -> Int)
-> (Proxy SDL_EGLAttrib -> Int) -> StaticSize SDL_EGLAttrib
forall a. (Proxy a -> Int) -> (Proxy a -> Int) -> StaticSize a
$cstaticSizeOf :: Proxy SDL_EGLAttrib -> Int
staticSizeOf :: Proxy SDL_EGLAttrib -> Int
$cstaticAlignment :: Proxy SDL_EGLAttrib -> Int
staticAlignment :: Proxy SDL_EGLAttrib -> Int
Marshal.StaticSize
, Ptr SDL_EGLAttrib -> SDL_EGLAttrib -> IO ()
(Ptr SDL_EGLAttrib -> SDL_EGLAttrib -> IO ())
-> WriteRaw SDL_EGLAttrib
forall a. (Ptr a -> a -> IO ()) -> WriteRaw a
$cwriteRaw :: Ptr SDL_EGLAttrib -> SDL_EGLAttrib -> IO ()
writeRaw :: Ptr SDL_EGLAttrib -> SDL_EGLAttrib -> IO ()
Marshal.WriteRaw
, Integer -> SDL_EGLAttrib
SDL_EGLAttrib -> SDL_EGLAttrib
SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib
(SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib)
-> (SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib)
-> (SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib)
-> (SDL_EGLAttrib -> SDL_EGLAttrib)
-> (SDL_EGLAttrib -> SDL_EGLAttrib)
-> (SDL_EGLAttrib -> SDL_EGLAttrib)
-> (Integer -> SDL_EGLAttrib)
-> Num SDL_EGLAttrib
forall a.
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a)
-> (a -> a)
-> (a -> a)
-> (Integer -> a)
-> Num a
$c+ :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib
+ :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib
$c- :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib
- :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib
$c* :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib
* :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib
$cnegate :: SDL_EGLAttrib -> SDL_EGLAttrib
negate :: SDL_EGLAttrib -> SDL_EGLAttrib
$cabs :: SDL_EGLAttrib -> SDL_EGLAttrib
abs :: SDL_EGLAttrib -> SDL_EGLAttrib
$csignum :: SDL_EGLAttrib -> SDL_EGLAttrib
signum :: SDL_EGLAttrib -> SDL_EGLAttrib
$cfromInteger :: Integer -> SDL_EGLAttrib
fromInteger :: Integer -> SDL_EGLAttrib
Num
, Num SDL_EGLAttrib
Ord SDL_EGLAttrib
(Num SDL_EGLAttrib, Ord SDL_EGLAttrib) =>
(SDL_EGLAttrib -> Rational) -> Real SDL_EGLAttrib
SDL_EGLAttrib -> Rational
forall a. (Num a, Ord a) => (a -> Rational) -> Real a
$ctoRational :: SDL_EGLAttrib -> Rational
toRational :: SDL_EGLAttrib -> Rational
Real
)
instance
(ty ~ HsBindgen.Runtime.LibC.CIntPtr)
=> BG.CompatHasField.HasField "unwrap" SDL_EGLAttrib ty
where
hasField :: SDL_EGLAttrib -> (ty -> SDL_EGLAttrib, ty)
hasField =
\SDL_EGLAttrib
x0 ->
( \ty
y1 ->
SDL_EGLAttrib{unwrap :: CIntPtr
unwrap = ty
CIntPtr
y1}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_EGLAttrib
x0
)
instance
(ty ~ HsBindgen.Runtime.LibC.CIntPtr)
=> BG.HasField "unwrap" (BG.Ptr SDL_EGLAttrib) (BG.Ptr ty)
where
getField :: Ptr SDL_EGLAttrib -> Ptr ty
getField = Proxy "unwrap"
-> Ptr SDL_EGLAttrib -> Ptr (CFieldType SDL_EGLAttrib "unwrap")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"unwrap")
instance HasCField.HasCField SDL_EGLAttrib "unwrap" where
type
CFieldType SDL_EGLAttrib "unwrap" =
HsBindgen.Runtime.LibC.CIntPtr
offset# :: Proxy# SDL_EGLAttrib -> Proxy# "unwrap" -> Int
offset# = \Proxy# SDL_EGLAttrib
_ -> \Proxy# "unwrap"
_ -> Int
0
newtype SDL_EGLint = SDL_EGLint
{ SDL_EGLint -> CInt
unwrap :: BG.CInt
}
deriving stock ((forall x. SDL_EGLint -> Rep SDL_EGLint x)
-> (forall x. Rep SDL_EGLint x -> SDL_EGLint) -> Generic SDL_EGLint
forall x. Rep SDL_EGLint x -> SDL_EGLint
forall x. SDL_EGLint -> Rep SDL_EGLint x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. SDL_EGLint -> Rep SDL_EGLint x
from :: forall x. SDL_EGLint -> Rep SDL_EGLint x
$cto :: forall x. Rep SDL_EGLint x -> SDL_EGLint
to :: forall x. Rep SDL_EGLint x -> SDL_EGLint
BG.Generic, SDL_EGLint -> SDL_EGLint -> Bool
(SDL_EGLint -> SDL_EGLint -> Bool)
-> (SDL_EGLint -> SDL_EGLint -> Bool) -> Eq SDL_EGLint
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SDL_EGLint -> SDL_EGLint -> Bool
== :: SDL_EGLint -> SDL_EGLint -> Bool
$c/= :: SDL_EGLint -> SDL_EGLint -> Bool
/= :: SDL_EGLint -> SDL_EGLint -> Bool
Eq, Eq SDL_EGLint
Eq SDL_EGLint =>
(SDL_EGLint -> SDL_EGLint -> Ordering)
-> (SDL_EGLint -> SDL_EGLint -> Bool)
-> (SDL_EGLint -> SDL_EGLint -> Bool)
-> (SDL_EGLint -> SDL_EGLint -> Bool)
-> (SDL_EGLint -> SDL_EGLint -> Bool)
-> (SDL_EGLint -> SDL_EGLint -> SDL_EGLint)
-> (SDL_EGLint -> SDL_EGLint -> SDL_EGLint)
-> Ord SDL_EGLint
SDL_EGLint -> SDL_EGLint -> Bool
SDL_EGLint -> SDL_EGLint -> Ordering
SDL_EGLint -> SDL_EGLint -> SDL_EGLint
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: SDL_EGLint -> SDL_EGLint -> Ordering
compare :: SDL_EGLint -> SDL_EGLint -> Ordering
$c< :: SDL_EGLint -> SDL_EGLint -> Bool
< :: SDL_EGLint -> SDL_EGLint -> Bool
$c<= :: SDL_EGLint -> SDL_EGLint -> Bool
<= :: SDL_EGLint -> SDL_EGLint -> Bool
$c> :: SDL_EGLint -> SDL_EGLint -> Bool
> :: SDL_EGLint -> SDL_EGLint -> Bool
$c>= :: SDL_EGLint -> SDL_EGLint -> Bool
>= :: SDL_EGLint -> SDL_EGLint -> Bool
$cmax :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint
max :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint
$cmin :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint
min :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint
Ord, ReadPrec [SDL_EGLint]
ReadPrec SDL_EGLint
Int -> ReadS SDL_EGLint
ReadS [SDL_EGLint]
(Int -> ReadS SDL_EGLint)
-> ReadS [SDL_EGLint]
-> ReadPrec SDL_EGLint
-> ReadPrec [SDL_EGLint]
-> Read SDL_EGLint
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
$creadsPrec :: Int -> ReadS SDL_EGLint
readsPrec :: Int -> ReadS SDL_EGLint
$creadList :: ReadS [SDL_EGLint]
readList :: ReadS [SDL_EGLint]
$creadPrec :: ReadPrec SDL_EGLint
readPrec :: ReadPrec SDL_EGLint
$creadListPrec :: ReadPrec [SDL_EGLint]
readListPrec :: ReadPrec [SDL_EGLint]
Read, Int -> SDL_EGLint -> ShowS
[SDL_EGLint] -> ShowS
SDL_EGLint -> String
(Int -> SDL_EGLint -> ShowS)
-> (SDL_EGLint -> String)
-> ([SDL_EGLint] -> ShowS)
-> Show SDL_EGLint
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SDL_EGLint -> ShowS
showsPrec :: Int -> SDL_EGLint -> ShowS
$cshow :: SDL_EGLint -> String
show :: SDL_EGLint -> String
$cshowList :: [SDL_EGLint] -> ShowS
showList :: [SDL_EGLint] -> ShowS
Show)
deriving newtype
( Word64 -> Int -> SDL_EGLint
SDL_EGLint -> Int -> Word64
(SDL_EGLint -> Int -> Word64)
-> (Word64 -> Int -> SDL_EGLint) -> Bitfield SDL_EGLint
forall a.
(a -> Int -> Word64) -> (Word64 -> Int -> a) -> Bitfield a
$cnarrow :: SDL_EGLint -> Int -> Word64
narrow :: SDL_EGLint -> Int -> Word64
$cextend :: Word64 -> Int -> SDL_EGLint
extend :: Word64 -> Int -> SDL_EGLint
BG.Bitfield
, Eq SDL_EGLint
SDL_EGLint
Eq SDL_EGLint =>
(SDL_EGLint -> SDL_EGLint -> SDL_EGLint)
-> (SDL_EGLint -> SDL_EGLint -> SDL_EGLint)
-> (SDL_EGLint -> SDL_EGLint -> SDL_EGLint)
-> (SDL_EGLint -> SDL_EGLint)
-> (SDL_EGLint -> Int -> SDL_EGLint)
-> (SDL_EGLint -> Int -> SDL_EGLint)
-> SDL_EGLint
-> (Int -> SDL_EGLint)
-> (SDL_EGLint -> Int -> SDL_EGLint)
-> (SDL_EGLint -> Int -> SDL_EGLint)
-> (SDL_EGLint -> Int -> SDL_EGLint)
-> (SDL_EGLint -> Int -> Bool)
-> (SDL_EGLint -> Maybe Int)
-> (SDL_EGLint -> Int)
-> (SDL_EGLint -> Bool)
-> (SDL_EGLint -> Int -> SDL_EGLint)
-> (SDL_EGLint -> Int -> SDL_EGLint)
-> (SDL_EGLint -> Int -> SDL_EGLint)
-> (SDL_EGLint -> Int -> SDL_EGLint)
-> (SDL_EGLint -> Int -> SDL_EGLint)
-> (SDL_EGLint -> Int -> SDL_EGLint)
-> (SDL_EGLint -> Int)
-> Bits SDL_EGLint
Int -> SDL_EGLint
SDL_EGLint -> Bool
SDL_EGLint -> Int
SDL_EGLint -> Maybe Int
SDL_EGLint -> SDL_EGLint
SDL_EGLint -> Int -> Bool
SDL_EGLint -> Int -> SDL_EGLint
SDL_EGLint -> SDL_EGLint -> SDL_EGLint
forall a.
Eq a =>
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> a
-> (Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> Bool)
-> (a -> Maybe Int)
-> (a -> Int)
-> (a -> Bool)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int)
-> Bits a
$c.&. :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint
.&. :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint
$c.|. :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint
.|. :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint
$cxor :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint
xor :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint
$ccomplement :: SDL_EGLint -> SDL_EGLint
complement :: SDL_EGLint -> SDL_EGLint
$cshift :: SDL_EGLint -> Int -> SDL_EGLint
shift :: SDL_EGLint -> Int -> SDL_EGLint
$crotate :: SDL_EGLint -> Int -> SDL_EGLint
rotate :: SDL_EGLint -> Int -> SDL_EGLint
$czeroBits :: SDL_EGLint
zeroBits :: SDL_EGLint
$cbit :: Int -> SDL_EGLint
bit :: Int -> SDL_EGLint
$csetBit :: SDL_EGLint -> Int -> SDL_EGLint
setBit :: SDL_EGLint -> Int -> SDL_EGLint
$cclearBit :: SDL_EGLint -> Int -> SDL_EGLint
clearBit :: SDL_EGLint -> Int -> SDL_EGLint
$ccomplementBit :: SDL_EGLint -> Int -> SDL_EGLint
complementBit :: SDL_EGLint -> Int -> SDL_EGLint
$ctestBit :: SDL_EGLint -> Int -> Bool
testBit :: SDL_EGLint -> Int -> Bool
$cbitSizeMaybe :: SDL_EGLint -> Maybe Int
bitSizeMaybe :: SDL_EGLint -> Maybe Int
$cbitSize :: SDL_EGLint -> Int
bitSize :: SDL_EGLint -> Int
$cisSigned :: SDL_EGLint -> Bool
isSigned :: SDL_EGLint -> Bool
$cshiftL :: SDL_EGLint -> Int -> SDL_EGLint
shiftL :: SDL_EGLint -> Int -> SDL_EGLint
$cunsafeShiftL :: SDL_EGLint -> Int -> SDL_EGLint
unsafeShiftL :: SDL_EGLint -> Int -> SDL_EGLint
$cshiftR :: SDL_EGLint -> Int -> SDL_EGLint
shiftR :: SDL_EGLint -> Int -> SDL_EGLint
$cunsafeShiftR :: SDL_EGLint -> Int -> SDL_EGLint
unsafeShiftR :: SDL_EGLint -> Int -> SDL_EGLint
$crotateL :: SDL_EGLint -> Int -> SDL_EGLint
rotateL :: SDL_EGLint -> Int -> SDL_EGLint
$crotateR :: SDL_EGLint -> Int -> SDL_EGLint
rotateR :: SDL_EGLint -> Int -> SDL_EGLint
$cpopCount :: SDL_EGLint -> Int
popCount :: SDL_EGLint -> Int
BG.Bits
, Bits SDL_EGLint
Bits SDL_EGLint =>
(SDL_EGLint -> Int)
-> (SDL_EGLint -> Int)
-> (SDL_EGLint -> Int)
-> FiniteBits SDL_EGLint
SDL_EGLint -> Int
forall b.
Bits b =>
(b -> Int) -> (b -> Int) -> (b -> Int) -> FiniteBits b
$cfiniteBitSize :: SDL_EGLint -> Int
finiteBitSize :: SDL_EGLint -> Int
$ccountLeadingZeros :: SDL_EGLint -> Int
countLeadingZeros :: SDL_EGLint -> Int
$ccountTrailingZeros :: SDL_EGLint -> Int
countTrailingZeros :: SDL_EGLint -> Int
BG.FiniteBits
, FFIType SDL_EGLint -> SDL_EGLint
SDL_EGLint -> FFIType SDL_EGLint
(SDL_EGLint -> FFIType SDL_EGLint)
-> (FFIType SDL_EGLint -> SDL_EGLint) -> HasFFIType SDL_EGLint
forall a. (a -> FFIType a) -> (FFIType a -> a) -> HasFFIType a
$ctoFFIType :: SDL_EGLint -> FFIType SDL_EGLint
toFFIType :: SDL_EGLint -> FFIType SDL_EGLint
$cfromFFIType :: FFIType SDL_EGLint -> SDL_EGLint
fromFFIType :: FFIType SDL_EGLint -> SDL_EGLint
BG.HasFFIType
, Ord SDL_EGLint
Ord SDL_EGLint =>
((SDL_EGLint, SDL_EGLint) -> [SDL_EGLint])
-> ((SDL_EGLint, SDL_EGLint) -> SDL_EGLint -> Int)
-> ((SDL_EGLint, SDL_EGLint) -> SDL_EGLint -> Int)
-> ((SDL_EGLint, SDL_EGLint) -> SDL_EGLint -> Bool)
-> ((SDL_EGLint, SDL_EGLint) -> Int)
-> ((SDL_EGLint, SDL_EGLint) -> Int)
-> Ix SDL_EGLint
(SDL_EGLint, SDL_EGLint) -> Int
(SDL_EGLint, SDL_EGLint) -> [SDL_EGLint]
(SDL_EGLint, SDL_EGLint) -> SDL_EGLint -> Bool
(SDL_EGLint, SDL_EGLint) -> SDL_EGLint -> Int
forall a.
Ord a =>
((a, a) -> [a])
-> ((a, a) -> a -> Int)
-> ((a, a) -> a -> Int)
-> ((a, a) -> a -> Bool)
-> ((a, a) -> Int)
-> ((a, a) -> Int)
-> Ix a
$crange :: (SDL_EGLint, SDL_EGLint) -> [SDL_EGLint]
range :: (SDL_EGLint, SDL_EGLint) -> [SDL_EGLint]
$cindex :: (SDL_EGLint, SDL_EGLint) -> SDL_EGLint -> Int
index :: (SDL_EGLint, SDL_EGLint) -> SDL_EGLint -> Int
$cunsafeIndex :: (SDL_EGLint, SDL_EGLint) -> SDL_EGLint -> Int
unsafeIndex :: (SDL_EGLint, SDL_EGLint) -> SDL_EGLint -> Int
$cinRange :: (SDL_EGLint, SDL_EGLint) -> SDL_EGLint -> Bool
inRange :: (SDL_EGLint, SDL_EGLint) -> SDL_EGLint -> Bool
$crangeSize :: (SDL_EGLint, SDL_EGLint) -> Int
rangeSize :: (SDL_EGLint, SDL_EGLint) -> Int
$cunsafeRangeSize :: (SDL_EGLint, SDL_EGLint) -> Int
unsafeRangeSize :: (SDL_EGLint, SDL_EGLint) -> Int
BG.Ix
, Addr# -> Int# -> SDL_EGLint
ByteArray# -> Int# -> SDL_EGLint
Proxy SDL_EGLint -> Int#
SDL_EGLint -> Int#
(Proxy SDL_EGLint -> Int#)
-> (SDL_EGLint -> Int#)
-> (Proxy SDL_EGLint -> Int#)
-> (SDL_EGLint -> Int#)
-> (ByteArray# -> Int# -> SDL_EGLint)
-> (forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_EGLint #))
-> (forall s.
MutableByteArray# s -> Int# -> SDL_EGLint -> State# s -> State# s)
-> (forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_EGLint -> State# s -> State# s)
-> (Addr# -> Int# -> SDL_EGLint)
-> (forall s.
Addr# -> Int# -> State# s -> (# State# s, SDL_EGLint #))
-> (forall s. Addr# -> Int# -> SDL_EGLint -> State# s -> State# s)
-> (forall s.
Addr# -> Int# -> Int# -> SDL_EGLint -> State# s -> State# s)
-> Prim SDL_EGLint
forall s.
Addr# -> Int# -> Int# -> SDL_EGLint -> State# s -> State# s
forall s. Addr# -> Int# -> State# s -> (# State# s, SDL_EGLint #)
forall s. Addr# -> Int# -> SDL_EGLint -> State# s -> State# s
forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_EGLint -> State# s -> State# s
forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_EGLint #)
forall s.
MutableByteArray# s -> Int# -> SDL_EGLint -> State# s -> State# s
forall a.
(Proxy a -> Int#)
-> (a -> Int#)
-> (Proxy a -> Int#)
-> (a -> Int#)
-> (ByteArray# -> Int# -> a)
-> (forall s.
MutableByteArray# s -> Int# -> State# s -> (# State# s, a #))
-> (forall s.
MutableByteArray# s -> Int# -> a -> State# s -> State# s)
-> (forall s.
MutableByteArray# s -> Int# -> Int# -> a -> State# s -> State# s)
-> (Addr# -> Int# -> a)
-> (forall s. Addr# -> Int# -> State# s -> (# State# s, a #))
-> (forall s. Addr# -> Int# -> a -> State# s -> State# s)
-> (forall s. Addr# -> Int# -> Int# -> a -> State# s -> State# s)
-> Prim a
$csizeOfType# :: Proxy SDL_EGLint -> Int#
sizeOfType# :: Proxy SDL_EGLint -> Int#
$csizeOf# :: SDL_EGLint -> Int#
sizeOf# :: SDL_EGLint -> Int#
$calignmentOfType# :: Proxy SDL_EGLint -> Int#
alignmentOfType# :: Proxy SDL_EGLint -> Int#
$calignment# :: SDL_EGLint -> Int#
alignment# :: SDL_EGLint -> Int#
$cindexByteArray# :: ByteArray# -> Int# -> SDL_EGLint
indexByteArray# :: ByteArray# -> Int# -> SDL_EGLint
$creadByteArray# :: forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_EGLint #)
readByteArray# :: forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_EGLint #)
$cwriteByteArray# :: forall s.
MutableByteArray# s -> Int# -> SDL_EGLint -> State# s -> State# s
writeByteArray# :: forall s.
MutableByteArray# s -> Int# -> SDL_EGLint -> State# s -> State# s
$csetByteArray# :: forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_EGLint -> State# s -> State# s
setByteArray# :: forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_EGLint -> State# s -> State# s
$cindexOffAddr# :: Addr# -> Int# -> SDL_EGLint
indexOffAddr# :: Addr# -> Int# -> SDL_EGLint
$creadOffAddr# :: forall s. Addr# -> Int# -> State# s -> (# State# s, SDL_EGLint #)
readOffAddr# :: forall s. Addr# -> Int# -> State# s -> (# State# s, SDL_EGLint #)
$cwriteOffAddr# :: forall s. Addr# -> Int# -> SDL_EGLint -> State# s -> State# s
writeOffAddr# :: forall s. Addr# -> Int# -> SDL_EGLint -> State# s -> State# s
$csetOffAddr# :: forall s.
Addr# -> Int# -> Int# -> SDL_EGLint -> State# s -> State# s
setOffAddr# :: forall s.
Addr# -> Int# -> Int# -> SDL_EGLint -> State# s -> State# s
BG.Prim
, Ptr SDL_EGLint -> IO SDL_EGLint
Ptr SDL_EGLint -> Int -> IO SDL_EGLint
Ptr SDL_EGLint -> Int -> SDL_EGLint -> IO ()
Ptr SDL_EGLint -> SDL_EGLint -> IO ()
SDL_EGLint -> Int
(SDL_EGLint -> Int)
-> (SDL_EGLint -> Int)
-> (Ptr SDL_EGLint -> Int -> IO SDL_EGLint)
-> (Ptr SDL_EGLint -> Int -> SDL_EGLint -> IO ())
-> (forall b. Ptr b -> Int -> IO SDL_EGLint)
-> (forall b. Ptr b -> Int -> SDL_EGLint -> IO ())
-> (Ptr SDL_EGLint -> IO SDL_EGLint)
-> (Ptr SDL_EGLint -> SDL_EGLint -> IO ())
-> Storable SDL_EGLint
forall b. Ptr b -> Int -> IO SDL_EGLint
forall b. Ptr b -> Int -> SDL_EGLint -> IO ()
forall a.
(a -> Int)
-> (a -> Int)
-> (Ptr a -> Int -> IO a)
-> (Ptr a -> Int -> a -> IO ())
-> (forall b. Ptr b -> Int -> IO a)
-> (forall b. Ptr b -> Int -> a -> IO ())
-> (Ptr a -> IO a)
-> (Ptr a -> a -> IO ())
-> Storable a
$csizeOf :: SDL_EGLint -> Int
sizeOf :: SDL_EGLint -> Int
$calignment :: SDL_EGLint -> Int
alignment :: SDL_EGLint -> Int
$cpeekElemOff :: Ptr SDL_EGLint -> Int -> IO SDL_EGLint
peekElemOff :: Ptr SDL_EGLint -> Int -> IO SDL_EGLint
$cpokeElemOff :: Ptr SDL_EGLint -> Int -> SDL_EGLint -> IO ()
pokeElemOff :: Ptr SDL_EGLint -> Int -> SDL_EGLint -> IO ()
$cpeekByteOff :: forall b. Ptr b -> Int -> IO SDL_EGLint
peekByteOff :: forall b. Ptr b -> Int -> IO SDL_EGLint
$cpokeByteOff :: forall b. Ptr b -> Int -> SDL_EGLint -> IO ()
pokeByteOff :: forall b. Ptr b -> Int -> SDL_EGLint -> IO ()
$cpeek :: Ptr SDL_EGLint -> IO SDL_EGLint
peek :: Ptr SDL_EGLint -> IO SDL_EGLint
$cpoke :: Ptr SDL_EGLint -> SDL_EGLint -> IO ()
poke :: Ptr SDL_EGLint -> SDL_EGLint -> IO ()
BG.Storable
, SDL_EGLint
SDL_EGLint -> SDL_EGLint -> Bounded SDL_EGLint
forall a. a -> a -> Bounded a
$cminBound :: SDL_EGLint
minBound :: SDL_EGLint
$cmaxBound :: SDL_EGLint
maxBound :: SDL_EGLint
Bounded
, Int -> SDL_EGLint
SDL_EGLint -> Int
SDL_EGLint -> [SDL_EGLint]
SDL_EGLint -> SDL_EGLint
SDL_EGLint -> SDL_EGLint -> [SDL_EGLint]
SDL_EGLint -> SDL_EGLint -> SDL_EGLint -> [SDL_EGLint]
(SDL_EGLint -> SDL_EGLint)
-> (SDL_EGLint -> SDL_EGLint)
-> (Int -> SDL_EGLint)
-> (SDL_EGLint -> Int)
-> (SDL_EGLint -> [SDL_EGLint])
-> (SDL_EGLint -> SDL_EGLint -> [SDL_EGLint])
-> (SDL_EGLint -> SDL_EGLint -> [SDL_EGLint])
-> (SDL_EGLint -> SDL_EGLint -> SDL_EGLint -> [SDL_EGLint])
-> Enum SDL_EGLint
forall a.
(a -> a)
-> (a -> a)
-> (Int -> a)
-> (a -> Int)
-> (a -> [a])
-> (a -> a -> [a])
-> (a -> a -> [a])
-> (a -> a -> a -> [a])
-> Enum a
$csucc :: SDL_EGLint -> SDL_EGLint
succ :: SDL_EGLint -> SDL_EGLint
$cpred :: SDL_EGLint -> SDL_EGLint
pred :: SDL_EGLint -> SDL_EGLint
$ctoEnum :: Int -> SDL_EGLint
toEnum :: Int -> SDL_EGLint
$cfromEnum :: SDL_EGLint -> Int
fromEnum :: SDL_EGLint -> Int
$cenumFrom :: SDL_EGLint -> [SDL_EGLint]
enumFrom :: SDL_EGLint -> [SDL_EGLint]
$cenumFromThen :: SDL_EGLint -> SDL_EGLint -> [SDL_EGLint]
enumFromThen :: SDL_EGLint -> SDL_EGLint -> [SDL_EGLint]
$cenumFromTo :: SDL_EGLint -> SDL_EGLint -> [SDL_EGLint]
enumFromTo :: SDL_EGLint -> SDL_EGLint -> [SDL_EGLint]
$cenumFromThenTo :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint -> [SDL_EGLint]
enumFromThenTo :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint -> [SDL_EGLint]
Enum
, Enum SDL_EGLint
Real SDL_EGLint
(Real SDL_EGLint, Enum SDL_EGLint) =>
(SDL_EGLint -> SDL_EGLint -> SDL_EGLint)
-> (SDL_EGLint -> SDL_EGLint -> SDL_EGLint)
-> (SDL_EGLint -> SDL_EGLint -> SDL_EGLint)
-> (SDL_EGLint -> SDL_EGLint -> SDL_EGLint)
-> (SDL_EGLint -> SDL_EGLint -> (SDL_EGLint, SDL_EGLint))
-> (SDL_EGLint -> SDL_EGLint -> (SDL_EGLint, SDL_EGLint))
-> (SDL_EGLint -> Integer)
-> Integral SDL_EGLint
SDL_EGLint -> Integer
SDL_EGLint -> SDL_EGLint -> (SDL_EGLint, SDL_EGLint)
SDL_EGLint -> SDL_EGLint -> SDL_EGLint
forall a.
(Real a, Enum a) =>
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> (a, a))
-> (a -> a -> (a, a))
-> (a -> Integer)
-> Integral a
$cquot :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint
quot :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint
$crem :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint
rem :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint
$cdiv :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint
div :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint
$cmod :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint
mod :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint
$cquotRem :: SDL_EGLint -> SDL_EGLint -> (SDL_EGLint, SDL_EGLint)
quotRem :: SDL_EGLint -> SDL_EGLint -> (SDL_EGLint, SDL_EGLint)
$cdivMod :: SDL_EGLint -> SDL_EGLint -> (SDL_EGLint, SDL_EGLint)
divMod :: SDL_EGLint -> SDL_EGLint -> (SDL_EGLint, SDL_EGLint)
$ctoInteger :: SDL_EGLint -> Integer
toInteger :: SDL_EGLint -> Integer
Integral
, Ptr SDL_EGLint -> IO SDL_EGLint
(Ptr SDL_EGLint -> IO SDL_EGLint) -> ReadRaw SDL_EGLint
forall a. (Ptr a -> IO a) -> ReadRaw a
$creadRaw :: Ptr SDL_EGLint -> IO SDL_EGLint
readRaw :: Ptr SDL_EGLint -> IO SDL_EGLint
Marshal.ReadRaw
, Proxy SDL_EGLint -> Int
(Proxy SDL_EGLint -> Int)
-> (Proxy SDL_EGLint -> Int) -> StaticSize SDL_EGLint
forall a. (Proxy a -> Int) -> (Proxy a -> Int) -> StaticSize a
$cstaticSizeOf :: Proxy SDL_EGLint -> Int
staticSizeOf :: Proxy SDL_EGLint -> Int
$cstaticAlignment :: Proxy SDL_EGLint -> Int
staticAlignment :: Proxy SDL_EGLint -> Int
Marshal.StaticSize
, Ptr SDL_EGLint -> SDL_EGLint -> IO ()
(Ptr SDL_EGLint -> SDL_EGLint -> IO ()) -> WriteRaw SDL_EGLint
forall a. (Ptr a -> a -> IO ()) -> WriteRaw a
$cwriteRaw :: Ptr SDL_EGLint -> SDL_EGLint -> IO ()
writeRaw :: Ptr SDL_EGLint -> SDL_EGLint -> IO ()
Marshal.WriteRaw
, Integer -> SDL_EGLint
SDL_EGLint -> SDL_EGLint
SDL_EGLint -> SDL_EGLint -> SDL_EGLint
(SDL_EGLint -> SDL_EGLint -> SDL_EGLint)
-> (SDL_EGLint -> SDL_EGLint -> SDL_EGLint)
-> (SDL_EGLint -> SDL_EGLint -> SDL_EGLint)
-> (SDL_EGLint -> SDL_EGLint)
-> (SDL_EGLint -> SDL_EGLint)
-> (SDL_EGLint -> SDL_EGLint)
-> (Integer -> SDL_EGLint)
-> Num SDL_EGLint
forall a.
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a)
-> (a -> a)
-> (a -> a)
-> (Integer -> a)
-> Num a
$c+ :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint
+ :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint
$c- :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint
- :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint
$c* :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint
* :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint
$cnegate :: SDL_EGLint -> SDL_EGLint
negate :: SDL_EGLint -> SDL_EGLint
$cabs :: SDL_EGLint -> SDL_EGLint
abs :: SDL_EGLint -> SDL_EGLint
$csignum :: SDL_EGLint -> SDL_EGLint
signum :: SDL_EGLint -> SDL_EGLint
$cfromInteger :: Integer -> SDL_EGLint
fromInteger :: Integer -> SDL_EGLint
Num
, Num SDL_EGLint
Ord SDL_EGLint
(Num SDL_EGLint, Ord SDL_EGLint) =>
(SDL_EGLint -> Rational) -> Real SDL_EGLint
SDL_EGLint -> Rational
forall a. (Num a, Ord a) => (a -> Rational) -> Real a
$ctoRational :: SDL_EGLint -> Rational
toRational :: SDL_EGLint -> Rational
Real
)
instance
(ty ~ BG.CInt)
=> BG.CompatHasField.HasField "unwrap" SDL_EGLint ty
where
hasField :: SDL_EGLint -> (ty -> SDL_EGLint, ty)
hasField =
\SDL_EGLint
x0 ->
( \ty
y1 ->
SDL_EGLint{unwrap :: CInt
unwrap = ty
CInt
y1}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_EGLint
x0
)
instance
(ty ~ BG.CInt)
=> BG.HasField "unwrap" (BG.Ptr SDL_EGLint) (BG.Ptr ty)
where
getField :: Ptr SDL_EGLint -> Ptr ty
getField = Proxy "unwrap"
-> Ptr SDL_EGLint -> Ptr (CFieldType SDL_EGLint "unwrap")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"unwrap")
instance HasCField.HasCField SDL_EGLint "unwrap" where
type CFieldType SDL_EGLint "unwrap" = BG.CInt
offset# :: Proxy# SDL_EGLint -> Proxy# "unwrap" -> Int
offset# = \Proxy# SDL_EGLint
_ -> \Proxy# "unwrap"
_ -> Int
0
newtype SDL_EGLAttribArrayCallback_Aux = SDL_EGLAttribArrayCallback_Aux
{ SDL_EGLAttribArrayCallback_Aux
-> Ptr Void -> IO (Ptr SDL_EGLAttrib)
unwrap :: BG.Ptr BG.Void -> IO (BG.Ptr SDL_EGLAttrib)
}
deriving stock ((forall x.
SDL_EGLAttribArrayCallback_Aux
-> Rep SDL_EGLAttribArrayCallback_Aux x)
-> (forall x.
Rep SDL_EGLAttribArrayCallback_Aux x
-> SDL_EGLAttribArrayCallback_Aux)
-> Generic SDL_EGLAttribArrayCallback_Aux
forall x.
Rep SDL_EGLAttribArrayCallback_Aux x
-> SDL_EGLAttribArrayCallback_Aux
forall x.
SDL_EGLAttribArrayCallback_Aux
-> Rep SDL_EGLAttribArrayCallback_Aux x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x.
SDL_EGLAttribArrayCallback_Aux
-> Rep SDL_EGLAttribArrayCallback_Aux x
from :: forall x.
SDL_EGLAttribArrayCallback_Aux
-> Rep SDL_EGLAttribArrayCallback_Aux x
$cto :: forall x.
Rep SDL_EGLAttribArrayCallback_Aux x
-> SDL_EGLAttribArrayCallback_Aux
to :: forall x.
Rep SDL_EGLAttribArrayCallback_Aux x
-> SDL_EGLAttribArrayCallback_Aux
BG.Generic)
foreign import ccall safe "wrapper"
hs_bindgen_11c111f1d1328021_base
:: (BG.Ptr BG.Void -> IO (BG.Ptr BG.Void))
-> IO (BG.FunPtr (BG.Ptr BG.Void -> IO (BG.Ptr BG.Void)))
hs_bindgen_11c111f1d1328021
:: SDL_EGLAttribArrayCallback_Aux
-> IO (BG.FunPtr SDL_EGLAttribArrayCallback_Aux)
hs_bindgen_11c111f1d1328021 :: SDL_EGLAttribArrayCallback_Aux
-> IO (FunPtr SDL_EGLAttribArrayCallback_Aux)
hs_bindgen_11c111f1d1328021 =
\SDL_EGLAttribArrayCallback_Aux
fun0 ->
(FunPtr (Ptr Void -> IO (Ptr Void))
-> FunPtr SDL_EGLAttribArrayCallback_Aux)
-> IO (FunPtr (Ptr Void -> IO (Ptr Void)))
-> IO (FunPtr SDL_EGLAttribArrayCallback_Aux)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
FunPtr (Ptr Void -> IO (Ptr Void))
-> FunPtr SDL_EGLAttribArrayCallback_Aux
forall a b. FunPtr a -> FunPtr b
BG.castFunPtr
( (Ptr Void -> IO (Ptr Void))
-> IO (FunPtr (Ptr Void -> IO (Ptr Void)))
hs_bindgen_11c111f1d1328021_base
( \Ptr Void
x1 ->
(Ptr SDL_EGLAttrib -> Ptr Void)
-> IO (Ptr SDL_EGLAttrib) -> IO (Ptr Void)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr SDL_EGLAttrib -> Ptr Void
Ptr SDL_EGLAttrib -> FFIType (Ptr SDL_EGLAttrib)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType (forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_EGLAttribArrayCallback_Aux
fun0 (FFIType (Ptr Void) -> Ptr Void
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType Ptr Void
FFIType (Ptr Void)
x1))
)
)
foreign import ccall safe "dynamic"
hs_bindgen_30601c44a183aaaa_base
:: BG.FunPtr (BG.Ptr BG.Void -> IO (BG.Ptr BG.Void))
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_30601c44a183aaaa
:: BG.FunPtr SDL_EGLAttribArrayCallback_Aux
-> SDL_EGLAttribArrayCallback_Aux
hs_bindgen_30601c44a183aaaa :: FunPtr SDL_EGLAttribArrayCallback_Aux
-> SDL_EGLAttribArrayCallback_Aux
hs_bindgen_30601c44a183aaaa =
\FunPtr SDL_EGLAttribArrayCallback_Aux
funPtr0 ->
(Ptr Void -> IO (Ptr SDL_EGLAttrib))
-> SDL_EGLAttribArrayCallback_Aux
SDL_EGLAttribArrayCallback_Aux
( \Ptr Void
x1 ->
(Ptr Void -> Ptr SDL_EGLAttrib)
-> IO (Ptr Void) -> IO (Ptr SDL_EGLAttrib)
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_EGLAttrib
FFIType (Ptr SDL_EGLAttrib) -> Ptr SDL_EGLAttrib
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (FunPtr (Ptr Void -> IO (Ptr Void)) -> Ptr Void -> IO (Ptr Void)
hs_bindgen_30601c44a183aaaa_base (FunPtr SDL_EGLAttribArrayCallback_Aux
-> FunPtr (Ptr Void -> IO (Ptr Void))
forall a b. FunPtr a -> FunPtr b
BG.castFunPtr FunPtr SDL_EGLAttribArrayCallback_Aux
funPtr0) (Ptr Void -> FFIType (Ptr Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Void
x1))
)
instance BG.ToFunPtr SDL_EGLAttribArrayCallback_Aux where
toFunPtr :: SDL_EGLAttribArrayCallback_Aux
-> IO (FunPtr SDL_EGLAttribArrayCallback_Aux)
toFunPtr = SDL_EGLAttribArrayCallback_Aux
-> IO (FunPtr SDL_EGLAttribArrayCallback_Aux)
hs_bindgen_11c111f1d1328021
instance BG.FromFunPtr SDL_EGLAttribArrayCallback_Aux where
fromFunPtr :: FunPtr SDL_EGLAttribArrayCallback_Aux
-> SDL_EGLAttribArrayCallback_Aux
fromFunPtr = FunPtr SDL_EGLAttribArrayCallback_Aux
-> SDL_EGLAttribArrayCallback_Aux
hs_bindgen_30601c44a183aaaa
instance
(ty ~ (BG.Ptr BG.Void -> IO (BG.Ptr SDL_EGLAttrib)))
=> BG.CompatHasField.HasField "unwrap" SDL_EGLAttribArrayCallback_Aux ty
where
hasField :: SDL_EGLAttribArrayCallback_Aux
-> (ty -> SDL_EGLAttribArrayCallback_Aux, ty)
hasField =
\SDL_EGLAttribArrayCallback_Aux
x0 ->
( \ty
y1 -> SDL_EGLAttribArrayCallback_Aux{unwrap :: Ptr Void -> IO (Ptr SDL_EGLAttrib)
unwrap = ty
Ptr Void -> IO (Ptr SDL_EGLAttrib)
y1}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_EGLAttribArrayCallback_Aux
x0
)
instance
(ty ~ (BG.Ptr BG.Void -> IO (BG.Ptr SDL_EGLAttrib)))
=> BG.HasField "unwrap" (BG.Ptr SDL_EGLAttribArrayCallback_Aux) (BG.Ptr ty)
where
getField :: Ptr SDL_EGLAttribArrayCallback_Aux -> Ptr ty
getField = Proxy "unwrap"
-> Ptr SDL_EGLAttribArrayCallback_Aux
-> Ptr (CFieldType SDL_EGLAttribArrayCallback_Aux "unwrap")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"unwrap")
instance HasCField.HasCField SDL_EGLAttribArrayCallback_Aux "unwrap" where
type
CFieldType SDL_EGLAttribArrayCallback_Aux "unwrap" =
BG.Ptr BG.Void -> IO (BG.Ptr SDL_EGLAttrib)
offset# :: Proxy# SDL_EGLAttribArrayCallback_Aux -> Proxy# "unwrap" -> Int
offset# = \Proxy# SDL_EGLAttribArrayCallback_Aux
_ -> \Proxy# "unwrap"
_ -> Int
0
newtype SDL_EGLAttribArrayCallback = SDL_EGLAttribArrayCallback
{ SDL_EGLAttribArrayCallback -> FunPtr SDL_EGLAttribArrayCallback_Aux
unwrap :: BG.FunPtr SDL_EGLAttribArrayCallback_Aux
}
deriving stock ((forall x.
SDL_EGLAttribArrayCallback -> Rep SDL_EGLAttribArrayCallback x)
-> (forall x.
Rep SDL_EGLAttribArrayCallback x -> SDL_EGLAttribArrayCallback)
-> Generic SDL_EGLAttribArrayCallback
forall x.
Rep SDL_EGLAttribArrayCallback x -> SDL_EGLAttribArrayCallback
forall x.
SDL_EGLAttribArrayCallback -> Rep SDL_EGLAttribArrayCallback x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x.
SDL_EGLAttribArrayCallback -> Rep SDL_EGLAttribArrayCallback x
from :: forall x.
SDL_EGLAttribArrayCallback -> Rep SDL_EGLAttribArrayCallback x
$cto :: forall x.
Rep SDL_EGLAttribArrayCallback x -> SDL_EGLAttribArrayCallback
to :: forall x.
Rep SDL_EGLAttribArrayCallback x -> SDL_EGLAttribArrayCallback
BG.Generic, SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback -> Bool
(SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback -> Bool)
-> (SDL_EGLAttribArrayCallback
-> SDL_EGLAttribArrayCallback -> Bool)
-> Eq SDL_EGLAttribArrayCallback
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback -> Bool
== :: SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback -> Bool
$c/= :: SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback -> Bool
/= :: SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback -> Bool
Eq, Eq SDL_EGLAttribArrayCallback
Eq SDL_EGLAttribArrayCallback =>
(SDL_EGLAttribArrayCallback
-> SDL_EGLAttribArrayCallback -> Ordering)
-> (SDL_EGLAttribArrayCallback
-> SDL_EGLAttribArrayCallback -> Bool)
-> (SDL_EGLAttribArrayCallback
-> SDL_EGLAttribArrayCallback -> Bool)
-> (SDL_EGLAttribArrayCallback
-> SDL_EGLAttribArrayCallback -> Bool)
-> (SDL_EGLAttribArrayCallback
-> SDL_EGLAttribArrayCallback -> Bool)
-> (SDL_EGLAttribArrayCallback
-> SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback)
-> (SDL_EGLAttribArrayCallback
-> SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback)
-> Ord SDL_EGLAttribArrayCallback
SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback -> Bool
SDL_EGLAttribArrayCallback
-> SDL_EGLAttribArrayCallback -> Ordering
SDL_EGLAttribArrayCallback
-> SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: SDL_EGLAttribArrayCallback
-> SDL_EGLAttribArrayCallback -> Ordering
compare :: SDL_EGLAttribArrayCallback
-> SDL_EGLAttribArrayCallback -> Ordering
$c< :: SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback -> Bool
< :: SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback -> Bool
$c<= :: SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback -> Bool
<= :: SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback -> Bool
$c> :: SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback -> Bool
> :: SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback -> Bool
$c>= :: SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback -> Bool
>= :: SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback -> Bool
$cmax :: SDL_EGLAttribArrayCallback
-> SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback
max :: SDL_EGLAttribArrayCallback
-> SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback
$cmin :: SDL_EGLAttribArrayCallback
-> SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback
min :: SDL_EGLAttribArrayCallback
-> SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback
Ord, Int -> SDL_EGLAttribArrayCallback -> ShowS
[SDL_EGLAttribArrayCallback] -> ShowS
SDL_EGLAttribArrayCallback -> String
(Int -> SDL_EGLAttribArrayCallback -> ShowS)
-> (SDL_EGLAttribArrayCallback -> String)
-> ([SDL_EGLAttribArrayCallback] -> ShowS)
-> Show SDL_EGLAttribArrayCallback
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SDL_EGLAttribArrayCallback -> ShowS
showsPrec :: Int -> SDL_EGLAttribArrayCallback -> ShowS
$cshow :: SDL_EGLAttribArrayCallback -> String
show :: SDL_EGLAttribArrayCallback -> String
$cshowList :: [SDL_EGLAttribArrayCallback] -> ShowS
showList :: [SDL_EGLAttribArrayCallback] -> ShowS
Show)
deriving newtype
( FFIType SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback
SDL_EGLAttribArrayCallback -> FFIType SDL_EGLAttribArrayCallback
(SDL_EGLAttribArrayCallback -> FFIType SDL_EGLAttribArrayCallback)
-> (FFIType SDL_EGLAttribArrayCallback
-> SDL_EGLAttribArrayCallback)
-> HasFFIType SDL_EGLAttribArrayCallback
forall a. (a -> FFIType a) -> (FFIType a -> a) -> HasFFIType a
$ctoFFIType :: SDL_EGLAttribArrayCallback -> FFIType SDL_EGLAttribArrayCallback
toFFIType :: SDL_EGLAttribArrayCallback -> FFIType SDL_EGLAttribArrayCallback
$cfromFFIType :: FFIType SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback
fromFFIType :: FFIType SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback
BG.HasFFIType
, Ptr SDL_EGLAttribArrayCallback -> IO SDL_EGLAttribArrayCallback
Ptr SDL_EGLAttribArrayCallback
-> Int -> IO SDL_EGLAttribArrayCallback
Ptr SDL_EGLAttribArrayCallback
-> Int -> SDL_EGLAttribArrayCallback -> IO ()
Ptr SDL_EGLAttribArrayCallback
-> SDL_EGLAttribArrayCallback -> IO ()
SDL_EGLAttribArrayCallback -> Int
(SDL_EGLAttribArrayCallback -> Int)
-> (SDL_EGLAttribArrayCallback -> Int)
-> (Ptr SDL_EGLAttribArrayCallback
-> Int -> IO SDL_EGLAttribArrayCallback)
-> (Ptr SDL_EGLAttribArrayCallback
-> Int -> SDL_EGLAttribArrayCallback -> IO ())
-> (forall b. Ptr b -> Int -> IO SDL_EGLAttribArrayCallback)
-> (forall b. Ptr b -> Int -> SDL_EGLAttribArrayCallback -> IO ())
-> (Ptr SDL_EGLAttribArrayCallback
-> IO SDL_EGLAttribArrayCallback)
-> (Ptr SDL_EGLAttribArrayCallback
-> SDL_EGLAttribArrayCallback -> IO ())
-> Storable SDL_EGLAttribArrayCallback
forall b. Ptr b -> Int -> IO SDL_EGLAttribArrayCallback
forall b. Ptr b -> Int -> SDL_EGLAttribArrayCallback -> IO ()
forall a.
(a -> Int)
-> (a -> Int)
-> (Ptr a -> Int -> IO a)
-> (Ptr a -> Int -> a -> IO ())
-> (forall b. Ptr b -> Int -> IO a)
-> (forall b. Ptr b -> Int -> a -> IO ())
-> (Ptr a -> IO a)
-> (Ptr a -> a -> IO ())
-> Storable a
$csizeOf :: SDL_EGLAttribArrayCallback -> Int
sizeOf :: SDL_EGLAttribArrayCallback -> Int
$calignment :: SDL_EGLAttribArrayCallback -> Int
alignment :: SDL_EGLAttribArrayCallback -> Int
$cpeekElemOff :: Ptr SDL_EGLAttribArrayCallback
-> Int -> IO SDL_EGLAttribArrayCallback
peekElemOff :: Ptr SDL_EGLAttribArrayCallback
-> Int -> IO SDL_EGLAttribArrayCallback
$cpokeElemOff :: Ptr SDL_EGLAttribArrayCallback
-> Int -> SDL_EGLAttribArrayCallback -> IO ()
pokeElemOff :: Ptr SDL_EGLAttribArrayCallback
-> Int -> SDL_EGLAttribArrayCallback -> IO ()
$cpeekByteOff :: forall b. Ptr b -> Int -> IO SDL_EGLAttribArrayCallback
peekByteOff :: forall b. Ptr b -> Int -> IO SDL_EGLAttribArrayCallback
$cpokeByteOff :: forall b. Ptr b -> Int -> SDL_EGLAttribArrayCallback -> IO ()
pokeByteOff :: forall b. Ptr b -> Int -> SDL_EGLAttribArrayCallback -> IO ()
$cpeek :: Ptr SDL_EGLAttribArrayCallback -> IO SDL_EGLAttribArrayCallback
peek :: Ptr SDL_EGLAttribArrayCallback -> IO SDL_EGLAttribArrayCallback
$cpoke :: Ptr SDL_EGLAttribArrayCallback
-> SDL_EGLAttribArrayCallback -> IO ()
poke :: Ptr SDL_EGLAttribArrayCallback
-> SDL_EGLAttribArrayCallback -> IO ()
BG.Storable
, Ptr SDL_EGLAttribArrayCallback -> IO SDL_EGLAttribArrayCallback
(Ptr SDL_EGLAttribArrayCallback -> IO SDL_EGLAttribArrayCallback)
-> ReadRaw SDL_EGLAttribArrayCallback
forall a. (Ptr a -> IO a) -> ReadRaw a
$creadRaw :: Ptr SDL_EGLAttribArrayCallback -> IO SDL_EGLAttribArrayCallback
readRaw :: Ptr SDL_EGLAttribArrayCallback -> IO SDL_EGLAttribArrayCallback
Marshal.ReadRaw
, Proxy SDL_EGLAttribArrayCallback -> Int
(Proxy SDL_EGLAttribArrayCallback -> Int)
-> (Proxy SDL_EGLAttribArrayCallback -> Int)
-> StaticSize SDL_EGLAttribArrayCallback
forall a. (Proxy a -> Int) -> (Proxy a -> Int) -> StaticSize a
$cstaticSizeOf :: Proxy SDL_EGLAttribArrayCallback -> Int
staticSizeOf :: Proxy SDL_EGLAttribArrayCallback -> Int
$cstaticAlignment :: Proxy SDL_EGLAttribArrayCallback -> Int
staticAlignment :: Proxy SDL_EGLAttribArrayCallback -> Int
Marshal.StaticSize
, Ptr SDL_EGLAttribArrayCallback
-> SDL_EGLAttribArrayCallback -> IO ()
(Ptr SDL_EGLAttribArrayCallback
-> SDL_EGLAttribArrayCallback -> IO ())
-> WriteRaw SDL_EGLAttribArrayCallback
forall a. (Ptr a -> a -> IO ()) -> WriteRaw a
$cwriteRaw :: Ptr SDL_EGLAttribArrayCallback
-> SDL_EGLAttribArrayCallback -> IO ()
writeRaw :: Ptr SDL_EGLAttribArrayCallback
-> SDL_EGLAttribArrayCallback -> IO ()
Marshal.WriteRaw
)
instance
(ty ~ BG.FunPtr SDL_EGLAttribArrayCallback_Aux)
=> BG.CompatHasField.HasField "unwrap" SDL_EGLAttribArrayCallback ty
where
hasField :: SDL_EGLAttribArrayCallback
-> (ty -> SDL_EGLAttribArrayCallback, ty)
hasField =
\SDL_EGLAttribArrayCallback
x0 ->
( \ty
y1 ->
SDL_EGLAttribArrayCallback{unwrap :: FunPtr SDL_EGLAttribArrayCallback_Aux
unwrap = ty
FunPtr SDL_EGLAttribArrayCallback_Aux
y1}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_EGLAttribArrayCallback
x0
)
instance
(ty ~ BG.FunPtr SDL_EGLAttribArrayCallback_Aux)
=> BG.HasField "unwrap" (BG.Ptr SDL_EGLAttribArrayCallback) (BG.Ptr ty)
where
getField :: Ptr SDL_EGLAttribArrayCallback -> Ptr ty
getField = Proxy "unwrap"
-> Ptr SDL_EGLAttribArrayCallback
-> Ptr (CFieldType SDL_EGLAttribArrayCallback "unwrap")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"unwrap")
instance HasCField.HasCField SDL_EGLAttribArrayCallback "unwrap" where
type
CFieldType SDL_EGLAttribArrayCallback "unwrap" =
BG.FunPtr SDL_EGLAttribArrayCallback_Aux
offset# :: Proxy# SDL_EGLAttribArrayCallback -> Proxy# "unwrap" -> Int
offset# = \Proxy# SDL_EGLAttribArrayCallback
_ -> \Proxy# "unwrap"
_ -> Int
0
newtype SDL_EGLIntArrayCallback_Aux = SDL_EGLIntArrayCallback_Aux
{ SDL_EGLIntArrayCallback_Aux
-> Ptr Void
-> SDL_EGLDisplay
-> SDL_EGLConfig
-> IO (Ptr SDL_EGLint)
unwrap :: BG.Ptr BG.Void -> SDL_EGLDisplay -> SDL_EGLConfig -> IO (BG.Ptr SDL_EGLint)
}
deriving stock ((forall x.
SDL_EGLIntArrayCallback_Aux -> Rep SDL_EGLIntArrayCallback_Aux x)
-> (forall x.
Rep SDL_EGLIntArrayCallback_Aux x -> SDL_EGLIntArrayCallback_Aux)
-> Generic SDL_EGLIntArrayCallback_Aux
forall x.
Rep SDL_EGLIntArrayCallback_Aux x -> SDL_EGLIntArrayCallback_Aux
forall x.
SDL_EGLIntArrayCallback_Aux -> Rep SDL_EGLIntArrayCallback_Aux x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x.
SDL_EGLIntArrayCallback_Aux -> Rep SDL_EGLIntArrayCallback_Aux x
from :: forall x.
SDL_EGLIntArrayCallback_Aux -> Rep SDL_EGLIntArrayCallback_Aux x
$cto :: forall x.
Rep SDL_EGLIntArrayCallback_Aux x -> SDL_EGLIntArrayCallback_Aux
to :: forall x.
Rep SDL_EGLIntArrayCallback_Aux x -> SDL_EGLIntArrayCallback_Aux
BG.Generic)
foreign import ccall safe "wrapper"
hs_bindgen_6f9a11d91e338196_base
:: (BG.Ptr BG.Void -> BG.Ptr BG.Void -> BG.Ptr BG.Void -> IO (BG.Ptr BG.Void))
-> IO (BG.FunPtr (BG.Ptr BG.Void -> BG.Ptr BG.Void -> BG.Ptr BG.Void -> IO (BG.Ptr BG.Void)))
hs_bindgen_6f9a11d91e338196
:: SDL_EGLIntArrayCallback_Aux
-> IO (BG.FunPtr SDL_EGLIntArrayCallback_Aux)
hs_bindgen_6f9a11d91e338196 :: SDL_EGLIntArrayCallback_Aux
-> IO (FunPtr SDL_EGLIntArrayCallback_Aux)
hs_bindgen_6f9a11d91e338196 =
\SDL_EGLIntArrayCallback_Aux
fun0 ->
(FunPtr (Ptr Void -> Ptr Void -> Ptr Void -> IO (Ptr Void))
-> FunPtr SDL_EGLIntArrayCallback_Aux)
-> IO (FunPtr (Ptr Void -> Ptr Void -> Ptr Void -> IO (Ptr Void)))
-> IO (FunPtr SDL_EGLIntArrayCallback_Aux)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
FunPtr (Ptr Void -> Ptr Void -> Ptr Void -> IO (Ptr Void))
-> FunPtr SDL_EGLIntArrayCallback_Aux
forall a b. FunPtr a -> FunPtr b
BG.castFunPtr
( (Ptr Void -> Ptr Void -> Ptr Void -> IO (Ptr Void))
-> IO (FunPtr (Ptr Void -> Ptr Void -> Ptr Void -> IO (Ptr Void)))
hs_bindgen_6f9a11d91e338196_base
( \Ptr Void
x1 ->
\Ptr Void
x2 ->
\Ptr Void
x3 ->
(Ptr SDL_EGLint -> Ptr Void)
-> IO (Ptr SDL_EGLint) -> IO (Ptr Void)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
Ptr SDL_EGLint -> Ptr Void
Ptr SDL_EGLint -> FFIType (Ptr SDL_EGLint)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType
(forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_EGLIntArrayCallback_Aux
fun0 (FFIType (Ptr Void) -> Ptr Void
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType Ptr Void
FFIType (Ptr Void)
x1) (FFIType SDL_EGLDisplay -> SDL_EGLDisplay
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType Ptr Void
FFIType SDL_EGLDisplay
x2) (FFIType SDL_EGLConfig -> SDL_EGLConfig
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType Ptr Void
FFIType SDL_EGLConfig
x3))
)
)
foreign import ccall safe "dynamic"
hs_bindgen_19e73e54259a2a81_base
:: BG.FunPtr (BG.Ptr BG.Void -> BG.Ptr BG.Void -> BG.Ptr BG.Void -> IO (BG.Ptr BG.Void))
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_19e73e54259a2a81
:: BG.FunPtr SDL_EGLIntArrayCallback_Aux
-> SDL_EGLIntArrayCallback_Aux
hs_bindgen_19e73e54259a2a81 :: FunPtr SDL_EGLIntArrayCallback_Aux -> SDL_EGLIntArrayCallback_Aux
hs_bindgen_19e73e54259a2a81 =
\FunPtr SDL_EGLIntArrayCallback_Aux
funPtr0 ->
(Ptr Void
-> SDL_EGLDisplay -> SDL_EGLConfig -> IO (Ptr SDL_EGLint))
-> SDL_EGLIntArrayCallback_Aux
SDL_EGLIntArrayCallback_Aux
( \Ptr Void
x1 ->
\SDL_EGLDisplay
x2 ->
\SDL_EGLConfig
x3 ->
(Ptr Void -> Ptr SDL_EGLint)
-> IO (Ptr Void) -> IO (Ptr SDL_EGLint)
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_EGLint
FFIType (Ptr SDL_EGLint) -> Ptr SDL_EGLint
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( FunPtr (Ptr Void -> Ptr Void -> Ptr Void -> IO (Ptr Void))
-> Ptr Void -> Ptr Void -> Ptr Void -> IO (Ptr Void)
hs_bindgen_19e73e54259a2a81_base
(FunPtr SDL_EGLIntArrayCallback_Aux
-> FunPtr (Ptr Void -> Ptr Void -> Ptr Void -> IO (Ptr Void))
forall a b. FunPtr a -> FunPtr b
BG.castFunPtr FunPtr SDL_EGLIntArrayCallback_Aux
funPtr0)
(Ptr Void -> FFIType (Ptr Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Void
x1)
(SDL_EGLDisplay -> FFIType SDL_EGLDisplay
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_EGLDisplay
x2)
(SDL_EGLConfig -> FFIType SDL_EGLConfig
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_EGLConfig
x3)
)
)
instance BG.ToFunPtr SDL_EGLIntArrayCallback_Aux where
toFunPtr :: SDL_EGLIntArrayCallback_Aux
-> IO (FunPtr SDL_EGLIntArrayCallback_Aux)
toFunPtr = SDL_EGLIntArrayCallback_Aux
-> IO (FunPtr SDL_EGLIntArrayCallback_Aux)
hs_bindgen_6f9a11d91e338196
instance BG.FromFunPtr SDL_EGLIntArrayCallback_Aux where
fromFunPtr :: FunPtr SDL_EGLIntArrayCallback_Aux -> SDL_EGLIntArrayCallback_Aux
fromFunPtr = FunPtr SDL_EGLIntArrayCallback_Aux -> SDL_EGLIntArrayCallback_Aux
hs_bindgen_19e73e54259a2a81
instance
(ty ~ (BG.Ptr BG.Void -> SDL_EGLDisplay -> SDL_EGLConfig -> IO (BG.Ptr SDL_EGLint)))
=> BG.CompatHasField.HasField "unwrap" SDL_EGLIntArrayCallback_Aux ty
where
hasField :: SDL_EGLIntArrayCallback_Aux
-> (ty -> SDL_EGLIntArrayCallback_Aux, ty)
hasField =
\SDL_EGLIntArrayCallback_Aux
x0 ->
( \ty
y1 ->
SDL_EGLIntArrayCallback_Aux{unwrap :: Ptr Void -> SDL_EGLDisplay -> SDL_EGLConfig -> IO (Ptr SDL_EGLint)
unwrap = ty
Ptr Void -> SDL_EGLDisplay -> SDL_EGLConfig -> IO (Ptr SDL_EGLint)
y1}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_EGLIntArrayCallback_Aux
x0
)
instance
(ty ~ (BG.Ptr BG.Void -> SDL_EGLDisplay -> SDL_EGLConfig -> IO (BG.Ptr SDL_EGLint)))
=> BG.HasField "unwrap" (BG.Ptr SDL_EGLIntArrayCallback_Aux) (BG.Ptr ty)
where
getField :: Ptr SDL_EGLIntArrayCallback_Aux -> Ptr ty
getField = Proxy "unwrap"
-> Ptr SDL_EGLIntArrayCallback_Aux
-> Ptr (CFieldType SDL_EGLIntArrayCallback_Aux "unwrap")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"unwrap")
instance HasCField.HasCField SDL_EGLIntArrayCallback_Aux "unwrap" where
type
CFieldType SDL_EGLIntArrayCallback_Aux "unwrap" =
BG.Ptr BG.Void -> SDL_EGLDisplay -> SDL_EGLConfig -> IO (BG.Ptr SDL_EGLint)
offset# :: Proxy# SDL_EGLIntArrayCallback_Aux -> Proxy# "unwrap" -> Int
offset# = \Proxy# SDL_EGLIntArrayCallback_Aux
_ -> \Proxy# "unwrap"
_ -> Int
0
newtype SDL_EGLIntArrayCallback = SDL_EGLIntArrayCallback
{ SDL_EGLIntArrayCallback -> FunPtr SDL_EGLIntArrayCallback_Aux
unwrap :: BG.FunPtr SDL_EGLIntArrayCallback_Aux
}
deriving stock ((forall x.
SDL_EGLIntArrayCallback -> Rep SDL_EGLIntArrayCallback x)
-> (forall x.
Rep SDL_EGLIntArrayCallback x -> SDL_EGLIntArrayCallback)
-> Generic SDL_EGLIntArrayCallback
forall x. Rep SDL_EGLIntArrayCallback x -> SDL_EGLIntArrayCallback
forall x. SDL_EGLIntArrayCallback -> Rep SDL_EGLIntArrayCallback x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. SDL_EGLIntArrayCallback -> Rep SDL_EGLIntArrayCallback x
from :: forall x. SDL_EGLIntArrayCallback -> Rep SDL_EGLIntArrayCallback x
$cto :: forall x. Rep SDL_EGLIntArrayCallback x -> SDL_EGLIntArrayCallback
to :: forall x. Rep SDL_EGLIntArrayCallback x -> SDL_EGLIntArrayCallback
BG.Generic, SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Bool
(SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Bool)
-> (SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Bool)
-> Eq SDL_EGLIntArrayCallback
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Bool
== :: SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Bool
$c/= :: SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Bool
/= :: SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Bool
Eq, Eq SDL_EGLIntArrayCallback
Eq SDL_EGLIntArrayCallback =>
(SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Ordering)
-> (SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Bool)
-> (SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Bool)
-> (SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Bool)
-> (SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Bool)
-> (SDL_EGLIntArrayCallback
-> SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback)
-> (SDL_EGLIntArrayCallback
-> SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback)
-> Ord SDL_EGLIntArrayCallback
SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Bool
SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Ordering
SDL_EGLIntArrayCallback
-> SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Ordering
compare :: SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Ordering
$c< :: SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Bool
< :: SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Bool
$c<= :: SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Bool
<= :: SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Bool
$c> :: SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Bool
> :: SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Bool
$c>= :: SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Bool
>= :: SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Bool
$cmax :: SDL_EGLIntArrayCallback
-> SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback
max :: SDL_EGLIntArrayCallback
-> SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback
$cmin :: SDL_EGLIntArrayCallback
-> SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback
min :: SDL_EGLIntArrayCallback
-> SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback
Ord, Int -> SDL_EGLIntArrayCallback -> ShowS
[SDL_EGLIntArrayCallback] -> ShowS
SDL_EGLIntArrayCallback -> String
(Int -> SDL_EGLIntArrayCallback -> ShowS)
-> (SDL_EGLIntArrayCallback -> String)
-> ([SDL_EGLIntArrayCallback] -> ShowS)
-> Show SDL_EGLIntArrayCallback
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SDL_EGLIntArrayCallback -> ShowS
showsPrec :: Int -> SDL_EGLIntArrayCallback -> ShowS
$cshow :: SDL_EGLIntArrayCallback -> String
show :: SDL_EGLIntArrayCallback -> String
$cshowList :: [SDL_EGLIntArrayCallback] -> ShowS
showList :: [SDL_EGLIntArrayCallback] -> ShowS
Show)
deriving newtype
( FFIType SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback
SDL_EGLIntArrayCallback -> FFIType SDL_EGLIntArrayCallback
(SDL_EGLIntArrayCallback -> FFIType SDL_EGLIntArrayCallback)
-> (FFIType SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback)
-> HasFFIType SDL_EGLIntArrayCallback
forall a. (a -> FFIType a) -> (FFIType a -> a) -> HasFFIType a
$ctoFFIType :: SDL_EGLIntArrayCallback -> FFIType SDL_EGLIntArrayCallback
toFFIType :: SDL_EGLIntArrayCallback -> FFIType SDL_EGLIntArrayCallback
$cfromFFIType :: FFIType SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback
fromFFIType :: FFIType SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback
BG.HasFFIType
, Ptr SDL_EGLIntArrayCallback -> IO SDL_EGLIntArrayCallback
Ptr SDL_EGLIntArrayCallback -> Int -> IO SDL_EGLIntArrayCallback
Ptr SDL_EGLIntArrayCallback
-> Int -> SDL_EGLIntArrayCallback -> IO ()
Ptr SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> IO ()
SDL_EGLIntArrayCallback -> Int
(SDL_EGLIntArrayCallback -> Int)
-> (SDL_EGLIntArrayCallback -> Int)
-> (Ptr SDL_EGLIntArrayCallback
-> Int -> IO SDL_EGLIntArrayCallback)
-> (Ptr SDL_EGLIntArrayCallback
-> Int -> SDL_EGLIntArrayCallback -> IO ())
-> (forall b. Ptr b -> Int -> IO SDL_EGLIntArrayCallback)
-> (forall b. Ptr b -> Int -> SDL_EGLIntArrayCallback -> IO ())
-> (Ptr SDL_EGLIntArrayCallback -> IO SDL_EGLIntArrayCallback)
-> (Ptr SDL_EGLIntArrayCallback
-> SDL_EGLIntArrayCallback -> IO ())
-> Storable SDL_EGLIntArrayCallback
forall b. Ptr b -> Int -> IO SDL_EGLIntArrayCallback
forall b. Ptr b -> Int -> SDL_EGLIntArrayCallback -> IO ()
forall a.
(a -> Int)
-> (a -> Int)
-> (Ptr a -> Int -> IO a)
-> (Ptr a -> Int -> a -> IO ())
-> (forall b. Ptr b -> Int -> IO a)
-> (forall b. Ptr b -> Int -> a -> IO ())
-> (Ptr a -> IO a)
-> (Ptr a -> a -> IO ())
-> Storable a
$csizeOf :: SDL_EGLIntArrayCallback -> Int
sizeOf :: SDL_EGLIntArrayCallback -> Int
$calignment :: SDL_EGLIntArrayCallback -> Int
alignment :: SDL_EGLIntArrayCallback -> Int
$cpeekElemOff :: Ptr SDL_EGLIntArrayCallback -> Int -> IO SDL_EGLIntArrayCallback
peekElemOff :: Ptr SDL_EGLIntArrayCallback -> Int -> IO SDL_EGLIntArrayCallback
$cpokeElemOff :: Ptr SDL_EGLIntArrayCallback
-> Int -> SDL_EGLIntArrayCallback -> IO ()
pokeElemOff :: Ptr SDL_EGLIntArrayCallback
-> Int -> SDL_EGLIntArrayCallback -> IO ()
$cpeekByteOff :: forall b. Ptr b -> Int -> IO SDL_EGLIntArrayCallback
peekByteOff :: forall b. Ptr b -> Int -> IO SDL_EGLIntArrayCallback
$cpokeByteOff :: forall b. Ptr b -> Int -> SDL_EGLIntArrayCallback -> IO ()
pokeByteOff :: forall b. Ptr b -> Int -> SDL_EGLIntArrayCallback -> IO ()
$cpeek :: Ptr SDL_EGLIntArrayCallback -> IO SDL_EGLIntArrayCallback
peek :: Ptr SDL_EGLIntArrayCallback -> IO SDL_EGLIntArrayCallback
$cpoke :: Ptr SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> IO ()
poke :: Ptr SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> IO ()
BG.Storable
, Ptr SDL_EGLIntArrayCallback -> IO SDL_EGLIntArrayCallback
(Ptr SDL_EGLIntArrayCallback -> IO SDL_EGLIntArrayCallback)
-> ReadRaw SDL_EGLIntArrayCallback
forall a. (Ptr a -> IO a) -> ReadRaw a
$creadRaw :: Ptr SDL_EGLIntArrayCallback -> IO SDL_EGLIntArrayCallback
readRaw :: Ptr SDL_EGLIntArrayCallback -> IO SDL_EGLIntArrayCallback
Marshal.ReadRaw
, Proxy SDL_EGLIntArrayCallback -> Int
(Proxy SDL_EGLIntArrayCallback -> Int)
-> (Proxy SDL_EGLIntArrayCallback -> Int)
-> StaticSize SDL_EGLIntArrayCallback
forall a. (Proxy a -> Int) -> (Proxy a -> Int) -> StaticSize a
$cstaticSizeOf :: Proxy SDL_EGLIntArrayCallback -> Int
staticSizeOf :: Proxy SDL_EGLIntArrayCallback -> Int
$cstaticAlignment :: Proxy SDL_EGLIntArrayCallback -> Int
staticAlignment :: Proxy SDL_EGLIntArrayCallback -> Int
Marshal.StaticSize
, Ptr SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> IO ()
(Ptr SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> IO ())
-> WriteRaw SDL_EGLIntArrayCallback
forall a. (Ptr a -> a -> IO ()) -> WriteRaw a
$cwriteRaw :: Ptr SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> IO ()
writeRaw :: Ptr SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> IO ()
Marshal.WriteRaw
)
instance
(ty ~ BG.FunPtr SDL_EGLIntArrayCallback_Aux)
=> BG.CompatHasField.HasField "unwrap" SDL_EGLIntArrayCallback ty
where
hasField :: SDL_EGLIntArrayCallback -> (ty -> SDL_EGLIntArrayCallback, ty)
hasField =
\SDL_EGLIntArrayCallback
x0 ->
( \ty
y1 ->
SDL_EGLIntArrayCallback{unwrap :: FunPtr SDL_EGLIntArrayCallback_Aux
unwrap = ty
FunPtr SDL_EGLIntArrayCallback_Aux
y1}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_EGLIntArrayCallback
x0
)
instance
(ty ~ BG.FunPtr SDL_EGLIntArrayCallback_Aux)
=> BG.HasField "unwrap" (BG.Ptr SDL_EGLIntArrayCallback) (BG.Ptr ty)
where
getField :: Ptr SDL_EGLIntArrayCallback -> Ptr ty
getField = Proxy "unwrap"
-> Ptr SDL_EGLIntArrayCallback
-> Ptr (CFieldType SDL_EGLIntArrayCallback "unwrap")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"unwrap")
instance HasCField.HasCField SDL_EGLIntArrayCallback "unwrap" where
type
CFieldType SDL_EGLIntArrayCallback "unwrap" =
BG.FunPtr SDL_EGLIntArrayCallback_Aux
offset# :: Proxy# SDL_EGLIntArrayCallback -> Proxy# "unwrap" -> Int
offset# = \Proxy# SDL_EGLIntArrayCallback
_ -> \Proxy# "unwrap"
_ -> Int
0
newtype SDL_GLAttr = SDL_GLAttr
{ SDL_GLAttr -> CUInt
unwrap :: BG.CUInt
}
deriving stock ((forall x. SDL_GLAttr -> Rep SDL_GLAttr x)
-> (forall x. Rep SDL_GLAttr x -> SDL_GLAttr) -> Generic SDL_GLAttr
forall x. Rep SDL_GLAttr x -> SDL_GLAttr
forall x. SDL_GLAttr -> Rep SDL_GLAttr x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. SDL_GLAttr -> Rep SDL_GLAttr x
from :: forall x. SDL_GLAttr -> Rep SDL_GLAttr x
$cto :: forall x. Rep SDL_GLAttr x -> SDL_GLAttr
to :: forall x. Rep SDL_GLAttr x -> SDL_GLAttr
BG.Generic, SDL_GLAttr -> SDL_GLAttr -> Bool
(SDL_GLAttr -> SDL_GLAttr -> Bool)
-> (SDL_GLAttr -> SDL_GLAttr -> Bool) -> Eq SDL_GLAttr
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SDL_GLAttr -> SDL_GLAttr -> Bool
== :: SDL_GLAttr -> SDL_GLAttr -> Bool
$c/= :: SDL_GLAttr -> SDL_GLAttr -> Bool
/= :: SDL_GLAttr -> SDL_GLAttr -> Bool
Eq, Eq SDL_GLAttr
Eq SDL_GLAttr =>
(SDL_GLAttr -> SDL_GLAttr -> Ordering)
-> (SDL_GLAttr -> SDL_GLAttr -> Bool)
-> (SDL_GLAttr -> SDL_GLAttr -> Bool)
-> (SDL_GLAttr -> SDL_GLAttr -> Bool)
-> (SDL_GLAttr -> SDL_GLAttr -> Bool)
-> (SDL_GLAttr -> SDL_GLAttr -> SDL_GLAttr)
-> (SDL_GLAttr -> SDL_GLAttr -> SDL_GLAttr)
-> Ord SDL_GLAttr
SDL_GLAttr -> SDL_GLAttr -> Bool
SDL_GLAttr -> SDL_GLAttr -> Ordering
SDL_GLAttr -> SDL_GLAttr -> SDL_GLAttr
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: SDL_GLAttr -> SDL_GLAttr -> Ordering
compare :: SDL_GLAttr -> SDL_GLAttr -> Ordering
$c< :: SDL_GLAttr -> SDL_GLAttr -> Bool
< :: SDL_GLAttr -> SDL_GLAttr -> Bool
$c<= :: SDL_GLAttr -> SDL_GLAttr -> Bool
<= :: SDL_GLAttr -> SDL_GLAttr -> Bool
$c> :: SDL_GLAttr -> SDL_GLAttr -> Bool
> :: SDL_GLAttr -> SDL_GLAttr -> Bool
$c>= :: SDL_GLAttr -> SDL_GLAttr -> Bool
>= :: SDL_GLAttr -> SDL_GLAttr -> Bool
$cmax :: SDL_GLAttr -> SDL_GLAttr -> SDL_GLAttr
max :: SDL_GLAttr -> SDL_GLAttr -> SDL_GLAttr
$cmin :: SDL_GLAttr -> SDL_GLAttr -> SDL_GLAttr
min :: SDL_GLAttr -> SDL_GLAttr -> SDL_GLAttr
Ord)
deriving newtype (FFIType SDL_GLAttr -> SDL_GLAttr
SDL_GLAttr -> FFIType SDL_GLAttr
(SDL_GLAttr -> FFIType SDL_GLAttr)
-> (FFIType SDL_GLAttr -> SDL_GLAttr) -> HasFFIType SDL_GLAttr
forall a. (a -> FFIType a) -> (FFIType a -> a) -> HasFFIType a
$ctoFFIType :: SDL_GLAttr -> FFIType SDL_GLAttr
toFFIType :: SDL_GLAttr -> FFIType SDL_GLAttr
$cfromFFIType :: FFIType SDL_GLAttr -> SDL_GLAttr
fromFFIType :: FFIType SDL_GLAttr -> SDL_GLAttr
BG.HasFFIType)
instance Marshal.StaticSize SDL_GLAttr where
staticSizeOf :: Proxy SDL_GLAttr -> Int
staticSizeOf = \Proxy SDL_GLAttr
_ -> (Int
4 :: Int)
staticAlignment :: Proxy SDL_GLAttr -> Int
staticAlignment = \Proxy SDL_GLAttr
_ -> (Int
4 :: Int)
instance Marshal.ReadRaw SDL_GLAttr where
readRaw :: Ptr SDL_GLAttr -> IO SDL_GLAttr
readRaw =
\Ptr SDL_GLAttr
ptr0 ->
(CUInt -> SDL_GLAttr) -> IO (CUInt -> SDL_GLAttr)
forall a. a -> IO a
forall (f :: * -> *) a. Applicative f => a -> f a
pure CUInt -> SDL_GLAttr
SDL_GLAttr
IO (CUInt -> SDL_GLAttr) -> IO CUInt -> IO SDL_GLAttr
forall a b. IO (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
<*> Ptr SDL_GLAttr -> Int -> IO CUInt
forall a b. ReadRaw a => Ptr b -> Int -> IO a
Marshal.readRawByteOff Ptr SDL_GLAttr
ptr0 (Int
0 :: Int)
instance Marshal.WriteRaw SDL_GLAttr where
writeRaw :: Ptr SDL_GLAttr -> SDL_GLAttr -> IO ()
writeRaw =
\Ptr SDL_GLAttr
ptr0 ->
\SDL_GLAttr
s1 ->
case SDL_GLAttr
s1 of
SDL_GLAttr CUInt
unwrap2 ->
Ptr SDL_GLAttr -> Int -> CUInt -> IO ()
forall a b. WriteRaw a => Ptr b -> Int -> a -> IO ()
Marshal.writeRawByteOff Ptr SDL_GLAttr
ptr0 (Int
0 :: Int) CUInt
unwrap2
deriving via Marshal.EquivStorable SDL_GLAttr instance BG.Storable SDL_GLAttr
deriving via BG.CUInt instance BG.Prim SDL_GLAttr
instance CEnum.CEnum SDL_GLAttr where
type CEnumZ SDL_GLAttr = BG.CUInt
toCEnum :: CEnumZ SDL_GLAttr -> SDL_GLAttr
toCEnum = CUInt -> SDL_GLAttr
CEnumZ SDL_GLAttr -> SDL_GLAttr
SDL_GLAttr
fromCEnum :: SDL_GLAttr -> CEnumZ SDL_GLAttr
fromCEnum = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap"
declaredValues :: forall (proxy :: * -> *).
proxy SDL_GLAttr -> DeclaredValues SDL_GLAttr
declaredValues =
\proxy SDL_GLAttr
_ ->
[(CEnumZ SDL_GLAttr, NonEmpty String)] -> DeclaredValues SDL_GLAttr
forall a.
Ord (CEnumZ a) =>
[(CEnumZ a, NonEmpty String)] -> DeclaredValues a
CEnum.declaredValuesFromList
[ (CUInt
CEnumZ SDL_GLAttr
0, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_GL_RED_SIZE")
, (CUInt
CEnumZ SDL_GLAttr
1, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_GL_GREEN_SIZE")
, (CUInt
CEnumZ SDL_GLAttr
2, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_GL_BLUE_SIZE")
, (CUInt
CEnumZ SDL_GLAttr
3, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_GL_ALPHA_SIZE")
, (CUInt
CEnumZ SDL_GLAttr
4, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_GL_BUFFER_SIZE")
, (CUInt
CEnumZ SDL_GLAttr
5, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_GL_DOUBLEBUFFER")
, (CUInt
CEnumZ SDL_GLAttr
6, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_GL_DEPTH_SIZE")
, (CUInt
CEnumZ SDL_GLAttr
7, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_GL_STENCIL_SIZE")
, (CUInt
CEnumZ SDL_GLAttr
8, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_GL_ACCUM_RED_SIZE")
, (CUInt
CEnumZ SDL_GLAttr
9, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_GL_ACCUM_GREEN_SIZE")
, (CUInt
CEnumZ SDL_GLAttr
10, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_GL_ACCUM_BLUE_SIZE")
, (CUInt
CEnumZ SDL_GLAttr
11, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_GL_ACCUM_ALPHA_SIZE")
, (CUInt
CEnumZ SDL_GLAttr
12, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_GL_STEREO")
, (CUInt
CEnumZ SDL_GLAttr
13, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_GL_MULTISAMPLEBUFFERS")
, (CUInt
CEnumZ SDL_GLAttr
14, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_GL_MULTISAMPLESAMPLES")
, (CUInt
CEnumZ SDL_GLAttr
15, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_GL_ACCELERATED_VISUAL")
, (CUInt
CEnumZ SDL_GLAttr
16, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_GL_RETAINED_BACKING")
, (CUInt
CEnumZ SDL_GLAttr
17, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_GL_CONTEXT_MAJOR_VERSION")
, (CUInt
CEnumZ SDL_GLAttr
18, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_GL_CONTEXT_MINOR_VERSION")
, (CUInt
CEnumZ SDL_GLAttr
19, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_GL_CONTEXT_FLAGS")
, (CUInt
CEnumZ SDL_GLAttr
20, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_GL_CONTEXT_PROFILE_MASK")
, (CUInt
CEnumZ SDL_GLAttr
21, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_GL_SHARE_WITH_CURRENT_CONTEXT")
, (CUInt
CEnumZ SDL_GLAttr
22, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_GL_FRAMEBUFFER_SRGB_CAPABLE")
, (CUInt
CEnumZ SDL_GLAttr
23, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_GL_CONTEXT_RELEASE_BEHAVIOR")
, (CUInt
CEnumZ SDL_GLAttr
24, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_GL_CONTEXT_RESET_NOTIFICATION")
, (CUInt
CEnumZ SDL_GLAttr
25, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_GL_CONTEXT_NO_ERROR")
, (CUInt
CEnumZ SDL_GLAttr
26, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_GL_FLOATBUFFERS")
, (CUInt
CEnumZ SDL_GLAttr
27, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_GL_EGL_PLATFORM")
]
showsUndeclared :: forall (proxy :: * -> *).
proxy SDL_GLAttr -> Int -> CEnumZ SDL_GLAttr -> ShowS
showsUndeclared =
String -> proxy SDL_GLAttr -> Int -> CEnumZ SDL_GLAttr -> ShowS
forall a (proxy :: * -> *).
Show (CEnumZ a) =>
String -> proxy a -> Int -> CEnumZ a -> ShowS
CEnum.showsWrappedUndeclared String
"SDL_GLAttr"
readPrecUndeclared :: ReadPrec SDL_GLAttr
readPrecUndeclared =
String -> ReadPrec SDL_GLAttr
forall a. (CEnum a, Read (CEnumZ a)) => String -> ReadPrec a
CEnum.readPrecWrappedUndeclared String
"SDL_GLAttr"
isDeclared :: SDL_GLAttr -> Bool
isDeclared = SDL_GLAttr -> Bool
forall a. SequentialCEnum a => a -> Bool
CEnum.seqIsDeclared
mkDeclared :: CEnumZ SDL_GLAttr -> Maybe SDL_GLAttr
mkDeclared = CEnumZ SDL_GLAttr -> Maybe SDL_GLAttr
forall a. SequentialCEnum a => CEnumZ a -> Maybe a
CEnum.seqMkDeclared
instance CEnum.SequentialCEnum SDL_GLAttr where
minDeclaredValue :: SDL_GLAttr
minDeclaredValue = SDL_GLAttr
SDL_GL_RED_SIZE
maxDeclaredValue :: SDL_GLAttr
maxDeclaredValue = SDL_GLAttr
SDL_GL_EGL_PLATFORM
instance Show SDL_GLAttr where
showsPrec :: Int -> SDL_GLAttr -> ShowS
showsPrec = Int -> SDL_GLAttr -> ShowS
forall a. CEnum a => Int -> a -> ShowS
CEnum.shows
instance Read SDL_GLAttr where
readPrec :: ReadPrec SDL_GLAttr
readPrec = ReadPrec SDL_GLAttr
forall a. CEnum a => ReadPrec a
CEnum.readPrec
readList :: ReadS [SDL_GLAttr]
readList = ReadS [SDL_GLAttr]
forall a. Read a => ReadS [a]
BG.readListDefault
readListPrec :: ReadPrec [SDL_GLAttr]
readListPrec = ReadPrec [SDL_GLAttr]
forall a. Read a => ReadPrec [a]
BG.readListPrecDefault
instance
(ty ~ BG.CUInt)
=> BG.CompatHasField.HasField "unwrap" SDL_GLAttr ty
where
hasField :: SDL_GLAttr -> (ty -> SDL_GLAttr, ty)
hasField =
\SDL_GLAttr
x0 ->
( \ty
y1 ->
SDL_GLAttr{unwrap :: CUInt
unwrap = ty
CUInt
y1}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_GLAttr
x0
)
instance
(ty ~ BG.CUInt)
=> BG.HasField "unwrap" (BG.Ptr SDL_GLAttr) (BG.Ptr ty)
where
getField :: Ptr SDL_GLAttr -> Ptr ty
getField = Proxy "unwrap"
-> Ptr SDL_GLAttr -> Ptr (CFieldType SDL_GLAttr "unwrap")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"unwrap")
instance HasCField.HasCField SDL_GLAttr "unwrap" where
type CFieldType SDL_GLAttr "unwrap" = BG.CUInt
offset# :: Proxy# SDL_GLAttr -> Proxy# "unwrap" -> Int
offset# = \Proxy# SDL_GLAttr
_ -> \Proxy# "unwrap"
_ -> Int
0
pattern SDL_GL_RED_SIZE :: SDL_GLAttr
pattern $mSDL_GL_RED_SIZE :: forall {r}. SDL_GLAttr -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_GL_RED_SIZE :: SDL_GLAttr
SDL_GL_RED_SIZE = SDL_GLAttr 0
pattern SDL_GL_GREEN_SIZE :: SDL_GLAttr
pattern $mSDL_GL_GREEN_SIZE :: forall {r}. SDL_GLAttr -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_GL_GREEN_SIZE :: SDL_GLAttr
SDL_GL_GREEN_SIZE = SDL_GLAttr 1
pattern SDL_GL_BLUE_SIZE :: SDL_GLAttr
pattern $mSDL_GL_BLUE_SIZE :: forall {r}. SDL_GLAttr -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_GL_BLUE_SIZE :: SDL_GLAttr
SDL_GL_BLUE_SIZE = SDL_GLAttr 2
pattern SDL_GL_ALPHA_SIZE :: SDL_GLAttr
pattern $mSDL_GL_ALPHA_SIZE :: forall {r}. SDL_GLAttr -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_GL_ALPHA_SIZE :: SDL_GLAttr
SDL_GL_ALPHA_SIZE = SDL_GLAttr 3
pattern SDL_GL_BUFFER_SIZE :: SDL_GLAttr
pattern $mSDL_GL_BUFFER_SIZE :: forall {r}. SDL_GLAttr -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_GL_BUFFER_SIZE :: SDL_GLAttr
SDL_GL_BUFFER_SIZE = SDL_GLAttr 4
pattern SDL_GL_DOUBLEBUFFER :: SDL_GLAttr
pattern $mSDL_GL_DOUBLEBUFFER :: forall {r}. SDL_GLAttr -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_GL_DOUBLEBUFFER :: SDL_GLAttr
SDL_GL_DOUBLEBUFFER = SDL_GLAttr 5
pattern SDL_GL_DEPTH_SIZE :: SDL_GLAttr
pattern $mSDL_GL_DEPTH_SIZE :: forall {r}. SDL_GLAttr -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_GL_DEPTH_SIZE :: SDL_GLAttr
SDL_GL_DEPTH_SIZE = SDL_GLAttr 6
pattern SDL_GL_STENCIL_SIZE :: SDL_GLAttr
pattern $mSDL_GL_STENCIL_SIZE :: forall {r}. SDL_GLAttr -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_GL_STENCIL_SIZE :: SDL_GLAttr
SDL_GL_STENCIL_SIZE = SDL_GLAttr 7
pattern SDL_GL_ACCUM_RED_SIZE :: SDL_GLAttr
pattern $mSDL_GL_ACCUM_RED_SIZE :: forall {r}. SDL_GLAttr -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_GL_ACCUM_RED_SIZE :: SDL_GLAttr
SDL_GL_ACCUM_RED_SIZE = SDL_GLAttr 8
pattern SDL_GL_ACCUM_GREEN_SIZE :: SDL_GLAttr
pattern $mSDL_GL_ACCUM_GREEN_SIZE :: forall {r}. SDL_GLAttr -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_GL_ACCUM_GREEN_SIZE :: SDL_GLAttr
SDL_GL_ACCUM_GREEN_SIZE = SDL_GLAttr 9
pattern SDL_GL_ACCUM_BLUE_SIZE :: SDL_GLAttr
pattern $mSDL_GL_ACCUM_BLUE_SIZE :: forall {r}. SDL_GLAttr -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_GL_ACCUM_BLUE_SIZE :: SDL_GLAttr
SDL_GL_ACCUM_BLUE_SIZE = SDL_GLAttr 10
pattern SDL_GL_ACCUM_ALPHA_SIZE :: SDL_GLAttr
pattern $mSDL_GL_ACCUM_ALPHA_SIZE :: forall {r}. SDL_GLAttr -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_GL_ACCUM_ALPHA_SIZE :: SDL_GLAttr
SDL_GL_ACCUM_ALPHA_SIZE = SDL_GLAttr 11
pattern SDL_GL_STEREO :: SDL_GLAttr
pattern $mSDL_GL_STEREO :: forall {r}. SDL_GLAttr -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_GL_STEREO :: SDL_GLAttr
SDL_GL_STEREO = SDL_GLAttr 12
pattern SDL_GL_MULTISAMPLEBUFFERS :: SDL_GLAttr
pattern $mSDL_GL_MULTISAMPLEBUFFERS :: forall {r}. SDL_GLAttr -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_GL_MULTISAMPLEBUFFERS :: SDL_GLAttr
SDL_GL_MULTISAMPLEBUFFERS = SDL_GLAttr 13
pattern SDL_GL_MULTISAMPLESAMPLES :: SDL_GLAttr
pattern $mSDL_GL_MULTISAMPLESAMPLES :: forall {r}. SDL_GLAttr -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_GL_MULTISAMPLESAMPLES :: SDL_GLAttr
SDL_GL_MULTISAMPLESAMPLES = SDL_GLAttr 14
pattern SDL_GL_ACCELERATED_VISUAL :: SDL_GLAttr
pattern $mSDL_GL_ACCELERATED_VISUAL :: forall {r}. SDL_GLAttr -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_GL_ACCELERATED_VISUAL :: SDL_GLAttr
SDL_GL_ACCELERATED_VISUAL = SDL_GLAttr 15
pattern SDL_GL_RETAINED_BACKING :: SDL_GLAttr
pattern $mSDL_GL_RETAINED_BACKING :: forall {r}. SDL_GLAttr -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_GL_RETAINED_BACKING :: SDL_GLAttr
SDL_GL_RETAINED_BACKING = SDL_GLAttr 16
pattern SDL_GL_CONTEXT_MAJOR_VERSION :: SDL_GLAttr
pattern $mSDL_GL_CONTEXT_MAJOR_VERSION :: forall {r}. SDL_GLAttr -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_GL_CONTEXT_MAJOR_VERSION :: SDL_GLAttr
SDL_GL_CONTEXT_MAJOR_VERSION = SDL_GLAttr 17
pattern SDL_GL_CONTEXT_MINOR_VERSION :: SDL_GLAttr
pattern $mSDL_GL_CONTEXT_MINOR_VERSION :: forall {r}. SDL_GLAttr -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_GL_CONTEXT_MINOR_VERSION :: SDL_GLAttr
SDL_GL_CONTEXT_MINOR_VERSION = SDL_GLAttr 18
pattern SDL_GL_CONTEXT_FLAGS :: SDL_GLAttr
pattern $mSDL_GL_CONTEXT_FLAGS :: forall {r}. SDL_GLAttr -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_GL_CONTEXT_FLAGS :: SDL_GLAttr
SDL_GL_CONTEXT_FLAGS = SDL_GLAttr 19
pattern SDL_GL_CONTEXT_PROFILE_MASK :: SDL_GLAttr
pattern $mSDL_GL_CONTEXT_PROFILE_MASK :: forall {r}. SDL_GLAttr -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_GL_CONTEXT_PROFILE_MASK :: SDL_GLAttr
SDL_GL_CONTEXT_PROFILE_MASK = SDL_GLAttr 20
pattern SDL_GL_SHARE_WITH_CURRENT_CONTEXT :: SDL_GLAttr
pattern $mSDL_GL_SHARE_WITH_CURRENT_CONTEXT :: forall {r}. SDL_GLAttr -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_GL_SHARE_WITH_CURRENT_CONTEXT :: SDL_GLAttr
SDL_GL_SHARE_WITH_CURRENT_CONTEXT = SDL_GLAttr 21
pattern SDL_GL_FRAMEBUFFER_SRGB_CAPABLE :: SDL_GLAttr
pattern $mSDL_GL_FRAMEBUFFER_SRGB_CAPABLE :: forall {r}. SDL_GLAttr -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_GL_FRAMEBUFFER_SRGB_CAPABLE :: SDL_GLAttr
SDL_GL_FRAMEBUFFER_SRGB_CAPABLE = SDL_GLAttr 22
pattern SDL_GL_CONTEXT_RELEASE_BEHAVIOR :: SDL_GLAttr
pattern $mSDL_GL_CONTEXT_RELEASE_BEHAVIOR :: forall {r}. SDL_GLAttr -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_GL_CONTEXT_RELEASE_BEHAVIOR :: SDL_GLAttr
SDL_GL_CONTEXT_RELEASE_BEHAVIOR = SDL_GLAttr 23
pattern SDL_GL_CONTEXT_RESET_NOTIFICATION :: SDL_GLAttr
pattern $mSDL_GL_CONTEXT_RESET_NOTIFICATION :: forall {r}. SDL_GLAttr -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_GL_CONTEXT_RESET_NOTIFICATION :: SDL_GLAttr
SDL_GL_CONTEXT_RESET_NOTIFICATION = SDL_GLAttr 24
pattern SDL_GL_CONTEXT_NO_ERROR :: SDL_GLAttr
pattern $mSDL_GL_CONTEXT_NO_ERROR :: forall {r}. SDL_GLAttr -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_GL_CONTEXT_NO_ERROR :: SDL_GLAttr
SDL_GL_CONTEXT_NO_ERROR = SDL_GLAttr 25
pattern SDL_GL_FLOATBUFFERS :: SDL_GLAttr
pattern $mSDL_GL_FLOATBUFFERS :: forall {r}. SDL_GLAttr -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_GL_FLOATBUFFERS :: SDL_GLAttr
SDL_GL_FLOATBUFFERS = SDL_GLAttr 26
pattern SDL_GL_EGL_PLATFORM :: SDL_GLAttr
pattern $mSDL_GL_EGL_PLATFORM :: forall {r}. SDL_GLAttr -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_GL_EGL_PLATFORM :: SDL_GLAttr
SDL_GL_EGL_PLATFORM = SDL_GLAttr 27
newtype SDL_GLProfile = SDL_GLProfile
{ SDL_GLProfile -> Uint32
unwrap :: SDL3.Sys.Bindgen.Stdinc.Uint32
}
deriving stock ((forall x. SDL_GLProfile -> Rep SDL_GLProfile x)
-> (forall x. Rep SDL_GLProfile x -> SDL_GLProfile)
-> Generic SDL_GLProfile
forall x. Rep SDL_GLProfile x -> SDL_GLProfile
forall x. SDL_GLProfile -> Rep SDL_GLProfile x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. SDL_GLProfile -> Rep SDL_GLProfile x
from :: forall x. SDL_GLProfile -> Rep SDL_GLProfile x
$cto :: forall x. Rep SDL_GLProfile x -> SDL_GLProfile
to :: forall x. Rep SDL_GLProfile x -> SDL_GLProfile
BG.Generic, SDL_GLProfile -> SDL_GLProfile -> Bool
(SDL_GLProfile -> SDL_GLProfile -> Bool)
-> (SDL_GLProfile -> SDL_GLProfile -> Bool) -> Eq SDL_GLProfile
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SDL_GLProfile -> SDL_GLProfile -> Bool
== :: SDL_GLProfile -> SDL_GLProfile -> Bool
$c/= :: SDL_GLProfile -> SDL_GLProfile -> Bool
/= :: SDL_GLProfile -> SDL_GLProfile -> Bool
Eq, Eq SDL_GLProfile
Eq SDL_GLProfile =>
(SDL_GLProfile -> SDL_GLProfile -> Ordering)
-> (SDL_GLProfile -> SDL_GLProfile -> Bool)
-> (SDL_GLProfile -> SDL_GLProfile -> Bool)
-> (SDL_GLProfile -> SDL_GLProfile -> Bool)
-> (SDL_GLProfile -> SDL_GLProfile -> Bool)
-> (SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile)
-> (SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile)
-> Ord SDL_GLProfile
SDL_GLProfile -> SDL_GLProfile -> Bool
SDL_GLProfile -> SDL_GLProfile -> Ordering
SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: SDL_GLProfile -> SDL_GLProfile -> Ordering
compare :: SDL_GLProfile -> SDL_GLProfile -> Ordering
$c< :: SDL_GLProfile -> SDL_GLProfile -> Bool
< :: SDL_GLProfile -> SDL_GLProfile -> Bool
$c<= :: SDL_GLProfile -> SDL_GLProfile -> Bool
<= :: SDL_GLProfile -> SDL_GLProfile -> Bool
$c> :: SDL_GLProfile -> SDL_GLProfile -> Bool
> :: SDL_GLProfile -> SDL_GLProfile -> Bool
$c>= :: SDL_GLProfile -> SDL_GLProfile -> Bool
>= :: SDL_GLProfile -> SDL_GLProfile -> Bool
$cmax :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile
max :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile
$cmin :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile
min :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile
Ord, ReadPrec [SDL_GLProfile]
ReadPrec SDL_GLProfile
Int -> ReadS SDL_GLProfile
ReadS [SDL_GLProfile]
(Int -> ReadS SDL_GLProfile)
-> ReadS [SDL_GLProfile]
-> ReadPrec SDL_GLProfile
-> ReadPrec [SDL_GLProfile]
-> Read SDL_GLProfile
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
$creadsPrec :: Int -> ReadS SDL_GLProfile
readsPrec :: Int -> ReadS SDL_GLProfile
$creadList :: ReadS [SDL_GLProfile]
readList :: ReadS [SDL_GLProfile]
$creadPrec :: ReadPrec SDL_GLProfile
readPrec :: ReadPrec SDL_GLProfile
$creadListPrec :: ReadPrec [SDL_GLProfile]
readListPrec :: ReadPrec [SDL_GLProfile]
Read, Int -> SDL_GLProfile -> ShowS
[SDL_GLProfile] -> ShowS
SDL_GLProfile -> String
(Int -> SDL_GLProfile -> ShowS)
-> (SDL_GLProfile -> String)
-> ([SDL_GLProfile] -> ShowS)
-> Show SDL_GLProfile
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SDL_GLProfile -> ShowS
showsPrec :: Int -> SDL_GLProfile -> ShowS
$cshow :: SDL_GLProfile -> String
show :: SDL_GLProfile -> String
$cshowList :: [SDL_GLProfile] -> ShowS
showList :: [SDL_GLProfile] -> ShowS
Show)
deriving newtype
( Word64 -> Int -> SDL_GLProfile
SDL_GLProfile -> Int -> Word64
(SDL_GLProfile -> Int -> Word64)
-> (Word64 -> Int -> SDL_GLProfile) -> Bitfield SDL_GLProfile
forall a.
(a -> Int -> Word64) -> (Word64 -> Int -> a) -> Bitfield a
$cnarrow :: SDL_GLProfile -> Int -> Word64
narrow :: SDL_GLProfile -> Int -> Word64
$cextend :: Word64 -> Int -> SDL_GLProfile
extend :: Word64 -> Int -> SDL_GLProfile
BG.Bitfield
, Eq SDL_GLProfile
SDL_GLProfile
Eq SDL_GLProfile =>
(SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile)
-> (SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile)
-> (SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile)
-> (SDL_GLProfile -> SDL_GLProfile)
-> (SDL_GLProfile -> Int -> SDL_GLProfile)
-> (SDL_GLProfile -> Int -> SDL_GLProfile)
-> SDL_GLProfile
-> (Int -> SDL_GLProfile)
-> (SDL_GLProfile -> Int -> SDL_GLProfile)
-> (SDL_GLProfile -> Int -> SDL_GLProfile)
-> (SDL_GLProfile -> Int -> SDL_GLProfile)
-> (SDL_GLProfile -> Int -> Bool)
-> (SDL_GLProfile -> Maybe Int)
-> (SDL_GLProfile -> Int)
-> (SDL_GLProfile -> Bool)
-> (SDL_GLProfile -> Int -> SDL_GLProfile)
-> (SDL_GLProfile -> Int -> SDL_GLProfile)
-> (SDL_GLProfile -> Int -> SDL_GLProfile)
-> (SDL_GLProfile -> Int -> SDL_GLProfile)
-> (SDL_GLProfile -> Int -> SDL_GLProfile)
-> (SDL_GLProfile -> Int -> SDL_GLProfile)
-> (SDL_GLProfile -> Int)
-> Bits SDL_GLProfile
Int -> SDL_GLProfile
SDL_GLProfile -> Bool
SDL_GLProfile -> Int
SDL_GLProfile -> Maybe Int
SDL_GLProfile -> SDL_GLProfile
SDL_GLProfile -> Int -> Bool
SDL_GLProfile -> Int -> SDL_GLProfile
SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile
forall a.
Eq a =>
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> a
-> (Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> Bool)
-> (a -> Maybe Int)
-> (a -> Int)
-> (a -> Bool)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int)
-> Bits a
$c.&. :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile
.&. :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile
$c.|. :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile
.|. :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile
$cxor :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile
xor :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile
$ccomplement :: SDL_GLProfile -> SDL_GLProfile
complement :: SDL_GLProfile -> SDL_GLProfile
$cshift :: SDL_GLProfile -> Int -> SDL_GLProfile
shift :: SDL_GLProfile -> Int -> SDL_GLProfile
$crotate :: SDL_GLProfile -> Int -> SDL_GLProfile
rotate :: SDL_GLProfile -> Int -> SDL_GLProfile
$czeroBits :: SDL_GLProfile
zeroBits :: SDL_GLProfile
$cbit :: Int -> SDL_GLProfile
bit :: Int -> SDL_GLProfile
$csetBit :: SDL_GLProfile -> Int -> SDL_GLProfile
setBit :: SDL_GLProfile -> Int -> SDL_GLProfile
$cclearBit :: SDL_GLProfile -> Int -> SDL_GLProfile
clearBit :: SDL_GLProfile -> Int -> SDL_GLProfile
$ccomplementBit :: SDL_GLProfile -> Int -> SDL_GLProfile
complementBit :: SDL_GLProfile -> Int -> SDL_GLProfile
$ctestBit :: SDL_GLProfile -> Int -> Bool
testBit :: SDL_GLProfile -> Int -> Bool
$cbitSizeMaybe :: SDL_GLProfile -> Maybe Int
bitSizeMaybe :: SDL_GLProfile -> Maybe Int
$cbitSize :: SDL_GLProfile -> Int
bitSize :: SDL_GLProfile -> Int
$cisSigned :: SDL_GLProfile -> Bool
isSigned :: SDL_GLProfile -> Bool
$cshiftL :: SDL_GLProfile -> Int -> SDL_GLProfile
shiftL :: SDL_GLProfile -> Int -> SDL_GLProfile
$cunsafeShiftL :: SDL_GLProfile -> Int -> SDL_GLProfile
unsafeShiftL :: SDL_GLProfile -> Int -> SDL_GLProfile
$cshiftR :: SDL_GLProfile -> Int -> SDL_GLProfile
shiftR :: SDL_GLProfile -> Int -> SDL_GLProfile
$cunsafeShiftR :: SDL_GLProfile -> Int -> SDL_GLProfile
unsafeShiftR :: SDL_GLProfile -> Int -> SDL_GLProfile
$crotateL :: SDL_GLProfile -> Int -> SDL_GLProfile
rotateL :: SDL_GLProfile -> Int -> SDL_GLProfile
$crotateR :: SDL_GLProfile -> Int -> SDL_GLProfile
rotateR :: SDL_GLProfile -> Int -> SDL_GLProfile
$cpopCount :: SDL_GLProfile -> Int
popCount :: SDL_GLProfile -> Int
BG.Bits
, Bits SDL_GLProfile
Bits SDL_GLProfile =>
(SDL_GLProfile -> Int)
-> (SDL_GLProfile -> Int)
-> (SDL_GLProfile -> Int)
-> FiniteBits SDL_GLProfile
SDL_GLProfile -> Int
forall b.
Bits b =>
(b -> Int) -> (b -> Int) -> (b -> Int) -> FiniteBits b
$cfiniteBitSize :: SDL_GLProfile -> Int
finiteBitSize :: SDL_GLProfile -> Int
$ccountLeadingZeros :: SDL_GLProfile -> Int
countLeadingZeros :: SDL_GLProfile -> Int
$ccountTrailingZeros :: SDL_GLProfile -> Int
countTrailingZeros :: SDL_GLProfile -> Int
BG.FiniteBits
, FFIType SDL_GLProfile -> SDL_GLProfile
SDL_GLProfile -> FFIType SDL_GLProfile
(SDL_GLProfile -> FFIType SDL_GLProfile)
-> (FFIType SDL_GLProfile -> SDL_GLProfile)
-> HasFFIType SDL_GLProfile
forall a. (a -> FFIType a) -> (FFIType a -> a) -> HasFFIType a
$ctoFFIType :: SDL_GLProfile -> FFIType SDL_GLProfile
toFFIType :: SDL_GLProfile -> FFIType SDL_GLProfile
$cfromFFIType :: FFIType SDL_GLProfile -> SDL_GLProfile
fromFFIType :: FFIType SDL_GLProfile -> SDL_GLProfile
BG.HasFFIType
, Ord SDL_GLProfile
Ord SDL_GLProfile =>
((SDL_GLProfile, SDL_GLProfile) -> [SDL_GLProfile])
-> ((SDL_GLProfile, SDL_GLProfile) -> SDL_GLProfile -> Int)
-> ((SDL_GLProfile, SDL_GLProfile) -> SDL_GLProfile -> Int)
-> ((SDL_GLProfile, SDL_GLProfile) -> SDL_GLProfile -> Bool)
-> ((SDL_GLProfile, SDL_GLProfile) -> Int)
-> ((SDL_GLProfile, SDL_GLProfile) -> Int)
-> Ix SDL_GLProfile
(SDL_GLProfile, SDL_GLProfile) -> Int
(SDL_GLProfile, SDL_GLProfile) -> [SDL_GLProfile]
(SDL_GLProfile, SDL_GLProfile) -> SDL_GLProfile -> Bool
(SDL_GLProfile, SDL_GLProfile) -> SDL_GLProfile -> Int
forall a.
Ord a =>
((a, a) -> [a])
-> ((a, a) -> a -> Int)
-> ((a, a) -> a -> Int)
-> ((a, a) -> a -> Bool)
-> ((a, a) -> Int)
-> ((a, a) -> Int)
-> Ix a
$crange :: (SDL_GLProfile, SDL_GLProfile) -> [SDL_GLProfile]
range :: (SDL_GLProfile, SDL_GLProfile) -> [SDL_GLProfile]
$cindex :: (SDL_GLProfile, SDL_GLProfile) -> SDL_GLProfile -> Int
index :: (SDL_GLProfile, SDL_GLProfile) -> SDL_GLProfile -> Int
$cunsafeIndex :: (SDL_GLProfile, SDL_GLProfile) -> SDL_GLProfile -> Int
unsafeIndex :: (SDL_GLProfile, SDL_GLProfile) -> SDL_GLProfile -> Int
$cinRange :: (SDL_GLProfile, SDL_GLProfile) -> SDL_GLProfile -> Bool
inRange :: (SDL_GLProfile, SDL_GLProfile) -> SDL_GLProfile -> Bool
$crangeSize :: (SDL_GLProfile, SDL_GLProfile) -> Int
rangeSize :: (SDL_GLProfile, SDL_GLProfile) -> Int
$cunsafeRangeSize :: (SDL_GLProfile, SDL_GLProfile) -> Int
unsafeRangeSize :: (SDL_GLProfile, SDL_GLProfile) -> Int
BG.Ix
, Addr# -> Int# -> SDL_GLProfile
ByteArray# -> Int# -> SDL_GLProfile
Proxy SDL_GLProfile -> Int#
SDL_GLProfile -> Int#
(Proxy SDL_GLProfile -> Int#)
-> (SDL_GLProfile -> Int#)
-> (Proxy SDL_GLProfile -> Int#)
-> (SDL_GLProfile -> Int#)
-> (ByteArray# -> Int# -> SDL_GLProfile)
-> (forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_GLProfile #))
-> (forall s.
MutableByteArray# s
-> Int# -> SDL_GLProfile -> State# s -> State# s)
-> (forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_GLProfile -> State# s -> State# s)
-> (Addr# -> Int# -> SDL_GLProfile)
-> (forall s.
Addr# -> Int# -> State# s -> (# State# s, SDL_GLProfile #))
-> (forall s.
Addr# -> Int# -> SDL_GLProfile -> State# s -> State# s)
-> (forall s.
Addr# -> Int# -> Int# -> SDL_GLProfile -> State# s -> State# s)
-> Prim SDL_GLProfile
forall s.
Addr# -> Int# -> Int# -> SDL_GLProfile -> State# s -> State# s
forall s.
Addr# -> Int# -> State# s -> (# State# s, SDL_GLProfile #)
forall s. Addr# -> Int# -> SDL_GLProfile -> State# s -> State# s
forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_GLProfile -> State# s -> State# s
forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_GLProfile #)
forall s.
MutableByteArray# s
-> Int# -> SDL_GLProfile -> State# s -> State# s
forall a.
(Proxy a -> Int#)
-> (a -> Int#)
-> (Proxy a -> Int#)
-> (a -> Int#)
-> (ByteArray# -> Int# -> a)
-> (forall s.
MutableByteArray# s -> Int# -> State# s -> (# State# s, a #))
-> (forall s.
MutableByteArray# s -> Int# -> a -> State# s -> State# s)
-> (forall s.
MutableByteArray# s -> Int# -> Int# -> a -> State# s -> State# s)
-> (Addr# -> Int# -> a)
-> (forall s. Addr# -> Int# -> State# s -> (# State# s, a #))
-> (forall s. Addr# -> Int# -> a -> State# s -> State# s)
-> (forall s. Addr# -> Int# -> Int# -> a -> State# s -> State# s)
-> Prim a
$csizeOfType# :: Proxy SDL_GLProfile -> Int#
sizeOfType# :: Proxy SDL_GLProfile -> Int#
$csizeOf# :: SDL_GLProfile -> Int#
sizeOf# :: SDL_GLProfile -> Int#
$calignmentOfType# :: Proxy SDL_GLProfile -> Int#
alignmentOfType# :: Proxy SDL_GLProfile -> Int#
$calignment# :: SDL_GLProfile -> Int#
alignment# :: SDL_GLProfile -> Int#
$cindexByteArray# :: ByteArray# -> Int# -> SDL_GLProfile
indexByteArray# :: ByteArray# -> Int# -> SDL_GLProfile
$creadByteArray# :: forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_GLProfile #)
readByteArray# :: forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_GLProfile #)
$cwriteByteArray# :: forall s.
MutableByteArray# s
-> Int# -> SDL_GLProfile -> State# s -> State# s
writeByteArray# :: forall s.
MutableByteArray# s
-> Int# -> SDL_GLProfile -> State# s -> State# s
$csetByteArray# :: forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_GLProfile -> State# s -> State# s
setByteArray# :: forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_GLProfile -> State# s -> State# s
$cindexOffAddr# :: Addr# -> Int# -> SDL_GLProfile
indexOffAddr# :: Addr# -> Int# -> SDL_GLProfile
$creadOffAddr# :: forall s.
Addr# -> Int# -> State# s -> (# State# s, SDL_GLProfile #)
readOffAddr# :: forall s.
Addr# -> Int# -> State# s -> (# State# s, SDL_GLProfile #)
$cwriteOffAddr# :: forall s. Addr# -> Int# -> SDL_GLProfile -> State# s -> State# s
writeOffAddr# :: forall s. Addr# -> Int# -> SDL_GLProfile -> State# s -> State# s
$csetOffAddr# :: forall s.
Addr# -> Int# -> Int# -> SDL_GLProfile -> State# s -> State# s
setOffAddr# :: forall s.
Addr# -> Int# -> Int# -> SDL_GLProfile -> State# s -> State# s
BG.Prim
, Ptr SDL_GLProfile -> IO SDL_GLProfile
Ptr SDL_GLProfile -> Int -> IO SDL_GLProfile
Ptr SDL_GLProfile -> Int -> SDL_GLProfile -> IO ()
Ptr SDL_GLProfile -> SDL_GLProfile -> IO ()
SDL_GLProfile -> Int
(SDL_GLProfile -> Int)
-> (SDL_GLProfile -> Int)
-> (Ptr SDL_GLProfile -> Int -> IO SDL_GLProfile)
-> (Ptr SDL_GLProfile -> Int -> SDL_GLProfile -> IO ())
-> (forall b. Ptr b -> Int -> IO SDL_GLProfile)
-> (forall b. Ptr b -> Int -> SDL_GLProfile -> IO ())
-> (Ptr SDL_GLProfile -> IO SDL_GLProfile)
-> (Ptr SDL_GLProfile -> SDL_GLProfile -> IO ())
-> Storable SDL_GLProfile
forall b. Ptr b -> Int -> IO SDL_GLProfile
forall b. Ptr b -> Int -> SDL_GLProfile -> IO ()
forall a.
(a -> Int)
-> (a -> Int)
-> (Ptr a -> Int -> IO a)
-> (Ptr a -> Int -> a -> IO ())
-> (forall b. Ptr b -> Int -> IO a)
-> (forall b. Ptr b -> Int -> a -> IO ())
-> (Ptr a -> IO a)
-> (Ptr a -> a -> IO ())
-> Storable a
$csizeOf :: SDL_GLProfile -> Int
sizeOf :: SDL_GLProfile -> Int
$calignment :: SDL_GLProfile -> Int
alignment :: SDL_GLProfile -> Int
$cpeekElemOff :: Ptr SDL_GLProfile -> Int -> IO SDL_GLProfile
peekElemOff :: Ptr SDL_GLProfile -> Int -> IO SDL_GLProfile
$cpokeElemOff :: Ptr SDL_GLProfile -> Int -> SDL_GLProfile -> IO ()
pokeElemOff :: Ptr SDL_GLProfile -> Int -> SDL_GLProfile -> IO ()
$cpeekByteOff :: forall b. Ptr b -> Int -> IO SDL_GLProfile
peekByteOff :: forall b. Ptr b -> Int -> IO SDL_GLProfile
$cpokeByteOff :: forall b. Ptr b -> Int -> SDL_GLProfile -> IO ()
pokeByteOff :: forall b. Ptr b -> Int -> SDL_GLProfile -> IO ()
$cpeek :: Ptr SDL_GLProfile -> IO SDL_GLProfile
peek :: Ptr SDL_GLProfile -> IO SDL_GLProfile
$cpoke :: Ptr SDL_GLProfile -> SDL_GLProfile -> IO ()
poke :: Ptr SDL_GLProfile -> SDL_GLProfile -> IO ()
BG.Storable
, SDL_GLProfile
SDL_GLProfile -> SDL_GLProfile -> Bounded SDL_GLProfile
forall a. a -> a -> Bounded a
$cminBound :: SDL_GLProfile
minBound :: SDL_GLProfile
$cmaxBound :: SDL_GLProfile
maxBound :: SDL_GLProfile
Bounded
, Int -> SDL_GLProfile
SDL_GLProfile -> Int
SDL_GLProfile -> [SDL_GLProfile]
SDL_GLProfile -> SDL_GLProfile
SDL_GLProfile -> SDL_GLProfile -> [SDL_GLProfile]
SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile -> [SDL_GLProfile]
(SDL_GLProfile -> SDL_GLProfile)
-> (SDL_GLProfile -> SDL_GLProfile)
-> (Int -> SDL_GLProfile)
-> (SDL_GLProfile -> Int)
-> (SDL_GLProfile -> [SDL_GLProfile])
-> (SDL_GLProfile -> SDL_GLProfile -> [SDL_GLProfile])
-> (SDL_GLProfile -> SDL_GLProfile -> [SDL_GLProfile])
-> (SDL_GLProfile
-> SDL_GLProfile -> SDL_GLProfile -> [SDL_GLProfile])
-> Enum SDL_GLProfile
forall a.
(a -> a)
-> (a -> a)
-> (Int -> a)
-> (a -> Int)
-> (a -> [a])
-> (a -> a -> [a])
-> (a -> a -> [a])
-> (a -> a -> a -> [a])
-> Enum a
$csucc :: SDL_GLProfile -> SDL_GLProfile
succ :: SDL_GLProfile -> SDL_GLProfile
$cpred :: SDL_GLProfile -> SDL_GLProfile
pred :: SDL_GLProfile -> SDL_GLProfile
$ctoEnum :: Int -> SDL_GLProfile
toEnum :: Int -> SDL_GLProfile
$cfromEnum :: SDL_GLProfile -> Int
fromEnum :: SDL_GLProfile -> Int
$cenumFrom :: SDL_GLProfile -> [SDL_GLProfile]
enumFrom :: SDL_GLProfile -> [SDL_GLProfile]
$cenumFromThen :: SDL_GLProfile -> SDL_GLProfile -> [SDL_GLProfile]
enumFromThen :: SDL_GLProfile -> SDL_GLProfile -> [SDL_GLProfile]
$cenumFromTo :: SDL_GLProfile -> SDL_GLProfile -> [SDL_GLProfile]
enumFromTo :: SDL_GLProfile -> SDL_GLProfile -> [SDL_GLProfile]
$cenumFromThenTo :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile -> [SDL_GLProfile]
enumFromThenTo :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile -> [SDL_GLProfile]
Enum
, Enum SDL_GLProfile
Real SDL_GLProfile
(Real SDL_GLProfile, Enum SDL_GLProfile) =>
(SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile)
-> (SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile)
-> (SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile)
-> (SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile)
-> (SDL_GLProfile
-> SDL_GLProfile -> (SDL_GLProfile, SDL_GLProfile))
-> (SDL_GLProfile
-> SDL_GLProfile -> (SDL_GLProfile, SDL_GLProfile))
-> (SDL_GLProfile -> Integer)
-> Integral SDL_GLProfile
SDL_GLProfile -> Integer
SDL_GLProfile -> SDL_GLProfile -> (SDL_GLProfile, SDL_GLProfile)
SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile
forall a.
(Real a, Enum a) =>
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> (a, a))
-> (a -> a -> (a, a))
-> (a -> Integer)
-> Integral a
$cquot :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile
quot :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile
$crem :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile
rem :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile
$cdiv :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile
div :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile
$cmod :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile
mod :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile
$cquotRem :: SDL_GLProfile -> SDL_GLProfile -> (SDL_GLProfile, SDL_GLProfile)
quotRem :: SDL_GLProfile -> SDL_GLProfile -> (SDL_GLProfile, SDL_GLProfile)
$cdivMod :: SDL_GLProfile -> SDL_GLProfile -> (SDL_GLProfile, SDL_GLProfile)
divMod :: SDL_GLProfile -> SDL_GLProfile -> (SDL_GLProfile, SDL_GLProfile)
$ctoInteger :: SDL_GLProfile -> Integer
toInteger :: SDL_GLProfile -> Integer
Integral
, Ptr SDL_GLProfile -> IO SDL_GLProfile
(Ptr SDL_GLProfile -> IO SDL_GLProfile) -> ReadRaw SDL_GLProfile
forall a. (Ptr a -> IO a) -> ReadRaw a
$creadRaw :: Ptr SDL_GLProfile -> IO SDL_GLProfile
readRaw :: Ptr SDL_GLProfile -> IO SDL_GLProfile
Marshal.ReadRaw
, Proxy SDL_GLProfile -> Int
(Proxy SDL_GLProfile -> Int)
-> (Proxy SDL_GLProfile -> Int) -> StaticSize SDL_GLProfile
forall a. (Proxy a -> Int) -> (Proxy a -> Int) -> StaticSize a
$cstaticSizeOf :: Proxy SDL_GLProfile -> Int
staticSizeOf :: Proxy SDL_GLProfile -> Int
$cstaticAlignment :: Proxy SDL_GLProfile -> Int
staticAlignment :: Proxy SDL_GLProfile -> Int
Marshal.StaticSize
, Ptr SDL_GLProfile -> SDL_GLProfile -> IO ()
(Ptr SDL_GLProfile -> SDL_GLProfile -> IO ())
-> WriteRaw SDL_GLProfile
forall a. (Ptr a -> a -> IO ()) -> WriteRaw a
$cwriteRaw :: Ptr SDL_GLProfile -> SDL_GLProfile -> IO ()
writeRaw :: Ptr SDL_GLProfile -> SDL_GLProfile -> IO ()
Marshal.WriteRaw
, Integer -> SDL_GLProfile
SDL_GLProfile -> SDL_GLProfile
SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile
(SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile)
-> (SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile)
-> (SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile)
-> (SDL_GLProfile -> SDL_GLProfile)
-> (SDL_GLProfile -> SDL_GLProfile)
-> (SDL_GLProfile -> SDL_GLProfile)
-> (Integer -> SDL_GLProfile)
-> Num SDL_GLProfile
forall a.
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a)
-> (a -> a)
-> (a -> a)
-> (Integer -> a)
-> Num a
$c+ :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile
+ :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile
$c- :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile
- :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile
$c* :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile
* :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile
$cnegate :: SDL_GLProfile -> SDL_GLProfile
negate :: SDL_GLProfile -> SDL_GLProfile
$cabs :: SDL_GLProfile -> SDL_GLProfile
abs :: SDL_GLProfile -> SDL_GLProfile
$csignum :: SDL_GLProfile -> SDL_GLProfile
signum :: SDL_GLProfile -> SDL_GLProfile
$cfromInteger :: Integer -> SDL_GLProfile
fromInteger :: Integer -> SDL_GLProfile
Num
, Num SDL_GLProfile
Ord SDL_GLProfile
(Num SDL_GLProfile, Ord SDL_GLProfile) =>
(SDL_GLProfile -> Rational) -> Real SDL_GLProfile
SDL_GLProfile -> Rational
forall a. (Num a, Ord a) => (a -> Rational) -> Real a
$ctoRational :: SDL_GLProfile -> Rational
toRational :: SDL_GLProfile -> Rational
Real
)
instance
(ty ~ SDL3.Sys.Bindgen.Stdinc.Uint32)
=> BG.CompatHasField.HasField "unwrap" SDL_GLProfile ty
where
hasField :: SDL_GLProfile -> (ty -> SDL_GLProfile, ty)
hasField =
\SDL_GLProfile
x0 ->
( \ty
y1 ->
SDL_GLProfile{unwrap :: Uint32
unwrap = ty
Uint32
y1}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_GLProfile
x0
)
instance
(ty ~ SDL3.Sys.Bindgen.Stdinc.Uint32)
=> BG.HasField "unwrap" (BG.Ptr SDL_GLProfile) (BG.Ptr ty)
where
getField :: Ptr SDL_GLProfile -> Ptr ty
getField = Proxy "unwrap"
-> Ptr SDL_GLProfile -> Ptr (CFieldType SDL_GLProfile "unwrap")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"unwrap")
instance HasCField.HasCField SDL_GLProfile "unwrap" where
type
CFieldType SDL_GLProfile "unwrap" =
SDL3.Sys.Bindgen.Stdinc.Uint32
offset# :: Proxy# SDL_GLProfile -> Proxy# "unwrap" -> Int
offset# = \Proxy# SDL_GLProfile
_ -> \Proxy# "unwrap"
_ -> Int
0
sDL_GL_CONTEXT_PROFILE_CORE :: BG.CInt
sDL_GL_CONTEXT_PROFILE_CORE :: CInt
sDL_GL_CONTEXT_PROFILE_CORE = (CInt
1 :: BG.CInt)
sDL_GL_CONTEXT_PROFILE_COMPATIBILITY :: BG.CInt
sDL_GL_CONTEXT_PROFILE_COMPATIBILITY :: CInt
sDL_GL_CONTEXT_PROFILE_COMPATIBILITY = (CInt
2 :: BG.CInt)
sDL_GL_CONTEXT_PROFILE_ES :: BG.CInt
sDL_GL_CONTEXT_PROFILE_ES :: CInt
sDL_GL_CONTEXT_PROFILE_ES = (CInt
4 :: BG.CInt)
newtype SDL_GLContextFlag = SDL_GLContextFlag
{ SDL_GLContextFlag -> Uint32
unwrap :: SDL3.Sys.Bindgen.Stdinc.Uint32
}
deriving stock ((forall x. SDL_GLContextFlag -> Rep SDL_GLContextFlag x)
-> (forall x. Rep SDL_GLContextFlag x -> SDL_GLContextFlag)
-> Generic SDL_GLContextFlag
forall x. Rep SDL_GLContextFlag x -> SDL_GLContextFlag
forall x. SDL_GLContextFlag -> Rep SDL_GLContextFlag x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. SDL_GLContextFlag -> Rep SDL_GLContextFlag x
from :: forall x. SDL_GLContextFlag -> Rep SDL_GLContextFlag x
$cto :: forall x. Rep SDL_GLContextFlag x -> SDL_GLContextFlag
to :: forall x. Rep SDL_GLContextFlag x -> SDL_GLContextFlag
BG.Generic, SDL_GLContextFlag -> SDL_GLContextFlag -> Bool
(SDL_GLContextFlag -> SDL_GLContextFlag -> Bool)
-> (SDL_GLContextFlag -> SDL_GLContextFlag -> Bool)
-> Eq SDL_GLContextFlag
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SDL_GLContextFlag -> SDL_GLContextFlag -> Bool
== :: SDL_GLContextFlag -> SDL_GLContextFlag -> Bool
$c/= :: SDL_GLContextFlag -> SDL_GLContextFlag -> Bool
/= :: SDL_GLContextFlag -> SDL_GLContextFlag -> Bool
Eq, Eq SDL_GLContextFlag
Eq SDL_GLContextFlag =>
(SDL_GLContextFlag -> SDL_GLContextFlag -> Ordering)
-> (SDL_GLContextFlag -> SDL_GLContextFlag -> Bool)
-> (SDL_GLContextFlag -> SDL_GLContextFlag -> Bool)
-> (SDL_GLContextFlag -> SDL_GLContextFlag -> Bool)
-> (SDL_GLContextFlag -> SDL_GLContextFlag -> Bool)
-> (SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag)
-> (SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag)
-> Ord SDL_GLContextFlag
SDL_GLContextFlag -> SDL_GLContextFlag -> Bool
SDL_GLContextFlag -> SDL_GLContextFlag -> Ordering
SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: SDL_GLContextFlag -> SDL_GLContextFlag -> Ordering
compare :: SDL_GLContextFlag -> SDL_GLContextFlag -> Ordering
$c< :: SDL_GLContextFlag -> SDL_GLContextFlag -> Bool
< :: SDL_GLContextFlag -> SDL_GLContextFlag -> Bool
$c<= :: SDL_GLContextFlag -> SDL_GLContextFlag -> Bool
<= :: SDL_GLContextFlag -> SDL_GLContextFlag -> Bool
$c> :: SDL_GLContextFlag -> SDL_GLContextFlag -> Bool
> :: SDL_GLContextFlag -> SDL_GLContextFlag -> Bool
$c>= :: SDL_GLContextFlag -> SDL_GLContextFlag -> Bool
>= :: SDL_GLContextFlag -> SDL_GLContextFlag -> Bool
$cmax :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag
max :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag
$cmin :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag
min :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag
Ord, ReadPrec [SDL_GLContextFlag]
ReadPrec SDL_GLContextFlag
Int -> ReadS SDL_GLContextFlag
ReadS [SDL_GLContextFlag]
(Int -> ReadS SDL_GLContextFlag)
-> ReadS [SDL_GLContextFlag]
-> ReadPrec SDL_GLContextFlag
-> ReadPrec [SDL_GLContextFlag]
-> Read SDL_GLContextFlag
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
$creadsPrec :: Int -> ReadS SDL_GLContextFlag
readsPrec :: Int -> ReadS SDL_GLContextFlag
$creadList :: ReadS [SDL_GLContextFlag]
readList :: ReadS [SDL_GLContextFlag]
$creadPrec :: ReadPrec SDL_GLContextFlag
readPrec :: ReadPrec SDL_GLContextFlag
$creadListPrec :: ReadPrec [SDL_GLContextFlag]
readListPrec :: ReadPrec [SDL_GLContextFlag]
Read, Int -> SDL_GLContextFlag -> ShowS
[SDL_GLContextFlag] -> ShowS
SDL_GLContextFlag -> String
(Int -> SDL_GLContextFlag -> ShowS)
-> (SDL_GLContextFlag -> String)
-> ([SDL_GLContextFlag] -> ShowS)
-> Show SDL_GLContextFlag
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SDL_GLContextFlag -> ShowS
showsPrec :: Int -> SDL_GLContextFlag -> ShowS
$cshow :: SDL_GLContextFlag -> String
show :: SDL_GLContextFlag -> String
$cshowList :: [SDL_GLContextFlag] -> ShowS
showList :: [SDL_GLContextFlag] -> ShowS
Show)
deriving newtype
( Word64 -> Int -> SDL_GLContextFlag
SDL_GLContextFlag -> Int -> Word64
(SDL_GLContextFlag -> Int -> Word64)
-> (Word64 -> Int -> SDL_GLContextFlag)
-> Bitfield SDL_GLContextFlag
forall a.
(a -> Int -> Word64) -> (Word64 -> Int -> a) -> Bitfield a
$cnarrow :: SDL_GLContextFlag -> Int -> Word64
narrow :: SDL_GLContextFlag -> Int -> Word64
$cextend :: Word64 -> Int -> SDL_GLContextFlag
extend :: Word64 -> Int -> SDL_GLContextFlag
BG.Bitfield
, Eq SDL_GLContextFlag
SDL_GLContextFlag
Eq SDL_GLContextFlag =>
(SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag)
-> (SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag)
-> (SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag)
-> (SDL_GLContextFlag -> SDL_GLContextFlag)
-> (SDL_GLContextFlag -> Int -> SDL_GLContextFlag)
-> (SDL_GLContextFlag -> Int -> SDL_GLContextFlag)
-> SDL_GLContextFlag
-> (Int -> SDL_GLContextFlag)
-> (SDL_GLContextFlag -> Int -> SDL_GLContextFlag)
-> (SDL_GLContextFlag -> Int -> SDL_GLContextFlag)
-> (SDL_GLContextFlag -> Int -> SDL_GLContextFlag)
-> (SDL_GLContextFlag -> Int -> Bool)
-> (SDL_GLContextFlag -> Maybe Int)
-> (SDL_GLContextFlag -> Int)
-> (SDL_GLContextFlag -> Bool)
-> (SDL_GLContextFlag -> Int -> SDL_GLContextFlag)
-> (SDL_GLContextFlag -> Int -> SDL_GLContextFlag)
-> (SDL_GLContextFlag -> Int -> SDL_GLContextFlag)
-> (SDL_GLContextFlag -> Int -> SDL_GLContextFlag)
-> (SDL_GLContextFlag -> Int -> SDL_GLContextFlag)
-> (SDL_GLContextFlag -> Int -> SDL_GLContextFlag)
-> (SDL_GLContextFlag -> Int)
-> Bits SDL_GLContextFlag
Int -> SDL_GLContextFlag
SDL_GLContextFlag -> Bool
SDL_GLContextFlag -> Int
SDL_GLContextFlag -> Maybe Int
SDL_GLContextFlag -> SDL_GLContextFlag
SDL_GLContextFlag -> Int -> Bool
SDL_GLContextFlag -> Int -> SDL_GLContextFlag
SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag
forall a.
Eq a =>
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> a
-> (Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> Bool)
-> (a -> Maybe Int)
-> (a -> Int)
-> (a -> Bool)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int)
-> Bits a
$c.&. :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag
.&. :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag
$c.|. :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag
.|. :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag
$cxor :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag
xor :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag
$ccomplement :: SDL_GLContextFlag -> SDL_GLContextFlag
complement :: SDL_GLContextFlag -> SDL_GLContextFlag
$cshift :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag
shift :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag
$crotate :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag
rotate :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag
$czeroBits :: SDL_GLContextFlag
zeroBits :: SDL_GLContextFlag
$cbit :: Int -> SDL_GLContextFlag
bit :: Int -> SDL_GLContextFlag
$csetBit :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag
setBit :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag
$cclearBit :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag
clearBit :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag
$ccomplementBit :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag
complementBit :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag
$ctestBit :: SDL_GLContextFlag -> Int -> Bool
testBit :: SDL_GLContextFlag -> Int -> Bool
$cbitSizeMaybe :: SDL_GLContextFlag -> Maybe Int
bitSizeMaybe :: SDL_GLContextFlag -> Maybe Int
$cbitSize :: SDL_GLContextFlag -> Int
bitSize :: SDL_GLContextFlag -> Int
$cisSigned :: SDL_GLContextFlag -> Bool
isSigned :: SDL_GLContextFlag -> Bool
$cshiftL :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag
shiftL :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag
$cunsafeShiftL :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag
unsafeShiftL :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag
$cshiftR :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag
shiftR :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag
$cunsafeShiftR :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag
unsafeShiftR :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag
$crotateL :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag
rotateL :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag
$crotateR :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag
rotateR :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag
$cpopCount :: SDL_GLContextFlag -> Int
popCount :: SDL_GLContextFlag -> Int
BG.Bits
, Bits SDL_GLContextFlag
Bits SDL_GLContextFlag =>
(SDL_GLContextFlag -> Int)
-> (SDL_GLContextFlag -> Int)
-> (SDL_GLContextFlag -> Int)
-> FiniteBits SDL_GLContextFlag
SDL_GLContextFlag -> Int
forall b.
Bits b =>
(b -> Int) -> (b -> Int) -> (b -> Int) -> FiniteBits b
$cfiniteBitSize :: SDL_GLContextFlag -> Int
finiteBitSize :: SDL_GLContextFlag -> Int
$ccountLeadingZeros :: SDL_GLContextFlag -> Int
countLeadingZeros :: SDL_GLContextFlag -> Int
$ccountTrailingZeros :: SDL_GLContextFlag -> Int
countTrailingZeros :: SDL_GLContextFlag -> Int
BG.FiniteBits
, FFIType SDL_GLContextFlag -> SDL_GLContextFlag
SDL_GLContextFlag -> FFIType SDL_GLContextFlag
(SDL_GLContextFlag -> FFIType SDL_GLContextFlag)
-> (FFIType SDL_GLContextFlag -> SDL_GLContextFlag)
-> HasFFIType SDL_GLContextFlag
forall a. (a -> FFIType a) -> (FFIType a -> a) -> HasFFIType a
$ctoFFIType :: SDL_GLContextFlag -> FFIType SDL_GLContextFlag
toFFIType :: SDL_GLContextFlag -> FFIType SDL_GLContextFlag
$cfromFFIType :: FFIType SDL_GLContextFlag -> SDL_GLContextFlag
fromFFIType :: FFIType SDL_GLContextFlag -> SDL_GLContextFlag
BG.HasFFIType
, Ord SDL_GLContextFlag
Ord SDL_GLContextFlag =>
((SDL_GLContextFlag, SDL_GLContextFlag) -> [SDL_GLContextFlag])
-> ((SDL_GLContextFlag, SDL_GLContextFlag)
-> SDL_GLContextFlag -> Int)
-> ((SDL_GLContextFlag, SDL_GLContextFlag)
-> SDL_GLContextFlag -> Int)
-> ((SDL_GLContextFlag, SDL_GLContextFlag)
-> SDL_GLContextFlag -> Bool)
-> ((SDL_GLContextFlag, SDL_GLContextFlag) -> Int)
-> ((SDL_GLContextFlag, SDL_GLContextFlag) -> Int)
-> Ix SDL_GLContextFlag
(SDL_GLContextFlag, SDL_GLContextFlag) -> Int
(SDL_GLContextFlag, SDL_GLContextFlag) -> [SDL_GLContextFlag]
(SDL_GLContextFlag, SDL_GLContextFlag) -> SDL_GLContextFlag -> Bool
(SDL_GLContextFlag, SDL_GLContextFlag) -> SDL_GLContextFlag -> Int
forall a.
Ord a =>
((a, a) -> [a])
-> ((a, a) -> a -> Int)
-> ((a, a) -> a -> Int)
-> ((a, a) -> a -> Bool)
-> ((a, a) -> Int)
-> ((a, a) -> Int)
-> Ix a
$crange :: (SDL_GLContextFlag, SDL_GLContextFlag) -> [SDL_GLContextFlag]
range :: (SDL_GLContextFlag, SDL_GLContextFlag) -> [SDL_GLContextFlag]
$cindex :: (SDL_GLContextFlag, SDL_GLContextFlag) -> SDL_GLContextFlag -> Int
index :: (SDL_GLContextFlag, SDL_GLContextFlag) -> SDL_GLContextFlag -> Int
$cunsafeIndex :: (SDL_GLContextFlag, SDL_GLContextFlag) -> SDL_GLContextFlag -> Int
unsafeIndex :: (SDL_GLContextFlag, SDL_GLContextFlag) -> SDL_GLContextFlag -> Int
$cinRange :: (SDL_GLContextFlag, SDL_GLContextFlag) -> SDL_GLContextFlag -> Bool
inRange :: (SDL_GLContextFlag, SDL_GLContextFlag) -> SDL_GLContextFlag -> Bool
$crangeSize :: (SDL_GLContextFlag, SDL_GLContextFlag) -> Int
rangeSize :: (SDL_GLContextFlag, SDL_GLContextFlag) -> Int
$cunsafeRangeSize :: (SDL_GLContextFlag, SDL_GLContextFlag) -> Int
unsafeRangeSize :: (SDL_GLContextFlag, SDL_GLContextFlag) -> Int
BG.Ix
, Addr# -> Int# -> SDL_GLContextFlag
ByteArray# -> Int# -> SDL_GLContextFlag
Proxy SDL_GLContextFlag -> Int#
SDL_GLContextFlag -> Int#
(Proxy SDL_GLContextFlag -> Int#)
-> (SDL_GLContextFlag -> Int#)
-> (Proxy SDL_GLContextFlag -> Int#)
-> (SDL_GLContextFlag -> Int#)
-> (ByteArray# -> Int# -> SDL_GLContextFlag)
-> (forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_GLContextFlag #))
-> (forall s.
MutableByteArray# s
-> Int# -> SDL_GLContextFlag -> State# s -> State# s)
-> (forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_GLContextFlag -> State# s -> State# s)
-> (Addr# -> Int# -> SDL_GLContextFlag)
-> (forall s.
Addr# -> Int# -> State# s -> (# State# s, SDL_GLContextFlag #))
-> (forall s.
Addr# -> Int# -> SDL_GLContextFlag -> State# s -> State# s)
-> (forall s.
Addr# -> Int# -> Int# -> SDL_GLContextFlag -> State# s -> State# s)
-> Prim SDL_GLContextFlag
forall s.
Addr# -> Int# -> Int# -> SDL_GLContextFlag -> State# s -> State# s
forall s.
Addr# -> Int# -> State# s -> (# State# s, SDL_GLContextFlag #)
forall s.
Addr# -> Int# -> SDL_GLContextFlag -> State# s -> State# s
forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_GLContextFlag -> State# s -> State# s
forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_GLContextFlag #)
forall s.
MutableByteArray# s
-> Int# -> SDL_GLContextFlag -> State# s -> State# s
forall a.
(Proxy a -> Int#)
-> (a -> Int#)
-> (Proxy a -> Int#)
-> (a -> Int#)
-> (ByteArray# -> Int# -> a)
-> (forall s.
MutableByteArray# s -> Int# -> State# s -> (# State# s, a #))
-> (forall s.
MutableByteArray# s -> Int# -> a -> State# s -> State# s)
-> (forall s.
MutableByteArray# s -> Int# -> Int# -> a -> State# s -> State# s)
-> (Addr# -> Int# -> a)
-> (forall s. Addr# -> Int# -> State# s -> (# State# s, a #))
-> (forall s. Addr# -> Int# -> a -> State# s -> State# s)
-> (forall s. Addr# -> Int# -> Int# -> a -> State# s -> State# s)
-> Prim a
$csizeOfType# :: Proxy SDL_GLContextFlag -> Int#
sizeOfType# :: Proxy SDL_GLContextFlag -> Int#
$csizeOf# :: SDL_GLContextFlag -> Int#
sizeOf# :: SDL_GLContextFlag -> Int#
$calignmentOfType# :: Proxy SDL_GLContextFlag -> Int#
alignmentOfType# :: Proxy SDL_GLContextFlag -> Int#
$calignment# :: SDL_GLContextFlag -> Int#
alignment# :: SDL_GLContextFlag -> Int#
$cindexByteArray# :: ByteArray# -> Int# -> SDL_GLContextFlag
indexByteArray# :: ByteArray# -> Int# -> SDL_GLContextFlag
$creadByteArray# :: forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_GLContextFlag #)
readByteArray# :: forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_GLContextFlag #)
$cwriteByteArray# :: forall s.
MutableByteArray# s
-> Int# -> SDL_GLContextFlag -> State# s -> State# s
writeByteArray# :: forall s.
MutableByteArray# s
-> Int# -> SDL_GLContextFlag -> State# s -> State# s
$csetByteArray# :: forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_GLContextFlag -> State# s -> State# s
setByteArray# :: forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_GLContextFlag -> State# s -> State# s
$cindexOffAddr# :: Addr# -> Int# -> SDL_GLContextFlag
indexOffAddr# :: Addr# -> Int# -> SDL_GLContextFlag
$creadOffAddr# :: forall s.
Addr# -> Int# -> State# s -> (# State# s, SDL_GLContextFlag #)
readOffAddr# :: forall s.
Addr# -> Int# -> State# s -> (# State# s, SDL_GLContextFlag #)
$cwriteOffAddr# :: forall s.
Addr# -> Int# -> SDL_GLContextFlag -> State# s -> State# s
writeOffAddr# :: forall s.
Addr# -> Int# -> SDL_GLContextFlag -> State# s -> State# s
$csetOffAddr# :: forall s.
Addr# -> Int# -> Int# -> SDL_GLContextFlag -> State# s -> State# s
setOffAddr# :: forall s.
Addr# -> Int# -> Int# -> SDL_GLContextFlag -> State# s -> State# s
BG.Prim
, Ptr SDL_GLContextFlag -> IO SDL_GLContextFlag
Ptr SDL_GLContextFlag -> Int -> IO SDL_GLContextFlag
Ptr SDL_GLContextFlag -> Int -> SDL_GLContextFlag -> IO ()
Ptr SDL_GLContextFlag -> SDL_GLContextFlag -> IO ()
SDL_GLContextFlag -> Int
(SDL_GLContextFlag -> Int)
-> (SDL_GLContextFlag -> Int)
-> (Ptr SDL_GLContextFlag -> Int -> IO SDL_GLContextFlag)
-> (Ptr SDL_GLContextFlag -> Int -> SDL_GLContextFlag -> IO ())
-> (forall b. Ptr b -> Int -> IO SDL_GLContextFlag)
-> (forall b. Ptr b -> Int -> SDL_GLContextFlag -> IO ())
-> (Ptr SDL_GLContextFlag -> IO SDL_GLContextFlag)
-> (Ptr SDL_GLContextFlag -> SDL_GLContextFlag -> IO ())
-> Storable SDL_GLContextFlag
forall b. Ptr b -> Int -> IO SDL_GLContextFlag
forall b. Ptr b -> Int -> SDL_GLContextFlag -> IO ()
forall a.
(a -> Int)
-> (a -> Int)
-> (Ptr a -> Int -> IO a)
-> (Ptr a -> Int -> a -> IO ())
-> (forall b. Ptr b -> Int -> IO a)
-> (forall b. Ptr b -> Int -> a -> IO ())
-> (Ptr a -> IO a)
-> (Ptr a -> a -> IO ())
-> Storable a
$csizeOf :: SDL_GLContextFlag -> Int
sizeOf :: SDL_GLContextFlag -> Int
$calignment :: SDL_GLContextFlag -> Int
alignment :: SDL_GLContextFlag -> Int
$cpeekElemOff :: Ptr SDL_GLContextFlag -> Int -> IO SDL_GLContextFlag
peekElemOff :: Ptr SDL_GLContextFlag -> Int -> IO SDL_GLContextFlag
$cpokeElemOff :: Ptr SDL_GLContextFlag -> Int -> SDL_GLContextFlag -> IO ()
pokeElemOff :: Ptr SDL_GLContextFlag -> Int -> SDL_GLContextFlag -> IO ()
$cpeekByteOff :: forall b. Ptr b -> Int -> IO SDL_GLContextFlag
peekByteOff :: forall b. Ptr b -> Int -> IO SDL_GLContextFlag
$cpokeByteOff :: forall b. Ptr b -> Int -> SDL_GLContextFlag -> IO ()
pokeByteOff :: forall b. Ptr b -> Int -> SDL_GLContextFlag -> IO ()
$cpeek :: Ptr SDL_GLContextFlag -> IO SDL_GLContextFlag
peek :: Ptr SDL_GLContextFlag -> IO SDL_GLContextFlag
$cpoke :: Ptr SDL_GLContextFlag -> SDL_GLContextFlag -> IO ()
poke :: Ptr SDL_GLContextFlag -> SDL_GLContextFlag -> IO ()
BG.Storable
, SDL_GLContextFlag
SDL_GLContextFlag -> SDL_GLContextFlag -> Bounded SDL_GLContextFlag
forall a. a -> a -> Bounded a
$cminBound :: SDL_GLContextFlag
minBound :: SDL_GLContextFlag
$cmaxBound :: SDL_GLContextFlag
maxBound :: SDL_GLContextFlag
Bounded
, Int -> SDL_GLContextFlag
SDL_GLContextFlag -> Int
SDL_GLContextFlag -> [SDL_GLContextFlag]
SDL_GLContextFlag -> SDL_GLContextFlag
SDL_GLContextFlag -> SDL_GLContextFlag -> [SDL_GLContextFlag]
SDL_GLContextFlag
-> SDL_GLContextFlag -> SDL_GLContextFlag -> [SDL_GLContextFlag]
(SDL_GLContextFlag -> SDL_GLContextFlag)
-> (SDL_GLContextFlag -> SDL_GLContextFlag)
-> (Int -> SDL_GLContextFlag)
-> (SDL_GLContextFlag -> Int)
-> (SDL_GLContextFlag -> [SDL_GLContextFlag])
-> (SDL_GLContextFlag -> SDL_GLContextFlag -> [SDL_GLContextFlag])
-> (SDL_GLContextFlag -> SDL_GLContextFlag -> [SDL_GLContextFlag])
-> (SDL_GLContextFlag
-> SDL_GLContextFlag -> SDL_GLContextFlag -> [SDL_GLContextFlag])
-> Enum SDL_GLContextFlag
forall a.
(a -> a)
-> (a -> a)
-> (Int -> a)
-> (a -> Int)
-> (a -> [a])
-> (a -> a -> [a])
-> (a -> a -> [a])
-> (a -> a -> a -> [a])
-> Enum a
$csucc :: SDL_GLContextFlag -> SDL_GLContextFlag
succ :: SDL_GLContextFlag -> SDL_GLContextFlag
$cpred :: SDL_GLContextFlag -> SDL_GLContextFlag
pred :: SDL_GLContextFlag -> SDL_GLContextFlag
$ctoEnum :: Int -> SDL_GLContextFlag
toEnum :: Int -> SDL_GLContextFlag
$cfromEnum :: SDL_GLContextFlag -> Int
fromEnum :: SDL_GLContextFlag -> Int
$cenumFrom :: SDL_GLContextFlag -> [SDL_GLContextFlag]
enumFrom :: SDL_GLContextFlag -> [SDL_GLContextFlag]
$cenumFromThen :: SDL_GLContextFlag -> SDL_GLContextFlag -> [SDL_GLContextFlag]
enumFromThen :: SDL_GLContextFlag -> SDL_GLContextFlag -> [SDL_GLContextFlag]
$cenumFromTo :: SDL_GLContextFlag -> SDL_GLContextFlag -> [SDL_GLContextFlag]
enumFromTo :: SDL_GLContextFlag -> SDL_GLContextFlag -> [SDL_GLContextFlag]
$cenumFromThenTo :: SDL_GLContextFlag
-> SDL_GLContextFlag -> SDL_GLContextFlag -> [SDL_GLContextFlag]
enumFromThenTo :: SDL_GLContextFlag
-> SDL_GLContextFlag -> SDL_GLContextFlag -> [SDL_GLContextFlag]
Enum
, Enum SDL_GLContextFlag
Real SDL_GLContextFlag
(Real SDL_GLContextFlag, Enum SDL_GLContextFlag) =>
(SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag)
-> (SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag)
-> (SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag)
-> (SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag)
-> (SDL_GLContextFlag
-> SDL_GLContextFlag -> (SDL_GLContextFlag, SDL_GLContextFlag))
-> (SDL_GLContextFlag
-> SDL_GLContextFlag -> (SDL_GLContextFlag, SDL_GLContextFlag))
-> (SDL_GLContextFlag -> Integer)
-> Integral SDL_GLContextFlag
SDL_GLContextFlag -> Integer
SDL_GLContextFlag
-> SDL_GLContextFlag -> (SDL_GLContextFlag, SDL_GLContextFlag)
SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag
forall a.
(Real a, Enum a) =>
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> (a, a))
-> (a -> a -> (a, a))
-> (a -> Integer)
-> Integral a
$cquot :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag
quot :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag
$crem :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag
rem :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag
$cdiv :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag
div :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag
$cmod :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag
mod :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag
$cquotRem :: SDL_GLContextFlag
-> SDL_GLContextFlag -> (SDL_GLContextFlag, SDL_GLContextFlag)
quotRem :: SDL_GLContextFlag
-> SDL_GLContextFlag -> (SDL_GLContextFlag, SDL_GLContextFlag)
$cdivMod :: SDL_GLContextFlag
-> SDL_GLContextFlag -> (SDL_GLContextFlag, SDL_GLContextFlag)
divMod :: SDL_GLContextFlag
-> SDL_GLContextFlag -> (SDL_GLContextFlag, SDL_GLContextFlag)
$ctoInteger :: SDL_GLContextFlag -> Integer
toInteger :: SDL_GLContextFlag -> Integer
Integral
, Ptr SDL_GLContextFlag -> IO SDL_GLContextFlag
(Ptr SDL_GLContextFlag -> IO SDL_GLContextFlag)
-> ReadRaw SDL_GLContextFlag
forall a. (Ptr a -> IO a) -> ReadRaw a
$creadRaw :: Ptr SDL_GLContextFlag -> IO SDL_GLContextFlag
readRaw :: Ptr SDL_GLContextFlag -> IO SDL_GLContextFlag
Marshal.ReadRaw
, Proxy SDL_GLContextFlag -> Int
(Proxy SDL_GLContextFlag -> Int)
-> (Proxy SDL_GLContextFlag -> Int) -> StaticSize SDL_GLContextFlag
forall a. (Proxy a -> Int) -> (Proxy a -> Int) -> StaticSize a
$cstaticSizeOf :: Proxy SDL_GLContextFlag -> Int
staticSizeOf :: Proxy SDL_GLContextFlag -> Int
$cstaticAlignment :: Proxy SDL_GLContextFlag -> Int
staticAlignment :: Proxy SDL_GLContextFlag -> Int
Marshal.StaticSize
, Ptr SDL_GLContextFlag -> SDL_GLContextFlag -> IO ()
(Ptr SDL_GLContextFlag -> SDL_GLContextFlag -> IO ())
-> WriteRaw SDL_GLContextFlag
forall a. (Ptr a -> a -> IO ()) -> WriteRaw a
$cwriteRaw :: Ptr SDL_GLContextFlag -> SDL_GLContextFlag -> IO ()
writeRaw :: Ptr SDL_GLContextFlag -> SDL_GLContextFlag -> IO ()
Marshal.WriteRaw
, Integer -> SDL_GLContextFlag
SDL_GLContextFlag -> SDL_GLContextFlag
SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag
(SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag)
-> (SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag)
-> (SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag)
-> (SDL_GLContextFlag -> SDL_GLContextFlag)
-> (SDL_GLContextFlag -> SDL_GLContextFlag)
-> (SDL_GLContextFlag -> SDL_GLContextFlag)
-> (Integer -> SDL_GLContextFlag)
-> Num SDL_GLContextFlag
forall a.
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a)
-> (a -> a)
-> (a -> a)
-> (Integer -> a)
-> Num a
$c+ :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag
+ :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag
$c- :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag
- :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag
$c* :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag
* :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag
$cnegate :: SDL_GLContextFlag -> SDL_GLContextFlag
negate :: SDL_GLContextFlag -> SDL_GLContextFlag
$cabs :: SDL_GLContextFlag -> SDL_GLContextFlag
abs :: SDL_GLContextFlag -> SDL_GLContextFlag
$csignum :: SDL_GLContextFlag -> SDL_GLContextFlag
signum :: SDL_GLContextFlag -> SDL_GLContextFlag
$cfromInteger :: Integer -> SDL_GLContextFlag
fromInteger :: Integer -> SDL_GLContextFlag
Num
, Num SDL_GLContextFlag
Ord SDL_GLContextFlag
(Num SDL_GLContextFlag, Ord SDL_GLContextFlag) =>
(SDL_GLContextFlag -> Rational) -> Real SDL_GLContextFlag
SDL_GLContextFlag -> Rational
forall a. (Num a, Ord a) => (a -> Rational) -> Real a
$ctoRational :: SDL_GLContextFlag -> Rational
toRational :: SDL_GLContextFlag -> Rational
Real
)
instance
(ty ~ SDL3.Sys.Bindgen.Stdinc.Uint32)
=> BG.CompatHasField.HasField "unwrap" SDL_GLContextFlag ty
where
hasField :: SDL_GLContextFlag -> (ty -> SDL_GLContextFlag, ty)
hasField =
\SDL_GLContextFlag
x0 ->
( \ty
y1 ->
SDL_GLContextFlag{unwrap :: Uint32
unwrap = ty
Uint32
y1}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_GLContextFlag
x0
)
instance
(ty ~ SDL3.Sys.Bindgen.Stdinc.Uint32)
=> BG.HasField "unwrap" (BG.Ptr SDL_GLContextFlag) (BG.Ptr ty)
where
getField :: Ptr SDL_GLContextFlag -> Ptr ty
getField = Proxy "unwrap"
-> Ptr SDL_GLContextFlag
-> Ptr (CFieldType SDL_GLContextFlag "unwrap")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"unwrap")
instance HasCField.HasCField SDL_GLContextFlag "unwrap" where
type
CFieldType SDL_GLContextFlag "unwrap" =
SDL3.Sys.Bindgen.Stdinc.Uint32
offset# :: Proxy# SDL_GLContextFlag -> Proxy# "unwrap" -> Int
offset# = \Proxy# SDL_GLContextFlag
_ -> \Proxy# "unwrap"
_ -> Int
0
sDL_GL_CONTEXT_DEBUG_FLAG :: BG.CInt
sDL_GL_CONTEXT_DEBUG_FLAG :: CInt
sDL_GL_CONTEXT_DEBUG_FLAG = (CInt
1 :: BG.CInt)
sDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG :: BG.CInt
sDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG :: CInt
sDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG =
(CInt
2 :: BG.CInt)
sDL_GL_CONTEXT_ROBUST_ACCESS_FLAG :: BG.CInt
sDL_GL_CONTEXT_ROBUST_ACCESS_FLAG :: CInt
sDL_GL_CONTEXT_ROBUST_ACCESS_FLAG = (CInt
4 :: BG.CInt)
sDL_GL_CONTEXT_RESET_ISOLATION_FLAG :: BG.CInt
sDL_GL_CONTEXT_RESET_ISOLATION_FLAG :: CInt
sDL_GL_CONTEXT_RESET_ISOLATION_FLAG = (CInt
8 :: BG.CInt)
newtype SDL_GLContextReleaseFlag = SDL_GLContextReleaseFlag
{ SDL_GLContextReleaseFlag -> Uint32
unwrap :: SDL3.Sys.Bindgen.Stdinc.Uint32
}
deriving stock ((forall x.
SDL_GLContextReleaseFlag -> Rep SDL_GLContextReleaseFlag x)
-> (forall x.
Rep SDL_GLContextReleaseFlag x -> SDL_GLContextReleaseFlag)
-> Generic SDL_GLContextReleaseFlag
forall x.
Rep SDL_GLContextReleaseFlag x -> SDL_GLContextReleaseFlag
forall x.
SDL_GLContextReleaseFlag -> Rep SDL_GLContextReleaseFlag x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x.
SDL_GLContextReleaseFlag -> Rep SDL_GLContextReleaseFlag x
from :: forall x.
SDL_GLContextReleaseFlag -> Rep SDL_GLContextReleaseFlag x
$cto :: forall x.
Rep SDL_GLContextReleaseFlag x -> SDL_GLContextReleaseFlag
to :: forall x.
Rep SDL_GLContextReleaseFlag x -> SDL_GLContextReleaseFlag
BG.Generic, SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Bool
(SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Bool)
-> (SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Bool)
-> Eq SDL_GLContextReleaseFlag
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Bool
== :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Bool
$c/= :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Bool
/= :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Bool
Eq, Eq SDL_GLContextReleaseFlag
Eq SDL_GLContextReleaseFlag =>
(SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Ordering)
-> (SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Bool)
-> (SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Bool)
-> (SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Bool)
-> (SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Bool)
-> (SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag)
-> (SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag)
-> Ord SDL_GLContextReleaseFlag
SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Bool
SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Ordering
SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Ordering
compare :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Ordering
$c< :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Bool
< :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Bool
$c<= :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Bool
<= :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Bool
$c> :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Bool
> :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Bool
$c>= :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Bool
>= :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Bool
$cmax :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
max :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
$cmin :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
min :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
Ord, ReadPrec [SDL_GLContextReleaseFlag]
ReadPrec SDL_GLContextReleaseFlag
Int -> ReadS SDL_GLContextReleaseFlag
ReadS [SDL_GLContextReleaseFlag]
(Int -> ReadS SDL_GLContextReleaseFlag)
-> ReadS [SDL_GLContextReleaseFlag]
-> ReadPrec SDL_GLContextReleaseFlag
-> ReadPrec [SDL_GLContextReleaseFlag]
-> Read SDL_GLContextReleaseFlag
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
$creadsPrec :: Int -> ReadS SDL_GLContextReleaseFlag
readsPrec :: Int -> ReadS SDL_GLContextReleaseFlag
$creadList :: ReadS [SDL_GLContextReleaseFlag]
readList :: ReadS [SDL_GLContextReleaseFlag]
$creadPrec :: ReadPrec SDL_GLContextReleaseFlag
readPrec :: ReadPrec SDL_GLContextReleaseFlag
$creadListPrec :: ReadPrec [SDL_GLContextReleaseFlag]
readListPrec :: ReadPrec [SDL_GLContextReleaseFlag]
Read, Int -> SDL_GLContextReleaseFlag -> ShowS
[SDL_GLContextReleaseFlag] -> ShowS
SDL_GLContextReleaseFlag -> String
(Int -> SDL_GLContextReleaseFlag -> ShowS)
-> (SDL_GLContextReleaseFlag -> String)
-> ([SDL_GLContextReleaseFlag] -> ShowS)
-> Show SDL_GLContextReleaseFlag
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SDL_GLContextReleaseFlag -> ShowS
showsPrec :: Int -> SDL_GLContextReleaseFlag -> ShowS
$cshow :: SDL_GLContextReleaseFlag -> String
show :: SDL_GLContextReleaseFlag -> String
$cshowList :: [SDL_GLContextReleaseFlag] -> ShowS
showList :: [SDL_GLContextReleaseFlag] -> ShowS
Show)
deriving newtype
( Word64 -> Int -> SDL_GLContextReleaseFlag
SDL_GLContextReleaseFlag -> Int -> Word64
(SDL_GLContextReleaseFlag -> Int -> Word64)
-> (Word64 -> Int -> SDL_GLContextReleaseFlag)
-> Bitfield SDL_GLContextReleaseFlag
forall a.
(a -> Int -> Word64) -> (Word64 -> Int -> a) -> Bitfield a
$cnarrow :: SDL_GLContextReleaseFlag -> Int -> Word64
narrow :: SDL_GLContextReleaseFlag -> Int -> Word64
$cextend :: Word64 -> Int -> SDL_GLContextReleaseFlag
extend :: Word64 -> Int -> SDL_GLContextReleaseFlag
BG.Bitfield
, Eq SDL_GLContextReleaseFlag
SDL_GLContextReleaseFlag
Eq SDL_GLContextReleaseFlag =>
(SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag)
-> (SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag)
-> (SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag)
-> (SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag)
-> (SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag)
-> (SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag)
-> SDL_GLContextReleaseFlag
-> (Int -> SDL_GLContextReleaseFlag)
-> (SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag)
-> (SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag)
-> (SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag)
-> (SDL_GLContextReleaseFlag -> Int -> Bool)
-> (SDL_GLContextReleaseFlag -> Maybe Int)
-> (SDL_GLContextReleaseFlag -> Int)
-> (SDL_GLContextReleaseFlag -> Bool)
-> (SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag)
-> (SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag)
-> (SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag)
-> (SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag)
-> (SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag)
-> (SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag)
-> (SDL_GLContextReleaseFlag -> Int)
-> Bits SDL_GLContextReleaseFlag
Int -> SDL_GLContextReleaseFlag
SDL_GLContextReleaseFlag -> Bool
SDL_GLContextReleaseFlag -> Int
SDL_GLContextReleaseFlag -> Maybe Int
SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
SDL_GLContextReleaseFlag -> Int -> Bool
SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag
SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
forall a.
Eq a =>
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> a
-> (Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> Bool)
-> (a -> Maybe Int)
-> (a -> Int)
-> (a -> Bool)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int)
-> Bits a
$c.&. :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
.&. :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
$c.|. :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
.|. :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
$cxor :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
xor :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
$ccomplement :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
complement :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
$cshift :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag
shift :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag
$crotate :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag
rotate :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag
$czeroBits :: SDL_GLContextReleaseFlag
zeroBits :: SDL_GLContextReleaseFlag
$cbit :: Int -> SDL_GLContextReleaseFlag
bit :: Int -> SDL_GLContextReleaseFlag
$csetBit :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag
setBit :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag
$cclearBit :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag
clearBit :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag
$ccomplementBit :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag
complementBit :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag
$ctestBit :: SDL_GLContextReleaseFlag -> Int -> Bool
testBit :: SDL_GLContextReleaseFlag -> Int -> Bool
$cbitSizeMaybe :: SDL_GLContextReleaseFlag -> Maybe Int
bitSizeMaybe :: SDL_GLContextReleaseFlag -> Maybe Int
$cbitSize :: SDL_GLContextReleaseFlag -> Int
bitSize :: SDL_GLContextReleaseFlag -> Int
$cisSigned :: SDL_GLContextReleaseFlag -> Bool
isSigned :: SDL_GLContextReleaseFlag -> Bool
$cshiftL :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag
shiftL :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag
$cunsafeShiftL :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag
unsafeShiftL :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag
$cshiftR :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag
shiftR :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag
$cunsafeShiftR :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag
unsafeShiftR :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag
$crotateL :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag
rotateL :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag
$crotateR :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag
rotateR :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag
$cpopCount :: SDL_GLContextReleaseFlag -> Int
popCount :: SDL_GLContextReleaseFlag -> Int
BG.Bits
, Bits SDL_GLContextReleaseFlag
Bits SDL_GLContextReleaseFlag =>
(SDL_GLContextReleaseFlag -> Int)
-> (SDL_GLContextReleaseFlag -> Int)
-> (SDL_GLContextReleaseFlag -> Int)
-> FiniteBits SDL_GLContextReleaseFlag
SDL_GLContextReleaseFlag -> Int
forall b.
Bits b =>
(b -> Int) -> (b -> Int) -> (b -> Int) -> FiniteBits b
$cfiniteBitSize :: SDL_GLContextReleaseFlag -> Int
finiteBitSize :: SDL_GLContextReleaseFlag -> Int
$ccountLeadingZeros :: SDL_GLContextReleaseFlag -> Int
countLeadingZeros :: SDL_GLContextReleaseFlag -> Int
$ccountTrailingZeros :: SDL_GLContextReleaseFlag -> Int
countTrailingZeros :: SDL_GLContextReleaseFlag -> Int
BG.FiniteBits
, FFIType SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
SDL_GLContextReleaseFlag -> FFIType SDL_GLContextReleaseFlag
(SDL_GLContextReleaseFlag -> FFIType SDL_GLContextReleaseFlag)
-> (FFIType SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag)
-> HasFFIType SDL_GLContextReleaseFlag
forall a. (a -> FFIType a) -> (FFIType a -> a) -> HasFFIType a
$ctoFFIType :: SDL_GLContextReleaseFlag -> FFIType SDL_GLContextReleaseFlag
toFFIType :: SDL_GLContextReleaseFlag -> FFIType SDL_GLContextReleaseFlag
$cfromFFIType :: FFIType SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
fromFFIType :: FFIType SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
BG.HasFFIType
, Ord SDL_GLContextReleaseFlag
Ord SDL_GLContextReleaseFlag =>
((SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag)
-> [SDL_GLContextReleaseFlag])
-> ((SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag)
-> SDL_GLContextReleaseFlag -> Int)
-> ((SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag)
-> SDL_GLContextReleaseFlag -> Int)
-> ((SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag)
-> SDL_GLContextReleaseFlag -> Bool)
-> ((SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag) -> Int)
-> ((SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag) -> Int)
-> Ix SDL_GLContextReleaseFlag
(SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag) -> Int
(SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag)
-> [SDL_GLContextReleaseFlag]
(SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag)
-> SDL_GLContextReleaseFlag -> Bool
(SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag)
-> SDL_GLContextReleaseFlag -> Int
forall a.
Ord a =>
((a, a) -> [a])
-> ((a, a) -> a -> Int)
-> ((a, a) -> a -> Int)
-> ((a, a) -> a -> Bool)
-> ((a, a) -> Int)
-> ((a, a) -> Int)
-> Ix a
$crange :: (SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag)
-> [SDL_GLContextReleaseFlag]
range :: (SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag)
-> [SDL_GLContextReleaseFlag]
$cindex :: (SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag)
-> SDL_GLContextReleaseFlag -> Int
index :: (SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag)
-> SDL_GLContextReleaseFlag -> Int
$cunsafeIndex :: (SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag)
-> SDL_GLContextReleaseFlag -> Int
unsafeIndex :: (SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag)
-> SDL_GLContextReleaseFlag -> Int
$cinRange :: (SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag)
-> SDL_GLContextReleaseFlag -> Bool
inRange :: (SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag)
-> SDL_GLContextReleaseFlag -> Bool
$crangeSize :: (SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag) -> Int
rangeSize :: (SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag) -> Int
$cunsafeRangeSize :: (SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag) -> Int
unsafeRangeSize :: (SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag) -> Int
BG.Ix
, Addr# -> Int# -> SDL_GLContextReleaseFlag
ByteArray# -> Int# -> SDL_GLContextReleaseFlag
Proxy SDL_GLContextReleaseFlag -> Int#
SDL_GLContextReleaseFlag -> Int#
(Proxy SDL_GLContextReleaseFlag -> Int#)
-> (SDL_GLContextReleaseFlag -> Int#)
-> (Proxy SDL_GLContextReleaseFlag -> Int#)
-> (SDL_GLContextReleaseFlag -> Int#)
-> (ByteArray# -> Int# -> SDL_GLContextReleaseFlag)
-> (forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_GLContextReleaseFlag #))
-> (forall s.
MutableByteArray# s
-> Int# -> SDL_GLContextReleaseFlag -> State# s -> State# s)
-> (forall s.
MutableByteArray# s
-> Int#
-> Int#
-> SDL_GLContextReleaseFlag
-> State# s
-> State# s)
-> (Addr# -> Int# -> SDL_GLContextReleaseFlag)
-> (forall s.
Addr#
-> Int# -> State# s -> (# State# s, SDL_GLContextReleaseFlag #))
-> (forall s.
Addr# -> Int# -> SDL_GLContextReleaseFlag -> State# s -> State# s)
-> (forall s.
Addr#
-> Int#
-> Int#
-> SDL_GLContextReleaseFlag
-> State# s
-> State# s)
-> Prim SDL_GLContextReleaseFlag
forall s.
Addr#
-> Int# -> Int# -> SDL_GLContextReleaseFlag -> State# s -> State# s
forall s.
Addr#
-> Int# -> State# s -> (# State# s, SDL_GLContextReleaseFlag #)
forall s.
Addr# -> Int# -> SDL_GLContextReleaseFlag -> State# s -> State# s
forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_GLContextReleaseFlag -> State# s -> State# s
forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_GLContextReleaseFlag #)
forall s.
MutableByteArray# s
-> Int# -> SDL_GLContextReleaseFlag -> State# s -> State# s
forall a.
(Proxy a -> Int#)
-> (a -> Int#)
-> (Proxy a -> Int#)
-> (a -> Int#)
-> (ByteArray# -> Int# -> a)
-> (forall s.
MutableByteArray# s -> Int# -> State# s -> (# State# s, a #))
-> (forall s.
MutableByteArray# s -> Int# -> a -> State# s -> State# s)
-> (forall s.
MutableByteArray# s -> Int# -> Int# -> a -> State# s -> State# s)
-> (Addr# -> Int# -> a)
-> (forall s. Addr# -> Int# -> State# s -> (# State# s, a #))
-> (forall s. Addr# -> Int# -> a -> State# s -> State# s)
-> (forall s. Addr# -> Int# -> Int# -> a -> State# s -> State# s)
-> Prim a
$csizeOfType# :: Proxy SDL_GLContextReleaseFlag -> Int#
sizeOfType# :: Proxy SDL_GLContextReleaseFlag -> Int#
$csizeOf# :: SDL_GLContextReleaseFlag -> Int#
sizeOf# :: SDL_GLContextReleaseFlag -> Int#
$calignmentOfType# :: Proxy SDL_GLContextReleaseFlag -> Int#
alignmentOfType# :: Proxy SDL_GLContextReleaseFlag -> Int#
$calignment# :: SDL_GLContextReleaseFlag -> Int#
alignment# :: SDL_GLContextReleaseFlag -> Int#
$cindexByteArray# :: ByteArray# -> Int# -> SDL_GLContextReleaseFlag
indexByteArray# :: ByteArray# -> Int# -> SDL_GLContextReleaseFlag
$creadByteArray# :: forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_GLContextReleaseFlag #)
readByteArray# :: forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_GLContextReleaseFlag #)
$cwriteByteArray# :: forall s.
MutableByteArray# s
-> Int# -> SDL_GLContextReleaseFlag -> State# s -> State# s
writeByteArray# :: forall s.
MutableByteArray# s
-> Int# -> SDL_GLContextReleaseFlag -> State# s -> State# s
$csetByteArray# :: forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_GLContextReleaseFlag -> State# s -> State# s
setByteArray# :: forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_GLContextReleaseFlag -> State# s -> State# s
$cindexOffAddr# :: Addr# -> Int# -> SDL_GLContextReleaseFlag
indexOffAddr# :: Addr# -> Int# -> SDL_GLContextReleaseFlag
$creadOffAddr# :: forall s.
Addr#
-> Int# -> State# s -> (# State# s, SDL_GLContextReleaseFlag #)
readOffAddr# :: forall s.
Addr#
-> Int# -> State# s -> (# State# s, SDL_GLContextReleaseFlag #)
$cwriteOffAddr# :: forall s.
Addr# -> Int# -> SDL_GLContextReleaseFlag -> State# s -> State# s
writeOffAddr# :: forall s.
Addr# -> Int# -> SDL_GLContextReleaseFlag -> State# s -> State# s
$csetOffAddr# :: forall s.
Addr#
-> Int# -> Int# -> SDL_GLContextReleaseFlag -> State# s -> State# s
setOffAddr# :: forall s.
Addr#
-> Int# -> Int# -> SDL_GLContextReleaseFlag -> State# s -> State# s
BG.Prim
, Ptr SDL_GLContextReleaseFlag -> IO SDL_GLContextReleaseFlag
Ptr SDL_GLContextReleaseFlag -> Int -> IO SDL_GLContextReleaseFlag
Ptr SDL_GLContextReleaseFlag
-> Int -> SDL_GLContextReleaseFlag -> IO ()
Ptr SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> IO ()
SDL_GLContextReleaseFlag -> Int
(SDL_GLContextReleaseFlag -> Int)
-> (SDL_GLContextReleaseFlag -> Int)
-> (Ptr SDL_GLContextReleaseFlag
-> Int -> IO SDL_GLContextReleaseFlag)
-> (Ptr SDL_GLContextReleaseFlag
-> Int -> SDL_GLContextReleaseFlag -> IO ())
-> (forall b. Ptr b -> Int -> IO SDL_GLContextReleaseFlag)
-> (forall b. Ptr b -> Int -> SDL_GLContextReleaseFlag -> IO ())
-> (Ptr SDL_GLContextReleaseFlag -> IO SDL_GLContextReleaseFlag)
-> (Ptr SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> IO ())
-> Storable SDL_GLContextReleaseFlag
forall b. Ptr b -> Int -> IO SDL_GLContextReleaseFlag
forall b. Ptr b -> Int -> SDL_GLContextReleaseFlag -> IO ()
forall a.
(a -> Int)
-> (a -> Int)
-> (Ptr a -> Int -> IO a)
-> (Ptr a -> Int -> a -> IO ())
-> (forall b. Ptr b -> Int -> IO a)
-> (forall b. Ptr b -> Int -> a -> IO ())
-> (Ptr a -> IO a)
-> (Ptr a -> a -> IO ())
-> Storable a
$csizeOf :: SDL_GLContextReleaseFlag -> Int
sizeOf :: SDL_GLContextReleaseFlag -> Int
$calignment :: SDL_GLContextReleaseFlag -> Int
alignment :: SDL_GLContextReleaseFlag -> Int
$cpeekElemOff :: Ptr SDL_GLContextReleaseFlag -> Int -> IO SDL_GLContextReleaseFlag
peekElemOff :: Ptr SDL_GLContextReleaseFlag -> Int -> IO SDL_GLContextReleaseFlag
$cpokeElemOff :: Ptr SDL_GLContextReleaseFlag
-> Int -> SDL_GLContextReleaseFlag -> IO ()
pokeElemOff :: Ptr SDL_GLContextReleaseFlag
-> Int -> SDL_GLContextReleaseFlag -> IO ()
$cpeekByteOff :: forall b. Ptr b -> Int -> IO SDL_GLContextReleaseFlag
peekByteOff :: forall b. Ptr b -> Int -> IO SDL_GLContextReleaseFlag
$cpokeByteOff :: forall b. Ptr b -> Int -> SDL_GLContextReleaseFlag -> IO ()
pokeByteOff :: forall b. Ptr b -> Int -> SDL_GLContextReleaseFlag -> IO ()
$cpeek :: Ptr SDL_GLContextReleaseFlag -> IO SDL_GLContextReleaseFlag
peek :: Ptr SDL_GLContextReleaseFlag -> IO SDL_GLContextReleaseFlag
$cpoke :: Ptr SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> IO ()
poke :: Ptr SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> IO ()
BG.Storable
, SDL_GLContextReleaseFlag
SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> Bounded SDL_GLContextReleaseFlag
forall a. a -> a -> Bounded a
$cminBound :: SDL_GLContextReleaseFlag
minBound :: SDL_GLContextReleaseFlag
$cmaxBound :: SDL_GLContextReleaseFlag
maxBound :: SDL_GLContextReleaseFlag
Bounded
, Int -> SDL_GLContextReleaseFlag
SDL_GLContextReleaseFlag -> Int
SDL_GLContextReleaseFlag -> [SDL_GLContextReleaseFlag]
SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> [SDL_GLContextReleaseFlag]
SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag
-> [SDL_GLContextReleaseFlag]
(SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag)
-> (SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag)
-> (Int -> SDL_GLContextReleaseFlag)
-> (SDL_GLContextReleaseFlag -> Int)
-> (SDL_GLContextReleaseFlag -> [SDL_GLContextReleaseFlag])
-> (SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> [SDL_GLContextReleaseFlag])
-> (SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> [SDL_GLContextReleaseFlag])
-> (SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag
-> [SDL_GLContextReleaseFlag])
-> Enum SDL_GLContextReleaseFlag
forall a.
(a -> a)
-> (a -> a)
-> (Int -> a)
-> (a -> Int)
-> (a -> [a])
-> (a -> a -> [a])
-> (a -> a -> [a])
-> (a -> a -> a -> [a])
-> Enum a
$csucc :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
succ :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
$cpred :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
pred :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
$ctoEnum :: Int -> SDL_GLContextReleaseFlag
toEnum :: Int -> SDL_GLContextReleaseFlag
$cfromEnum :: SDL_GLContextReleaseFlag -> Int
fromEnum :: SDL_GLContextReleaseFlag -> Int
$cenumFrom :: SDL_GLContextReleaseFlag -> [SDL_GLContextReleaseFlag]
enumFrom :: SDL_GLContextReleaseFlag -> [SDL_GLContextReleaseFlag]
$cenumFromThen :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> [SDL_GLContextReleaseFlag]
enumFromThen :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> [SDL_GLContextReleaseFlag]
$cenumFromTo :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> [SDL_GLContextReleaseFlag]
enumFromTo :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> [SDL_GLContextReleaseFlag]
$cenumFromThenTo :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag
-> [SDL_GLContextReleaseFlag]
enumFromThenTo :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag
-> [SDL_GLContextReleaseFlag]
Enum
, Enum SDL_GLContextReleaseFlag
Real SDL_GLContextReleaseFlag
(Real SDL_GLContextReleaseFlag, Enum SDL_GLContextReleaseFlag) =>
(SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag)
-> (SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag)
-> (SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag)
-> (SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag)
-> (SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag
-> (SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag))
-> (SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag
-> (SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag))
-> (SDL_GLContextReleaseFlag -> Integer)
-> Integral SDL_GLContextReleaseFlag
SDL_GLContextReleaseFlag -> Integer
SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag
-> (SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag)
SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
forall a.
(Real a, Enum a) =>
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> (a, a))
-> (a -> a -> (a, a))
-> (a -> Integer)
-> Integral a
$cquot :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
quot :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
$crem :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
rem :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
$cdiv :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
div :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
$cmod :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
mod :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
$cquotRem :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag
-> (SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag)
quotRem :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag
-> (SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag)
$cdivMod :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag
-> (SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag)
divMod :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag
-> (SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag)
$ctoInteger :: SDL_GLContextReleaseFlag -> Integer
toInteger :: SDL_GLContextReleaseFlag -> Integer
Integral
, Ptr SDL_GLContextReleaseFlag -> IO SDL_GLContextReleaseFlag
(Ptr SDL_GLContextReleaseFlag -> IO SDL_GLContextReleaseFlag)
-> ReadRaw SDL_GLContextReleaseFlag
forall a. (Ptr a -> IO a) -> ReadRaw a
$creadRaw :: Ptr SDL_GLContextReleaseFlag -> IO SDL_GLContextReleaseFlag
readRaw :: Ptr SDL_GLContextReleaseFlag -> IO SDL_GLContextReleaseFlag
Marshal.ReadRaw
, Proxy SDL_GLContextReleaseFlag -> Int
(Proxy SDL_GLContextReleaseFlag -> Int)
-> (Proxy SDL_GLContextReleaseFlag -> Int)
-> StaticSize SDL_GLContextReleaseFlag
forall a. (Proxy a -> Int) -> (Proxy a -> Int) -> StaticSize a
$cstaticSizeOf :: Proxy SDL_GLContextReleaseFlag -> Int
staticSizeOf :: Proxy SDL_GLContextReleaseFlag -> Int
$cstaticAlignment :: Proxy SDL_GLContextReleaseFlag -> Int
staticAlignment :: Proxy SDL_GLContextReleaseFlag -> Int
Marshal.StaticSize
, Ptr SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> IO ()
(Ptr SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> IO ())
-> WriteRaw SDL_GLContextReleaseFlag
forall a. (Ptr a -> a -> IO ()) -> WriteRaw a
$cwriteRaw :: Ptr SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> IO ()
writeRaw :: Ptr SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> IO ()
Marshal.WriteRaw
, Integer -> SDL_GLContextReleaseFlag
SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
(SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag)
-> (SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag)
-> (SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag)
-> (SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag)
-> (SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag)
-> (SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag)
-> (Integer -> SDL_GLContextReleaseFlag)
-> Num SDL_GLContextReleaseFlag
forall a.
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a)
-> (a -> a)
-> (a -> a)
-> (Integer -> a)
-> Num a
$c+ :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
+ :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
$c- :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
- :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
$c* :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
* :: SDL_GLContextReleaseFlag
-> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
$cnegate :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
negate :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
$cabs :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
abs :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
$csignum :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
signum :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag
$cfromInteger :: Integer -> SDL_GLContextReleaseFlag
fromInteger :: Integer -> SDL_GLContextReleaseFlag
Num
, Num SDL_GLContextReleaseFlag
Ord SDL_GLContextReleaseFlag
(Num SDL_GLContextReleaseFlag, Ord SDL_GLContextReleaseFlag) =>
(SDL_GLContextReleaseFlag -> Rational)
-> Real SDL_GLContextReleaseFlag
SDL_GLContextReleaseFlag -> Rational
forall a. (Num a, Ord a) => (a -> Rational) -> Real a
$ctoRational :: SDL_GLContextReleaseFlag -> Rational
toRational :: SDL_GLContextReleaseFlag -> Rational
Real
)
instance
(ty ~ SDL3.Sys.Bindgen.Stdinc.Uint32)
=> BG.CompatHasField.HasField "unwrap" SDL_GLContextReleaseFlag ty
where
hasField :: SDL_GLContextReleaseFlag -> (ty -> SDL_GLContextReleaseFlag, ty)
hasField =
\SDL_GLContextReleaseFlag
x0 ->
( \ty
y1 ->
SDL_GLContextReleaseFlag{unwrap :: Uint32
unwrap = ty
Uint32
y1}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_GLContextReleaseFlag
x0
)
instance
(ty ~ SDL3.Sys.Bindgen.Stdinc.Uint32)
=> BG.HasField "unwrap" (BG.Ptr SDL_GLContextReleaseFlag) (BG.Ptr ty)
where
getField :: Ptr SDL_GLContextReleaseFlag -> Ptr ty
getField = Proxy "unwrap"
-> Ptr SDL_GLContextReleaseFlag
-> Ptr (CFieldType SDL_GLContextReleaseFlag "unwrap")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"unwrap")
instance HasCField.HasCField SDL_GLContextReleaseFlag "unwrap" where
type
CFieldType SDL_GLContextReleaseFlag "unwrap" =
SDL3.Sys.Bindgen.Stdinc.Uint32
offset# :: Proxy# SDL_GLContextReleaseFlag -> Proxy# "unwrap" -> Int
offset# = \Proxy# SDL_GLContextReleaseFlag
_ -> \Proxy# "unwrap"
_ -> Int
0
sDL_GL_CONTEXT_RELEASE_BEHAVIOR_NONE :: BG.CInt
sDL_GL_CONTEXT_RELEASE_BEHAVIOR_NONE :: CInt
sDL_GL_CONTEXT_RELEASE_BEHAVIOR_NONE = (CInt
0 :: BG.CInt)
sDL_GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH :: BG.CInt
sDL_GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH :: CInt
sDL_GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH =
(CInt
1 :: BG.CInt)
newtype SDL_GLContextResetNotification = SDL_GLContextResetNotification
{ SDL_GLContextResetNotification -> Uint32
unwrap :: SDL3.Sys.Bindgen.Stdinc.Uint32
}
deriving stock ((forall x.
SDL_GLContextResetNotification
-> Rep SDL_GLContextResetNotification x)
-> (forall x.
Rep SDL_GLContextResetNotification x
-> SDL_GLContextResetNotification)
-> Generic SDL_GLContextResetNotification
forall x.
Rep SDL_GLContextResetNotification x
-> SDL_GLContextResetNotification
forall x.
SDL_GLContextResetNotification
-> Rep SDL_GLContextResetNotification x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x.
SDL_GLContextResetNotification
-> Rep SDL_GLContextResetNotification x
from :: forall x.
SDL_GLContextResetNotification
-> Rep SDL_GLContextResetNotification x
$cto :: forall x.
Rep SDL_GLContextResetNotification x
-> SDL_GLContextResetNotification
to :: forall x.
Rep SDL_GLContextResetNotification x
-> SDL_GLContextResetNotification
BG.Generic, SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> Bool
(SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> Bool)
-> (SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> Bool)
-> Eq SDL_GLContextResetNotification
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> Bool
== :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> Bool
$c/= :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> Bool
/= :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> Bool
Eq, Eq SDL_GLContextResetNotification
Eq SDL_GLContextResetNotification =>
(SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> Ordering)
-> (SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> Bool)
-> (SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> Bool)
-> (SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> Bool)
-> (SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> Bool)
-> (SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> SDL_GLContextResetNotification)
-> (SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> SDL_GLContextResetNotification)
-> Ord SDL_GLContextResetNotification
SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> Bool
SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> Ordering
SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> SDL_GLContextResetNotification
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> Ordering
compare :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> Ordering
$c< :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> Bool
< :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> Bool
$c<= :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> Bool
<= :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> Bool
$c> :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> Bool
> :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> Bool
$c>= :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> Bool
>= :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> Bool
$cmax :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> SDL_GLContextResetNotification
max :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> SDL_GLContextResetNotification
$cmin :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> SDL_GLContextResetNotification
min :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> SDL_GLContextResetNotification
Ord, ReadPrec [SDL_GLContextResetNotification]
ReadPrec SDL_GLContextResetNotification
Int -> ReadS SDL_GLContextResetNotification
ReadS [SDL_GLContextResetNotification]
(Int -> ReadS SDL_GLContextResetNotification)
-> ReadS [SDL_GLContextResetNotification]
-> ReadPrec SDL_GLContextResetNotification
-> ReadPrec [SDL_GLContextResetNotification]
-> Read SDL_GLContextResetNotification
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
$creadsPrec :: Int -> ReadS SDL_GLContextResetNotification
readsPrec :: Int -> ReadS SDL_GLContextResetNotification
$creadList :: ReadS [SDL_GLContextResetNotification]
readList :: ReadS [SDL_GLContextResetNotification]
$creadPrec :: ReadPrec SDL_GLContextResetNotification
readPrec :: ReadPrec SDL_GLContextResetNotification
$creadListPrec :: ReadPrec [SDL_GLContextResetNotification]
readListPrec :: ReadPrec [SDL_GLContextResetNotification]
Read, Int -> SDL_GLContextResetNotification -> ShowS
[SDL_GLContextResetNotification] -> ShowS
SDL_GLContextResetNotification -> String
(Int -> SDL_GLContextResetNotification -> ShowS)
-> (SDL_GLContextResetNotification -> String)
-> ([SDL_GLContextResetNotification] -> ShowS)
-> Show SDL_GLContextResetNotification
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SDL_GLContextResetNotification -> ShowS
showsPrec :: Int -> SDL_GLContextResetNotification -> ShowS
$cshow :: SDL_GLContextResetNotification -> String
show :: SDL_GLContextResetNotification -> String
$cshowList :: [SDL_GLContextResetNotification] -> ShowS
showList :: [SDL_GLContextResetNotification] -> ShowS
Show)
deriving newtype
( Word64 -> Int -> SDL_GLContextResetNotification
SDL_GLContextResetNotification -> Int -> Word64
(SDL_GLContextResetNotification -> Int -> Word64)
-> (Word64 -> Int -> SDL_GLContextResetNotification)
-> Bitfield SDL_GLContextResetNotification
forall a.
(a -> Int -> Word64) -> (Word64 -> Int -> a) -> Bitfield a
$cnarrow :: SDL_GLContextResetNotification -> Int -> Word64
narrow :: SDL_GLContextResetNotification -> Int -> Word64
$cextend :: Word64 -> Int -> SDL_GLContextResetNotification
extend :: Word64 -> Int -> SDL_GLContextResetNotification
BG.Bitfield
, Eq SDL_GLContextResetNotification
SDL_GLContextResetNotification
Eq SDL_GLContextResetNotification =>
(SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> SDL_GLContextResetNotification)
-> (SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> SDL_GLContextResetNotification)
-> (SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> SDL_GLContextResetNotification)
-> (SDL_GLContextResetNotification
-> SDL_GLContextResetNotification)
-> (SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification)
-> (SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification)
-> SDL_GLContextResetNotification
-> (Int -> SDL_GLContextResetNotification)
-> (SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification)
-> (SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification)
-> (SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification)
-> (SDL_GLContextResetNotification -> Int -> Bool)
-> (SDL_GLContextResetNotification -> Maybe Int)
-> (SDL_GLContextResetNotification -> Int)
-> (SDL_GLContextResetNotification -> Bool)
-> (SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification)
-> (SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification)
-> (SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification)
-> (SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification)
-> (SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification)
-> (SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification)
-> (SDL_GLContextResetNotification -> Int)
-> Bits SDL_GLContextResetNotification
Int -> SDL_GLContextResetNotification
SDL_GLContextResetNotification -> Bool
SDL_GLContextResetNotification -> Int
SDL_GLContextResetNotification -> Maybe Int
SDL_GLContextResetNotification -> SDL_GLContextResetNotification
SDL_GLContextResetNotification -> Int -> Bool
SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification
SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> SDL_GLContextResetNotification
forall a.
Eq a =>
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> a
-> (Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> Bool)
-> (a -> Maybe Int)
-> (a -> Int)
-> (a -> Bool)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int)
-> Bits a
$c.&. :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> SDL_GLContextResetNotification
.&. :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> SDL_GLContextResetNotification
$c.|. :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> SDL_GLContextResetNotification
.|. :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> SDL_GLContextResetNotification
$cxor :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> SDL_GLContextResetNotification
xor :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> SDL_GLContextResetNotification
$ccomplement :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification
complement :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification
$cshift :: SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification
shift :: SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification
$crotate :: SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification
rotate :: SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification
$czeroBits :: SDL_GLContextResetNotification
zeroBits :: SDL_GLContextResetNotification
$cbit :: Int -> SDL_GLContextResetNotification
bit :: Int -> SDL_GLContextResetNotification
$csetBit :: SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification
setBit :: SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification
$cclearBit :: SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification
clearBit :: SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification
$ccomplementBit :: SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification
complementBit :: SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification
$ctestBit :: SDL_GLContextResetNotification -> Int -> Bool
testBit :: SDL_GLContextResetNotification -> Int -> Bool
$cbitSizeMaybe :: SDL_GLContextResetNotification -> Maybe Int
bitSizeMaybe :: SDL_GLContextResetNotification -> Maybe Int
$cbitSize :: SDL_GLContextResetNotification -> Int
bitSize :: SDL_GLContextResetNotification -> Int
$cisSigned :: SDL_GLContextResetNotification -> Bool
isSigned :: SDL_GLContextResetNotification -> Bool
$cshiftL :: SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification
shiftL :: SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification
$cunsafeShiftL :: SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification
unsafeShiftL :: SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification
$cshiftR :: SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification
shiftR :: SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification
$cunsafeShiftR :: SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification
unsafeShiftR :: SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification
$crotateL :: SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification
rotateL :: SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification
$crotateR :: SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification
rotateR :: SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification
$cpopCount :: SDL_GLContextResetNotification -> Int
popCount :: SDL_GLContextResetNotification -> Int
BG.Bits
, Bits SDL_GLContextResetNotification
Bits SDL_GLContextResetNotification =>
(SDL_GLContextResetNotification -> Int)
-> (SDL_GLContextResetNotification -> Int)
-> (SDL_GLContextResetNotification -> Int)
-> FiniteBits SDL_GLContextResetNotification
SDL_GLContextResetNotification -> Int
forall b.
Bits b =>
(b -> Int) -> (b -> Int) -> (b -> Int) -> FiniteBits b
$cfiniteBitSize :: SDL_GLContextResetNotification -> Int
finiteBitSize :: SDL_GLContextResetNotification -> Int
$ccountLeadingZeros :: SDL_GLContextResetNotification -> Int
countLeadingZeros :: SDL_GLContextResetNotification -> Int
$ccountTrailingZeros :: SDL_GLContextResetNotification -> Int
countTrailingZeros :: SDL_GLContextResetNotification -> Int
BG.FiniteBits
, FFIType SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
SDL_GLContextResetNotification
-> FFIType SDL_GLContextResetNotification
(SDL_GLContextResetNotification
-> FFIType SDL_GLContextResetNotification)
-> (FFIType SDL_GLContextResetNotification
-> SDL_GLContextResetNotification)
-> HasFFIType SDL_GLContextResetNotification
forall a. (a -> FFIType a) -> (FFIType a -> a) -> HasFFIType a
$ctoFFIType :: SDL_GLContextResetNotification
-> FFIType SDL_GLContextResetNotification
toFFIType :: SDL_GLContextResetNotification
-> FFIType SDL_GLContextResetNotification
$cfromFFIType :: FFIType SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
fromFFIType :: FFIType SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
BG.HasFFIType
, Ord SDL_GLContextResetNotification
Ord SDL_GLContextResetNotification =>
((SDL_GLContextResetNotification, SDL_GLContextResetNotification)
-> [SDL_GLContextResetNotification])
-> ((SDL_GLContextResetNotification,
SDL_GLContextResetNotification)
-> SDL_GLContextResetNotification -> Int)
-> ((SDL_GLContextResetNotification,
SDL_GLContextResetNotification)
-> SDL_GLContextResetNotification -> Int)
-> ((SDL_GLContextResetNotification,
SDL_GLContextResetNotification)
-> SDL_GLContextResetNotification -> Bool)
-> ((SDL_GLContextResetNotification,
SDL_GLContextResetNotification)
-> Int)
-> ((SDL_GLContextResetNotification,
SDL_GLContextResetNotification)
-> Int)
-> Ix SDL_GLContextResetNotification
(SDL_GLContextResetNotification, SDL_GLContextResetNotification)
-> Int
(SDL_GLContextResetNotification, SDL_GLContextResetNotification)
-> [SDL_GLContextResetNotification]
(SDL_GLContextResetNotification, SDL_GLContextResetNotification)
-> SDL_GLContextResetNotification -> Bool
(SDL_GLContextResetNotification, SDL_GLContextResetNotification)
-> SDL_GLContextResetNotification -> Int
forall a.
Ord a =>
((a, a) -> [a])
-> ((a, a) -> a -> Int)
-> ((a, a) -> a -> Int)
-> ((a, a) -> a -> Bool)
-> ((a, a) -> Int)
-> ((a, a) -> Int)
-> Ix a
$crange :: (SDL_GLContextResetNotification, SDL_GLContextResetNotification)
-> [SDL_GLContextResetNotification]
range :: (SDL_GLContextResetNotification, SDL_GLContextResetNotification)
-> [SDL_GLContextResetNotification]
$cindex :: (SDL_GLContextResetNotification, SDL_GLContextResetNotification)
-> SDL_GLContextResetNotification -> Int
index :: (SDL_GLContextResetNotification, SDL_GLContextResetNotification)
-> SDL_GLContextResetNotification -> Int
$cunsafeIndex :: (SDL_GLContextResetNotification, SDL_GLContextResetNotification)
-> SDL_GLContextResetNotification -> Int
unsafeIndex :: (SDL_GLContextResetNotification, SDL_GLContextResetNotification)
-> SDL_GLContextResetNotification -> Int
$cinRange :: (SDL_GLContextResetNotification, SDL_GLContextResetNotification)
-> SDL_GLContextResetNotification -> Bool
inRange :: (SDL_GLContextResetNotification, SDL_GLContextResetNotification)
-> SDL_GLContextResetNotification -> Bool
$crangeSize :: (SDL_GLContextResetNotification, SDL_GLContextResetNotification)
-> Int
rangeSize :: (SDL_GLContextResetNotification, SDL_GLContextResetNotification)
-> Int
$cunsafeRangeSize :: (SDL_GLContextResetNotification, SDL_GLContextResetNotification)
-> Int
unsafeRangeSize :: (SDL_GLContextResetNotification, SDL_GLContextResetNotification)
-> Int
BG.Ix
, Addr# -> Int# -> SDL_GLContextResetNotification
ByteArray# -> Int# -> SDL_GLContextResetNotification
Proxy SDL_GLContextResetNotification -> Int#
SDL_GLContextResetNotification -> Int#
(Proxy SDL_GLContextResetNotification -> Int#)
-> (SDL_GLContextResetNotification -> Int#)
-> (Proxy SDL_GLContextResetNotification -> Int#)
-> (SDL_GLContextResetNotification -> Int#)
-> (ByteArray# -> Int# -> SDL_GLContextResetNotification)
-> (forall s.
MutableByteArray# s
-> Int#
-> State# s
-> (# State# s, SDL_GLContextResetNotification #))
-> (forall s.
MutableByteArray# s
-> Int# -> SDL_GLContextResetNotification -> State# s -> State# s)
-> (forall s.
MutableByteArray# s
-> Int#
-> Int#
-> SDL_GLContextResetNotification
-> State# s
-> State# s)
-> (Addr# -> Int# -> SDL_GLContextResetNotification)
-> (forall s.
Addr#
-> Int#
-> State# s
-> (# State# s, SDL_GLContextResetNotification #))
-> (forall s.
Addr#
-> Int# -> SDL_GLContextResetNotification -> State# s -> State# s)
-> (forall s.
Addr#
-> Int#
-> Int#
-> SDL_GLContextResetNotification
-> State# s
-> State# s)
-> Prim SDL_GLContextResetNotification
forall s.
Addr#
-> Int#
-> Int#
-> SDL_GLContextResetNotification
-> State# s
-> State# s
forall s.
Addr#
-> Int#
-> State# s
-> (# State# s, SDL_GLContextResetNotification #)
forall s.
Addr#
-> Int# -> SDL_GLContextResetNotification -> State# s -> State# s
forall s.
MutableByteArray# s
-> Int#
-> Int#
-> SDL_GLContextResetNotification
-> State# s
-> State# s
forall s.
MutableByteArray# s
-> Int#
-> State# s
-> (# State# s, SDL_GLContextResetNotification #)
forall s.
MutableByteArray# s
-> Int# -> SDL_GLContextResetNotification -> State# s -> State# s
forall a.
(Proxy a -> Int#)
-> (a -> Int#)
-> (Proxy a -> Int#)
-> (a -> Int#)
-> (ByteArray# -> Int# -> a)
-> (forall s.
MutableByteArray# s -> Int# -> State# s -> (# State# s, a #))
-> (forall s.
MutableByteArray# s -> Int# -> a -> State# s -> State# s)
-> (forall s.
MutableByteArray# s -> Int# -> Int# -> a -> State# s -> State# s)
-> (Addr# -> Int# -> a)
-> (forall s. Addr# -> Int# -> State# s -> (# State# s, a #))
-> (forall s. Addr# -> Int# -> a -> State# s -> State# s)
-> (forall s. Addr# -> Int# -> Int# -> a -> State# s -> State# s)
-> Prim a
$csizeOfType# :: Proxy SDL_GLContextResetNotification -> Int#
sizeOfType# :: Proxy SDL_GLContextResetNotification -> Int#
$csizeOf# :: SDL_GLContextResetNotification -> Int#
sizeOf# :: SDL_GLContextResetNotification -> Int#
$calignmentOfType# :: Proxy SDL_GLContextResetNotification -> Int#
alignmentOfType# :: Proxy SDL_GLContextResetNotification -> Int#
$calignment# :: SDL_GLContextResetNotification -> Int#
alignment# :: SDL_GLContextResetNotification -> Int#
$cindexByteArray# :: ByteArray# -> Int# -> SDL_GLContextResetNotification
indexByteArray# :: ByteArray# -> Int# -> SDL_GLContextResetNotification
$creadByteArray# :: forall s.
MutableByteArray# s
-> Int#
-> State# s
-> (# State# s, SDL_GLContextResetNotification #)
readByteArray# :: forall s.
MutableByteArray# s
-> Int#
-> State# s
-> (# State# s, SDL_GLContextResetNotification #)
$cwriteByteArray# :: forall s.
MutableByteArray# s
-> Int# -> SDL_GLContextResetNotification -> State# s -> State# s
writeByteArray# :: forall s.
MutableByteArray# s
-> Int# -> SDL_GLContextResetNotification -> State# s -> State# s
$csetByteArray# :: forall s.
MutableByteArray# s
-> Int#
-> Int#
-> SDL_GLContextResetNotification
-> State# s
-> State# s
setByteArray# :: forall s.
MutableByteArray# s
-> Int#
-> Int#
-> SDL_GLContextResetNotification
-> State# s
-> State# s
$cindexOffAddr# :: Addr# -> Int# -> SDL_GLContextResetNotification
indexOffAddr# :: Addr# -> Int# -> SDL_GLContextResetNotification
$creadOffAddr# :: forall s.
Addr#
-> Int#
-> State# s
-> (# State# s, SDL_GLContextResetNotification #)
readOffAddr# :: forall s.
Addr#
-> Int#
-> State# s
-> (# State# s, SDL_GLContextResetNotification #)
$cwriteOffAddr# :: forall s.
Addr#
-> Int# -> SDL_GLContextResetNotification -> State# s -> State# s
writeOffAddr# :: forall s.
Addr#
-> Int# -> SDL_GLContextResetNotification -> State# s -> State# s
$csetOffAddr# :: forall s.
Addr#
-> Int#
-> Int#
-> SDL_GLContextResetNotification
-> State# s
-> State# s
setOffAddr# :: forall s.
Addr#
-> Int#
-> Int#
-> SDL_GLContextResetNotification
-> State# s
-> State# s
BG.Prim
, Ptr SDL_GLContextResetNotification
-> IO SDL_GLContextResetNotification
Ptr SDL_GLContextResetNotification
-> Int -> IO SDL_GLContextResetNotification
Ptr SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification -> IO ()
Ptr SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> IO ()
SDL_GLContextResetNotification -> Int
(SDL_GLContextResetNotification -> Int)
-> (SDL_GLContextResetNotification -> Int)
-> (Ptr SDL_GLContextResetNotification
-> Int -> IO SDL_GLContextResetNotification)
-> (Ptr SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification -> IO ())
-> (forall b. Ptr b -> Int -> IO SDL_GLContextResetNotification)
-> (forall b.
Ptr b -> Int -> SDL_GLContextResetNotification -> IO ())
-> (Ptr SDL_GLContextResetNotification
-> IO SDL_GLContextResetNotification)
-> (Ptr SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> IO ())
-> Storable SDL_GLContextResetNotification
forall b. Ptr b -> Int -> IO SDL_GLContextResetNotification
forall b. Ptr b -> Int -> SDL_GLContextResetNotification -> IO ()
forall a.
(a -> Int)
-> (a -> Int)
-> (Ptr a -> Int -> IO a)
-> (Ptr a -> Int -> a -> IO ())
-> (forall b. Ptr b -> Int -> IO a)
-> (forall b. Ptr b -> Int -> a -> IO ())
-> (Ptr a -> IO a)
-> (Ptr a -> a -> IO ())
-> Storable a
$csizeOf :: SDL_GLContextResetNotification -> Int
sizeOf :: SDL_GLContextResetNotification -> Int
$calignment :: SDL_GLContextResetNotification -> Int
alignment :: SDL_GLContextResetNotification -> Int
$cpeekElemOff :: Ptr SDL_GLContextResetNotification
-> Int -> IO SDL_GLContextResetNotification
peekElemOff :: Ptr SDL_GLContextResetNotification
-> Int -> IO SDL_GLContextResetNotification
$cpokeElemOff :: Ptr SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification -> IO ()
pokeElemOff :: Ptr SDL_GLContextResetNotification
-> Int -> SDL_GLContextResetNotification -> IO ()
$cpeekByteOff :: forall b. Ptr b -> Int -> IO SDL_GLContextResetNotification
peekByteOff :: forall b. Ptr b -> Int -> IO SDL_GLContextResetNotification
$cpokeByteOff :: forall b. Ptr b -> Int -> SDL_GLContextResetNotification -> IO ()
pokeByteOff :: forall b. Ptr b -> Int -> SDL_GLContextResetNotification -> IO ()
$cpeek :: Ptr SDL_GLContextResetNotification
-> IO SDL_GLContextResetNotification
peek :: Ptr SDL_GLContextResetNotification
-> IO SDL_GLContextResetNotification
$cpoke :: Ptr SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> IO ()
poke :: Ptr SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> IO ()
BG.Storable
, SDL_GLContextResetNotification
SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> Bounded SDL_GLContextResetNotification
forall a. a -> a -> Bounded a
$cminBound :: SDL_GLContextResetNotification
minBound :: SDL_GLContextResetNotification
$cmaxBound :: SDL_GLContextResetNotification
maxBound :: SDL_GLContextResetNotification
Bounded
, Int -> SDL_GLContextResetNotification
SDL_GLContextResetNotification -> Int
SDL_GLContextResetNotification -> [SDL_GLContextResetNotification]
SDL_GLContextResetNotification -> SDL_GLContextResetNotification
SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> [SDL_GLContextResetNotification]
SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> [SDL_GLContextResetNotification]
(SDL_GLContextResetNotification -> SDL_GLContextResetNotification)
-> (SDL_GLContextResetNotification
-> SDL_GLContextResetNotification)
-> (Int -> SDL_GLContextResetNotification)
-> (SDL_GLContextResetNotification -> Int)
-> (SDL_GLContextResetNotification
-> [SDL_GLContextResetNotification])
-> (SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> [SDL_GLContextResetNotification])
-> (SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> [SDL_GLContextResetNotification])
-> (SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> [SDL_GLContextResetNotification])
-> Enum SDL_GLContextResetNotification
forall a.
(a -> a)
-> (a -> a)
-> (Int -> a)
-> (a -> Int)
-> (a -> [a])
-> (a -> a -> [a])
-> (a -> a -> [a])
-> (a -> a -> a -> [a])
-> Enum a
$csucc :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification
succ :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification
$cpred :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification
pred :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification
$ctoEnum :: Int -> SDL_GLContextResetNotification
toEnum :: Int -> SDL_GLContextResetNotification
$cfromEnum :: SDL_GLContextResetNotification -> Int
fromEnum :: SDL_GLContextResetNotification -> Int
$cenumFrom :: SDL_GLContextResetNotification -> [SDL_GLContextResetNotification]
enumFrom :: SDL_GLContextResetNotification -> [SDL_GLContextResetNotification]
$cenumFromThen :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> [SDL_GLContextResetNotification]
enumFromThen :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> [SDL_GLContextResetNotification]
$cenumFromTo :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> [SDL_GLContextResetNotification]
enumFromTo :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> [SDL_GLContextResetNotification]
$cenumFromThenTo :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> [SDL_GLContextResetNotification]
enumFromThenTo :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> [SDL_GLContextResetNotification]
Enum
, Enum SDL_GLContextResetNotification
Real SDL_GLContextResetNotification
(Real SDL_GLContextResetNotification,
Enum SDL_GLContextResetNotification) =>
(SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> SDL_GLContextResetNotification)
-> (SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> SDL_GLContextResetNotification)
-> (SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> SDL_GLContextResetNotification)
-> (SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> SDL_GLContextResetNotification)
-> (SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> (SDL_GLContextResetNotification,
SDL_GLContextResetNotification))
-> (SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> (SDL_GLContextResetNotification,
SDL_GLContextResetNotification))
-> (SDL_GLContextResetNotification -> Integer)
-> Integral SDL_GLContextResetNotification
SDL_GLContextResetNotification -> Integer
SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> (SDL_GLContextResetNotification, SDL_GLContextResetNotification)
SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> SDL_GLContextResetNotification
forall a.
(Real a, Enum a) =>
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> (a, a))
-> (a -> a -> (a, a))
-> (a -> Integer)
-> Integral a
$cquot :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> SDL_GLContextResetNotification
quot :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> SDL_GLContextResetNotification
$crem :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> SDL_GLContextResetNotification
rem :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> SDL_GLContextResetNotification
$cdiv :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> SDL_GLContextResetNotification
div :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> SDL_GLContextResetNotification
$cmod :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> SDL_GLContextResetNotification
mod :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> SDL_GLContextResetNotification
$cquotRem :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> (SDL_GLContextResetNotification, SDL_GLContextResetNotification)
quotRem :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> (SDL_GLContextResetNotification, SDL_GLContextResetNotification)
$cdivMod :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> (SDL_GLContextResetNotification, SDL_GLContextResetNotification)
divMod :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> (SDL_GLContextResetNotification, SDL_GLContextResetNotification)
$ctoInteger :: SDL_GLContextResetNotification -> Integer
toInteger :: SDL_GLContextResetNotification -> Integer
Integral
, Ptr SDL_GLContextResetNotification
-> IO SDL_GLContextResetNotification
(Ptr SDL_GLContextResetNotification
-> IO SDL_GLContextResetNotification)
-> ReadRaw SDL_GLContextResetNotification
forall a. (Ptr a -> IO a) -> ReadRaw a
$creadRaw :: Ptr SDL_GLContextResetNotification
-> IO SDL_GLContextResetNotification
readRaw :: Ptr SDL_GLContextResetNotification
-> IO SDL_GLContextResetNotification
Marshal.ReadRaw
, Proxy SDL_GLContextResetNotification -> Int
(Proxy SDL_GLContextResetNotification -> Int)
-> (Proxy SDL_GLContextResetNotification -> Int)
-> StaticSize SDL_GLContextResetNotification
forall a. (Proxy a -> Int) -> (Proxy a -> Int) -> StaticSize a
$cstaticSizeOf :: Proxy SDL_GLContextResetNotification -> Int
staticSizeOf :: Proxy SDL_GLContextResetNotification -> Int
$cstaticAlignment :: Proxy SDL_GLContextResetNotification -> Int
staticAlignment :: Proxy SDL_GLContextResetNotification -> Int
Marshal.StaticSize
, Ptr SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> IO ()
(Ptr SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> IO ())
-> WriteRaw SDL_GLContextResetNotification
forall a. (Ptr a -> a -> IO ()) -> WriteRaw a
$cwriteRaw :: Ptr SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> IO ()
writeRaw :: Ptr SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> IO ()
Marshal.WriteRaw
, Integer -> SDL_GLContextResetNotification
SDL_GLContextResetNotification -> SDL_GLContextResetNotification
SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> SDL_GLContextResetNotification
(SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> SDL_GLContextResetNotification)
-> (SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> SDL_GLContextResetNotification)
-> (SDL_GLContextResetNotification
-> SDL_GLContextResetNotification
-> SDL_GLContextResetNotification)
-> (SDL_GLContextResetNotification
-> SDL_GLContextResetNotification)
-> (SDL_GLContextResetNotification
-> SDL_GLContextResetNotification)
-> (SDL_GLContextResetNotification
-> SDL_GLContextResetNotification)
-> (Integer -> SDL_GLContextResetNotification)
-> Num SDL_GLContextResetNotification
forall a.
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a)
-> (a -> a)
-> (a -> a)
-> (Integer -> a)
-> Num a
$c+ :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> SDL_GLContextResetNotification
+ :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> SDL_GLContextResetNotification
$c- :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> SDL_GLContextResetNotification
- :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> SDL_GLContextResetNotification
$c* :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> SDL_GLContextResetNotification
* :: SDL_GLContextResetNotification
-> SDL_GLContextResetNotification -> SDL_GLContextResetNotification
$cnegate :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification
negate :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification
$cabs :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification
abs :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification
$csignum :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification
signum :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification
$cfromInteger :: Integer -> SDL_GLContextResetNotification
fromInteger :: Integer -> SDL_GLContextResetNotification
Num
, Num SDL_GLContextResetNotification
Ord SDL_GLContextResetNotification
(Num SDL_GLContextResetNotification,
Ord SDL_GLContextResetNotification) =>
(SDL_GLContextResetNotification -> Rational)
-> Real SDL_GLContextResetNotification
SDL_GLContextResetNotification -> Rational
forall a. (Num a, Ord a) => (a -> Rational) -> Real a
$ctoRational :: SDL_GLContextResetNotification -> Rational
toRational :: SDL_GLContextResetNotification -> Rational
Real
)
instance
(ty ~ SDL3.Sys.Bindgen.Stdinc.Uint32)
=> BG.CompatHasField.HasField "unwrap" SDL_GLContextResetNotification ty
where
hasField :: SDL_GLContextResetNotification
-> (ty -> SDL_GLContextResetNotification, ty)
hasField =
\SDL_GLContextResetNotification
x0 ->
( \ty
y1 -> SDL_GLContextResetNotification{unwrap :: Uint32
unwrap = ty
Uint32
y1}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_GLContextResetNotification
x0
)
instance
(ty ~ SDL3.Sys.Bindgen.Stdinc.Uint32)
=> BG.HasField "unwrap" (BG.Ptr SDL_GLContextResetNotification) (BG.Ptr ty)
where
getField :: Ptr SDL_GLContextResetNotification -> Ptr ty
getField = Proxy "unwrap"
-> Ptr SDL_GLContextResetNotification
-> Ptr (CFieldType SDL_GLContextResetNotification "unwrap")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"unwrap")
instance HasCField.HasCField SDL_GLContextResetNotification "unwrap" where
type
CFieldType SDL_GLContextResetNotification "unwrap" =
SDL3.Sys.Bindgen.Stdinc.Uint32
offset# :: Proxy# SDL_GLContextResetNotification -> Proxy# "unwrap" -> Int
offset# = \Proxy# SDL_GLContextResetNotification
_ -> \Proxy# "unwrap"
_ -> Int
0
sDL_GL_CONTEXT_RESET_NO_NOTIFICATION :: BG.CInt
sDL_GL_CONTEXT_RESET_NO_NOTIFICATION :: CInt
sDL_GL_CONTEXT_RESET_NO_NOTIFICATION = (CInt
0 :: BG.CInt)
sDL_GL_CONTEXT_RESET_LOSE_CONTEXT :: BG.CInt
sDL_GL_CONTEXT_RESET_LOSE_CONTEXT :: CInt
sDL_GL_CONTEXT_RESET_LOSE_CONTEXT = (CInt
1 :: BG.CInt)
sDL_PROP_DISPLAY_HDR_ENABLED_BOOLEAN :: BG.ByteString
sDL_PROP_DISPLAY_HDR_ENABLED_BOOLEAN :: ByteString
sDL_PROP_DISPLAY_HDR_ENABLED_BOOLEAN =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x64
, Word8
0x69
, Word8
0x73
, Word8
0x70
, Word8
0x6C
, Word8
0x61
, Word8
0x79
, Word8
0x2E
, Word8
0x48
, Word8
0x44
, Word8
0x52
, Word8
0x5F
, Word8
0x65
, Word8
0x6E
, Word8
0x61
, Word8
0x62
, Word8
0x6C
, Word8
0x65
, Word8
0x64
]
sDL_PROP_DISPLAY_KMSDRM_PANEL_ORIENTATION_NUMBER :: BG.ByteString
sDL_PROP_DISPLAY_KMSDRM_PANEL_ORIENTATION_NUMBER :: ByteString
sDL_PROP_DISPLAY_KMSDRM_PANEL_ORIENTATION_NUMBER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x64
, Word8
0x69
, Word8
0x73
, Word8
0x70
, Word8
0x6C
, Word8
0x61
, Word8
0x79
, Word8
0x2E
, Word8
0x4B
, Word8
0x4D
, Word8
0x53
, Word8
0x44
, Word8
0x52
, Word8
0x4D
, Word8
0x2E
, Word8
0x70
, Word8
0x61
, Word8
0x6E
, Word8
0x65
, Word8
0x6C
, Word8
0x5F
, Word8
0x6F
, Word8
0x72
, Word8
0x69
, Word8
0x65
, Word8
0x6E
, Word8
0x74
, Word8
0x61
, Word8
0x74
, Word8
0x69
, Word8
0x6F
, Word8
0x6E
]
sDL_PROP_DISPLAY_WAYLAND_WL_OUTPUT_POINTER :: BG.ByteString
sDL_PROP_DISPLAY_WAYLAND_WL_OUTPUT_POINTER :: ByteString
sDL_PROP_DISPLAY_WAYLAND_WL_OUTPUT_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x64
, Word8
0x69
, Word8
0x73
, Word8
0x70
, Word8
0x6C
, Word8
0x61
, Word8
0x79
, Word8
0x2E
, Word8
0x77
, Word8
0x61
, Word8
0x79
, Word8
0x6C
, Word8
0x61
, Word8
0x6E
, Word8
0x64
, Word8
0x2E
, Word8
0x77
, Word8
0x6C
, Word8
0x5F
, Word8
0x6F
, Word8
0x75
, Word8
0x74
, Word8
0x70
, Word8
0x75
, Word8
0x74
]
sDL_PROP_DISPLAY_WINDOWS_HMONITOR_POINTER :: BG.ByteString
sDL_PROP_DISPLAY_WINDOWS_HMONITOR_POINTER :: ByteString
sDL_PROP_DISPLAY_WINDOWS_HMONITOR_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x64
, Word8
0x69
, Word8
0x73
, Word8
0x70
, Word8
0x6C
, Word8
0x61
, Word8
0x79
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x73
, Word8
0x2E
, Word8
0x68
, Word8
0x6D
, Word8
0x6F
, Word8
0x6E
, Word8
0x69
, Word8
0x74
, Word8
0x6F
, Word8
0x72
]
sDL_PROP_WINDOW_CREATE_ALWAYS_ON_TOP_BOOLEAN :: BG.ByteString
sDL_PROP_WINDOW_CREATE_ALWAYS_ON_TOP_BOOLEAN :: ByteString
sDL_PROP_WINDOW_CREATE_ALWAYS_ON_TOP_BOOLEAN =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x61
, Word8
0x6C
, Word8
0x77
, Word8
0x61
, Word8
0x79
, Word8
0x73
, Word8
0x5F
, Word8
0x6F
, Word8
0x6E
, Word8
0x5F
, Word8
0x74
, Word8
0x6F
, Word8
0x70
]
sDL_PROP_WINDOW_CREATE_BORDERLESS_BOOLEAN :: BG.ByteString
sDL_PROP_WINDOW_CREATE_BORDERLESS_BOOLEAN :: ByteString
sDL_PROP_WINDOW_CREATE_BORDERLESS_BOOLEAN =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x62
, Word8
0x6F
, Word8
0x72
, Word8
0x64
, Word8
0x65
, Word8
0x72
, Word8
0x6C
, Word8
0x65
, Word8
0x73
, Word8
0x73
]
sDL_PROP_WINDOW_CREATE_CONSTRAIN_POPUP_BOOLEAN :: BG.ByteString
=
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x63
, Word8
0x6F
, Word8
0x6E
, Word8
0x73
, Word8
0x74
, Word8
0x72
, Word8
0x61
, Word8
0x69
, Word8
0x6E
, Word8
0x5F
, Word8
0x70
, Word8
0x6F
, Word8
0x70
, Word8
0x75
, Word8
0x70
]
sDL_PROP_WINDOW_CREATE_FOCUSABLE_BOOLEAN :: BG.ByteString
sDL_PROP_WINDOW_CREATE_FOCUSABLE_BOOLEAN :: ByteString
sDL_PROP_WINDOW_CREATE_FOCUSABLE_BOOLEAN =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x66
, Word8
0x6F
, Word8
0x63
, Word8
0x75
, Word8
0x73
, Word8
0x61
, Word8
0x62
, Word8
0x6C
, Word8
0x65
]
sDL_PROP_WINDOW_CREATE_EXTERNAL_GRAPHICS_CONTEXT_BOOLEAN :: BG.ByteString
sDL_PROP_WINDOW_CREATE_EXTERNAL_GRAPHICS_CONTEXT_BOOLEAN :: ByteString
sDL_PROP_WINDOW_CREATE_EXTERNAL_GRAPHICS_CONTEXT_BOOLEAN =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x65
, Word8
0x78
, Word8
0x74
, Word8
0x65
, Word8
0x72
, Word8
0x6E
, Word8
0x61
, Word8
0x6C
, Word8
0x5F
, Word8
0x67
, Word8
0x72
, Word8
0x61
, Word8
0x70
, Word8
0x68
, Word8
0x69
, Word8
0x63
, Word8
0x73
, Word8
0x5F
, Word8
0x63
, Word8
0x6F
, Word8
0x6E
, Word8
0x74
, Word8
0x65
, Word8
0x78
, Word8
0x74
]
sDL_PROP_WINDOW_CREATE_FLAGS_NUMBER :: BG.ByteString
sDL_PROP_WINDOW_CREATE_FLAGS_NUMBER :: ByteString
sDL_PROP_WINDOW_CREATE_FLAGS_NUMBER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x66
, Word8
0x6C
, Word8
0x61
, Word8
0x67
, Word8
0x73
]
sDL_PROP_WINDOW_CREATE_FULLSCREEN_BOOLEAN :: BG.ByteString
sDL_PROP_WINDOW_CREATE_FULLSCREEN_BOOLEAN :: ByteString
sDL_PROP_WINDOW_CREATE_FULLSCREEN_BOOLEAN =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x66
, Word8
0x75
, Word8
0x6C
, Word8
0x6C
, Word8
0x73
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x65
, Word8
0x6E
]
sDL_PROP_WINDOW_CREATE_HEIGHT_NUMBER :: BG.ByteString
sDL_PROP_WINDOW_CREATE_HEIGHT_NUMBER :: ByteString
sDL_PROP_WINDOW_CREATE_HEIGHT_NUMBER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x68
, Word8
0x65
, Word8
0x69
, Word8
0x67
, Word8
0x68
, Word8
0x74
]
sDL_PROP_WINDOW_CREATE_HIDDEN_BOOLEAN :: BG.ByteString
sDL_PROP_WINDOW_CREATE_HIDDEN_BOOLEAN :: ByteString
sDL_PROP_WINDOW_CREATE_HIDDEN_BOOLEAN =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x68
, Word8
0x69
, Word8
0x64
, Word8
0x64
, Word8
0x65
, Word8
0x6E
]
sDL_PROP_WINDOW_CREATE_HIGH_PIXEL_DENSITY_BOOLEAN :: BG.ByteString
sDL_PROP_WINDOW_CREATE_HIGH_PIXEL_DENSITY_BOOLEAN :: ByteString
sDL_PROP_WINDOW_CREATE_HIGH_PIXEL_DENSITY_BOOLEAN =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x68
, Word8
0x69
, Word8
0x67
, Word8
0x68
, Word8
0x5F
, Word8
0x70
, Word8
0x69
, Word8
0x78
, Word8
0x65
, Word8
0x6C
, Word8
0x5F
, Word8
0x64
, Word8
0x65
, Word8
0x6E
, Word8
0x73
, Word8
0x69
, Word8
0x74
, Word8
0x79
]
sDL_PROP_WINDOW_CREATE_MAXIMIZED_BOOLEAN :: BG.ByteString
sDL_PROP_WINDOW_CREATE_MAXIMIZED_BOOLEAN :: ByteString
sDL_PROP_WINDOW_CREATE_MAXIMIZED_BOOLEAN =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x6D
, Word8
0x61
, Word8
0x78
, Word8
0x69
, Word8
0x6D
, Word8
0x69
, Word8
0x7A
, Word8
0x65
, Word8
0x64
]
sDL_PROP_WINDOW_CREATE_MENU_BOOLEAN :: BG.ByteString
=
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x6D
, Word8
0x65
, Word8
0x6E
, Word8
0x75
]
sDL_PROP_WINDOW_CREATE_METAL_BOOLEAN :: BG.ByteString
sDL_PROP_WINDOW_CREATE_METAL_BOOLEAN :: ByteString
sDL_PROP_WINDOW_CREATE_METAL_BOOLEAN =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x6D
, Word8
0x65
, Word8
0x74
, Word8
0x61
, Word8
0x6C
]
sDL_PROP_WINDOW_CREATE_MINIMIZED_BOOLEAN :: BG.ByteString
sDL_PROP_WINDOW_CREATE_MINIMIZED_BOOLEAN :: ByteString
sDL_PROP_WINDOW_CREATE_MINIMIZED_BOOLEAN =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x6D
, Word8
0x69
, Word8
0x6E
, Word8
0x69
, Word8
0x6D
, Word8
0x69
, Word8
0x7A
, Word8
0x65
, Word8
0x64
]
sDL_PROP_WINDOW_CREATE_MODAL_BOOLEAN :: BG.ByteString
sDL_PROP_WINDOW_CREATE_MODAL_BOOLEAN :: ByteString
sDL_PROP_WINDOW_CREATE_MODAL_BOOLEAN =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x6D
, Word8
0x6F
, Word8
0x64
, Word8
0x61
, Word8
0x6C
]
sDL_PROP_WINDOW_CREATE_MOUSE_GRABBED_BOOLEAN :: BG.ByteString
sDL_PROP_WINDOW_CREATE_MOUSE_GRABBED_BOOLEAN :: ByteString
sDL_PROP_WINDOW_CREATE_MOUSE_GRABBED_BOOLEAN =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x6D
, Word8
0x6F
, Word8
0x75
, Word8
0x73
, Word8
0x65
, Word8
0x5F
, Word8
0x67
, Word8
0x72
, Word8
0x61
, Word8
0x62
, Word8
0x62
, Word8
0x65
, Word8
0x64
]
sDL_PROP_WINDOW_CREATE_OPENGL_BOOLEAN :: BG.ByteString
sDL_PROP_WINDOW_CREATE_OPENGL_BOOLEAN :: ByteString
sDL_PROP_WINDOW_CREATE_OPENGL_BOOLEAN =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x6F
, Word8
0x70
, Word8
0x65
, Word8
0x6E
, Word8
0x67
, Word8
0x6C
]
sDL_PROP_WINDOW_CREATE_PARENT_POINTER :: BG.ByteString
sDL_PROP_WINDOW_CREATE_PARENT_POINTER :: ByteString
sDL_PROP_WINDOW_CREATE_PARENT_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x70
, Word8
0x61
, Word8
0x72
, Word8
0x65
, Word8
0x6E
, Word8
0x74
]
sDL_PROP_WINDOW_CREATE_RESIZABLE_BOOLEAN :: BG.ByteString
sDL_PROP_WINDOW_CREATE_RESIZABLE_BOOLEAN :: ByteString
sDL_PROP_WINDOW_CREATE_RESIZABLE_BOOLEAN =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x72
, Word8
0x65
, Word8
0x73
, Word8
0x69
, Word8
0x7A
, Word8
0x61
, Word8
0x62
, Word8
0x6C
, Word8
0x65
]
sDL_PROP_WINDOW_CREATE_TITLE_STRING :: BG.ByteString
sDL_PROP_WINDOW_CREATE_TITLE_STRING :: ByteString
sDL_PROP_WINDOW_CREATE_TITLE_STRING =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x74
, Word8
0x69
, Word8
0x74
, Word8
0x6C
, Word8
0x65
]
sDL_PROP_WINDOW_CREATE_TRANSPARENT_BOOLEAN :: BG.ByteString
sDL_PROP_WINDOW_CREATE_TRANSPARENT_BOOLEAN :: ByteString
sDL_PROP_WINDOW_CREATE_TRANSPARENT_BOOLEAN =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x74
, Word8
0x72
, Word8
0x61
, Word8
0x6E
, Word8
0x73
, Word8
0x70
, Word8
0x61
, Word8
0x72
, Word8
0x65
, Word8
0x6E
, Word8
0x74
]
sDL_PROP_WINDOW_CREATE_TOOLTIP_BOOLEAN :: BG.ByteString
sDL_PROP_WINDOW_CREATE_TOOLTIP_BOOLEAN :: ByteString
sDL_PROP_WINDOW_CREATE_TOOLTIP_BOOLEAN =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x74
, Word8
0x6F
, Word8
0x6F
, Word8
0x6C
, Word8
0x74
, Word8
0x69
, Word8
0x70
]
sDL_PROP_WINDOW_CREATE_UTILITY_BOOLEAN :: BG.ByteString
sDL_PROP_WINDOW_CREATE_UTILITY_BOOLEAN :: ByteString
sDL_PROP_WINDOW_CREATE_UTILITY_BOOLEAN =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x75
, Word8
0x74
, Word8
0x69
, Word8
0x6C
, Word8
0x69
, Word8
0x74
, Word8
0x79
]
sDL_PROP_WINDOW_CREATE_VULKAN_BOOLEAN :: BG.ByteString
sDL_PROP_WINDOW_CREATE_VULKAN_BOOLEAN :: ByteString
sDL_PROP_WINDOW_CREATE_VULKAN_BOOLEAN =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x76
, Word8
0x75
, Word8
0x6C
, Word8
0x6B
, Word8
0x61
, Word8
0x6E
]
sDL_PROP_WINDOW_CREATE_WIDTH_NUMBER :: BG.ByteString
sDL_PROP_WINDOW_CREATE_WIDTH_NUMBER :: ByteString
sDL_PROP_WINDOW_CREATE_WIDTH_NUMBER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x64
, Word8
0x74
, Word8
0x68
]
sDL_PROP_WINDOW_CREATE_X_NUMBER :: BG.ByteString
sDL_PROP_WINDOW_CREATE_X_NUMBER :: ByteString
sDL_PROP_WINDOW_CREATE_X_NUMBER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x78
]
sDL_PROP_WINDOW_CREATE_Y_NUMBER :: BG.ByteString
sDL_PROP_WINDOW_CREATE_Y_NUMBER :: ByteString
sDL_PROP_WINDOW_CREATE_Y_NUMBER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x79
]
sDL_PROP_WINDOW_CREATE_COCOA_WINDOW_POINTER :: BG.ByteString
sDL_PROP_WINDOW_CREATE_COCOA_WINDOW_POINTER :: ByteString
sDL_PROP_WINDOW_CREATE_COCOA_WINDOW_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x63
, Word8
0x6F
, Word8
0x63
, Word8
0x6F
, Word8
0x61
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
]
sDL_PROP_WINDOW_CREATE_COCOA_VIEW_POINTER :: BG.ByteString
sDL_PROP_WINDOW_CREATE_COCOA_VIEW_POINTER :: ByteString
sDL_PROP_WINDOW_CREATE_COCOA_VIEW_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x63
, Word8
0x6F
, Word8
0x63
, Word8
0x6F
, Word8
0x61
, Word8
0x2E
, Word8
0x76
, Word8
0x69
, Word8
0x65
, Word8
0x77
]
sDL_PROP_WINDOW_CREATE_WINDOWSCENE_POINTER :: BG.ByteString
sDL_PROP_WINDOW_CREATE_WINDOWSCENE_POINTER :: ByteString
sDL_PROP_WINDOW_CREATE_WINDOWSCENE_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x75
, Word8
0x69
, Word8
0x6B
, Word8
0x69
, Word8
0x74
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x73
, Word8
0x63
, Word8
0x65
, Word8
0x6E
, Word8
0x65
]
sDL_PROP_WINDOW_CREATE_WAYLAND_SURFACE_ROLE_CUSTOM_BOOLEAN :: BG.ByteString
sDL_PROP_WINDOW_CREATE_WAYLAND_SURFACE_ROLE_CUSTOM_BOOLEAN :: ByteString
sDL_PROP_WINDOW_CREATE_WAYLAND_SURFACE_ROLE_CUSTOM_BOOLEAN =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x77
, Word8
0x61
, Word8
0x79
, Word8
0x6C
, Word8
0x61
, Word8
0x6E
, Word8
0x64
, Word8
0x2E
, Word8
0x73
, Word8
0x75
, Word8
0x72
, Word8
0x66
, Word8
0x61
, Word8
0x63
, Word8
0x65
, Word8
0x5F
, Word8
0x72
, Word8
0x6F
, Word8
0x6C
, Word8
0x65
, Word8
0x5F
, Word8
0x63
, Word8
0x75
, Word8
0x73
, Word8
0x74
, Word8
0x6F
, Word8
0x6D
]
sDL_PROP_WINDOW_CREATE_WAYLAND_CREATE_EGL_WINDOW_BOOLEAN :: BG.ByteString
sDL_PROP_WINDOW_CREATE_WAYLAND_CREATE_EGL_WINDOW_BOOLEAN :: ByteString
sDL_PROP_WINDOW_CREATE_WAYLAND_CREATE_EGL_WINDOW_BOOLEAN =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x77
, Word8
0x61
, Word8
0x79
, Word8
0x6C
, Word8
0x61
, Word8
0x6E
, Word8
0x64
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x5F
, Word8
0x65
, Word8
0x67
, Word8
0x6C
, Word8
0x5F
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
]
sDL_PROP_WINDOW_CREATE_WAYLAND_WL_SURFACE_POINTER :: BG.ByteString
sDL_PROP_WINDOW_CREATE_WAYLAND_WL_SURFACE_POINTER :: ByteString
sDL_PROP_WINDOW_CREATE_WAYLAND_WL_SURFACE_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x77
, Word8
0x61
, Word8
0x79
, Word8
0x6C
, Word8
0x61
, Word8
0x6E
, Word8
0x64
, Word8
0x2E
, Word8
0x77
, Word8
0x6C
, Word8
0x5F
, Word8
0x73
, Word8
0x75
, Word8
0x72
, Word8
0x66
, Word8
0x61
, Word8
0x63
, Word8
0x65
]
sDL_PROP_WINDOW_CREATE_WIN32_HWND_POINTER :: BG.ByteString
sDL_PROP_WINDOW_CREATE_WIN32_HWND_POINTER :: ByteString
sDL_PROP_WINDOW_CREATE_WIN32_HWND_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x33
, Word8
0x32
, Word8
0x2E
, Word8
0x68
, Word8
0x77
, Word8
0x6E
, Word8
0x64
]
sDL_PROP_WINDOW_CREATE_WIN32_PIXEL_FORMAT_HWND_POINTER :: BG.ByteString
sDL_PROP_WINDOW_CREATE_WIN32_PIXEL_FORMAT_HWND_POINTER :: ByteString
sDL_PROP_WINDOW_CREATE_WIN32_PIXEL_FORMAT_HWND_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x33
, Word8
0x32
, Word8
0x2E
, Word8
0x70
, Word8
0x69
, Word8
0x78
, Word8
0x65
, Word8
0x6C
, Word8
0x5F
, Word8
0x66
, Word8
0x6F
, Word8
0x72
, Word8
0x6D
, Word8
0x61
, Word8
0x74
, Word8
0x5F
, Word8
0x68
, Word8
0x77
, Word8
0x6E
, Word8
0x64
]
sDL_PROP_WINDOW_CREATE_X11_WINDOW_NUMBER :: BG.ByteString
sDL_PROP_WINDOW_CREATE_X11_WINDOW_NUMBER :: ByteString
sDL_PROP_WINDOW_CREATE_X11_WINDOW_NUMBER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x78
, Word8
0x31
, Word8
0x31
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
]
sDL_PROP_WINDOW_CREATE_EMSCRIPTEN_CANVAS_ID_STRING :: BG.ByteString
sDL_PROP_WINDOW_CREATE_EMSCRIPTEN_CANVAS_ID_STRING :: ByteString
sDL_PROP_WINDOW_CREATE_EMSCRIPTEN_CANVAS_ID_STRING =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x65
, Word8
0x6D
, Word8
0x73
, Word8
0x63
, Word8
0x72
, Word8
0x69
, Word8
0x70
, Word8
0x74
, Word8
0x65
, Word8
0x6E
, Word8
0x2E
, Word8
0x63
, Word8
0x61
, Word8
0x6E
, Word8
0x76
, Word8
0x61
, Word8
0x73
, Word8
0x5F
, Word8
0x69
, Word8
0x64
]
sDL_PROP_WINDOW_CREATE_EMSCRIPTEN_KEYBOARD_ELEMENT_STRING :: BG.ByteString
sDL_PROP_WINDOW_CREATE_EMSCRIPTEN_KEYBOARD_ELEMENT_STRING :: ByteString
sDL_PROP_WINDOW_CREATE_EMSCRIPTEN_KEYBOARD_ELEMENT_STRING =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x61
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x65
, Word8
0x6D
, Word8
0x73
, Word8
0x63
, Word8
0x72
, Word8
0x69
, Word8
0x70
, Word8
0x74
, Word8
0x65
, Word8
0x6E
, Word8
0x2E
, Word8
0x6B
, Word8
0x65
, Word8
0x79
, Word8
0x62
, Word8
0x6F
, Word8
0x61
, Word8
0x72
, Word8
0x64
, Word8
0x5F
, Word8
0x65
, Word8
0x6C
, Word8
0x65
, Word8
0x6D
, Word8
0x65
, Word8
0x6E
, Word8
0x74
]
sDL_PROP_WINDOW_SHAPE_POINTER :: BG.ByteString
sDL_PROP_WINDOW_SHAPE_POINTER :: ByteString
sDL_PROP_WINDOW_SHAPE_POINTER =
[Word8] -> ByteString
BG.pack
[Word8
0x53, Word8
0x44, Word8
0x4C, Word8
0x2E, Word8
0x77, Word8
0x69, Word8
0x6E, Word8
0x64, Word8
0x6F, Word8
0x77, Word8
0x2E, Word8
0x73, Word8
0x68, Word8
0x61, Word8
0x70, Word8
0x65]
sDL_PROP_WINDOW_HDR_ENABLED_BOOLEAN :: BG.ByteString
sDL_PROP_WINDOW_HDR_ENABLED_BOOLEAN :: ByteString
sDL_PROP_WINDOW_HDR_ENABLED_BOOLEAN =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x48
, Word8
0x44
, Word8
0x52
, Word8
0x5F
, Word8
0x65
, Word8
0x6E
, Word8
0x61
, Word8
0x62
, Word8
0x6C
, Word8
0x65
, Word8
0x64
]
sDL_PROP_WINDOW_SDR_WHITE_LEVEL_FLOAT :: BG.ByteString
sDL_PROP_WINDOW_SDR_WHITE_LEVEL_FLOAT :: ByteString
sDL_PROP_WINDOW_SDR_WHITE_LEVEL_FLOAT =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x53
, Word8
0x44
, Word8
0x52
, Word8
0x5F
, Word8
0x77
, Word8
0x68
, Word8
0x69
, Word8
0x74
, Word8
0x65
, Word8
0x5F
, Word8
0x6C
, Word8
0x65
, Word8
0x76
, Word8
0x65
, Word8
0x6C
]
sDL_PROP_WINDOW_HDR_HEADROOM_FLOAT :: BG.ByteString
sDL_PROP_WINDOW_HDR_HEADROOM_FLOAT :: ByteString
sDL_PROP_WINDOW_HDR_HEADROOM_FLOAT =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x48
, Word8
0x44
, Word8
0x52
, Word8
0x5F
, Word8
0x68
, Word8
0x65
, Word8
0x61
, Word8
0x64
, Word8
0x72
, Word8
0x6F
, Word8
0x6F
, Word8
0x6D
]
sDL_PROP_WINDOW_ANDROID_WINDOW_POINTER :: BG.ByteString
sDL_PROP_WINDOW_ANDROID_WINDOW_POINTER :: ByteString
sDL_PROP_WINDOW_ANDROID_WINDOW_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x61
, Word8
0x6E
, Word8
0x64
, Word8
0x72
, Word8
0x6F
, Word8
0x69
, Word8
0x64
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
]
sDL_PROP_WINDOW_ANDROID_SURFACE_POINTER :: BG.ByteString
sDL_PROP_WINDOW_ANDROID_SURFACE_POINTER :: ByteString
sDL_PROP_WINDOW_ANDROID_SURFACE_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x61
, Word8
0x6E
, Word8
0x64
, Word8
0x72
, Word8
0x6F
, Word8
0x69
, Word8
0x64
, Word8
0x2E
, Word8
0x73
, Word8
0x75
, Word8
0x72
, Word8
0x66
, Word8
0x61
, Word8
0x63
, Word8
0x65
]
sDL_PROP_WINDOW_UIKIT_WINDOW_POINTER :: BG.ByteString
sDL_PROP_WINDOW_UIKIT_WINDOW_POINTER :: ByteString
sDL_PROP_WINDOW_UIKIT_WINDOW_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x75
, Word8
0x69
, Word8
0x6B
, Word8
0x69
, Word8
0x74
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
]
sDL_PROP_WINDOW_UIKIT_METAL_VIEW_TAG_NUMBER :: BG.ByteString
sDL_PROP_WINDOW_UIKIT_METAL_VIEW_TAG_NUMBER :: ByteString
sDL_PROP_WINDOW_UIKIT_METAL_VIEW_TAG_NUMBER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x75
, Word8
0x69
, Word8
0x6B
, Word8
0x69
, Word8
0x74
, Word8
0x2E
, Word8
0x6D
, Word8
0x65
, Word8
0x74
, Word8
0x61
, Word8
0x6C
, Word8
0x5F
, Word8
0x76
, Word8
0x69
, Word8
0x65
, Word8
0x77
, Word8
0x5F
, Word8
0x74
, Word8
0x61
, Word8
0x67
]
sDL_PROP_WINDOW_UIKIT_OPENGL_FRAMEBUFFER_NUMBER :: BG.ByteString
sDL_PROP_WINDOW_UIKIT_OPENGL_FRAMEBUFFER_NUMBER :: ByteString
sDL_PROP_WINDOW_UIKIT_OPENGL_FRAMEBUFFER_NUMBER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x75
, Word8
0x69
, Word8
0x6B
, Word8
0x69
, Word8
0x74
, Word8
0x2E
, Word8
0x6F
, Word8
0x70
, Word8
0x65
, Word8
0x6E
, Word8
0x67
, Word8
0x6C
, Word8
0x2E
, Word8
0x66
, Word8
0x72
, Word8
0x61
, Word8
0x6D
, Word8
0x65
, Word8
0x62
, Word8
0x75
, Word8
0x66
, Word8
0x66
, Word8
0x65
, Word8
0x72
]
sDL_PROP_WINDOW_UIKIT_OPENGL_RENDERBUFFER_NUMBER :: BG.ByteString
sDL_PROP_WINDOW_UIKIT_OPENGL_RENDERBUFFER_NUMBER :: ByteString
sDL_PROP_WINDOW_UIKIT_OPENGL_RENDERBUFFER_NUMBER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x75
, Word8
0x69
, Word8
0x6B
, Word8
0x69
, Word8
0x74
, Word8
0x2E
, Word8
0x6F
, Word8
0x70
, Word8
0x65
, Word8
0x6E
, Word8
0x67
, Word8
0x6C
, Word8
0x2E
, Word8
0x72
, Word8
0x65
, Word8
0x6E
, Word8
0x64
, Word8
0x65
, Word8
0x72
, Word8
0x62
, Word8
0x75
, Word8
0x66
, Word8
0x66
, Word8
0x65
, Word8
0x72
]
sDL_PROP_WINDOW_UIKIT_OPENGL_RESOLVE_FRAMEBUFFER_NUMBER :: BG.ByteString
sDL_PROP_WINDOW_UIKIT_OPENGL_RESOLVE_FRAMEBUFFER_NUMBER :: ByteString
sDL_PROP_WINDOW_UIKIT_OPENGL_RESOLVE_FRAMEBUFFER_NUMBER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x75
, Word8
0x69
, Word8
0x6B
, Word8
0x69
, Word8
0x74
, Word8
0x2E
, Word8
0x6F
, Word8
0x70
, Word8
0x65
, Word8
0x6E
, Word8
0x67
, Word8
0x6C
, Word8
0x2E
, Word8
0x72
, Word8
0x65
, Word8
0x73
, Word8
0x6F
, Word8
0x6C
, Word8
0x76
, Word8
0x65
, Word8
0x5F
, Word8
0x66
, Word8
0x72
, Word8
0x61
, Word8
0x6D
, Word8
0x65
, Word8
0x62
, Word8
0x75
, Word8
0x66
, Word8
0x66
, Word8
0x65
, Word8
0x72
]
sDL_PROP_WINDOW_KMSDRM_DEVICE_INDEX_NUMBER :: BG.ByteString
sDL_PROP_WINDOW_KMSDRM_DEVICE_INDEX_NUMBER :: ByteString
sDL_PROP_WINDOW_KMSDRM_DEVICE_INDEX_NUMBER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x6B
, Word8
0x6D
, Word8
0x73
, Word8
0x64
, Word8
0x72
, Word8
0x6D
, Word8
0x2E
, Word8
0x64
, Word8
0x65
, Word8
0x76
, Word8
0x5F
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x65
, Word8
0x78
]
sDL_PROP_WINDOW_KMSDRM_DRM_FD_NUMBER :: BG.ByteString
sDL_PROP_WINDOW_KMSDRM_DRM_FD_NUMBER :: ByteString
sDL_PROP_WINDOW_KMSDRM_DRM_FD_NUMBER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x6B
, Word8
0x6D
, Word8
0x73
, Word8
0x64
, Word8
0x72
, Word8
0x6D
, Word8
0x2E
, Word8
0x64
, Word8
0x72
, Word8
0x6D
, Word8
0x5F
, Word8
0x66
, Word8
0x64
]
sDL_PROP_WINDOW_KMSDRM_GBM_DEVICE_POINTER :: BG.ByteString
sDL_PROP_WINDOW_KMSDRM_GBM_DEVICE_POINTER :: ByteString
sDL_PROP_WINDOW_KMSDRM_GBM_DEVICE_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x6B
, Word8
0x6D
, Word8
0x73
, Word8
0x64
, Word8
0x72
, Word8
0x6D
, Word8
0x2E
, Word8
0x67
, Word8
0x62
, Word8
0x6D
, Word8
0x5F
, Word8
0x64
, Word8
0x65
, Word8
0x76
]
sDL_PROP_WINDOW_COCOA_WINDOW_POINTER :: BG.ByteString
sDL_PROP_WINDOW_COCOA_WINDOW_POINTER :: ByteString
sDL_PROP_WINDOW_COCOA_WINDOW_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x6F
, Word8
0x63
, Word8
0x6F
, Word8
0x61
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
]
sDL_PROP_WINDOW_COCOA_METAL_VIEW_TAG_NUMBER :: BG.ByteString
sDL_PROP_WINDOW_COCOA_METAL_VIEW_TAG_NUMBER :: ByteString
sDL_PROP_WINDOW_COCOA_METAL_VIEW_TAG_NUMBER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x63
, Word8
0x6F
, Word8
0x63
, Word8
0x6F
, Word8
0x61
, Word8
0x2E
, Word8
0x6D
, Word8
0x65
, Word8
0x74
, Word8
0x61
, Word8
0x6C
, Word8
0x5F
, Word8
0x76
, Word8
0x69
, Word8
0x65
, Word8
0x77
, Word8
0x5F
, Word8
0x74
, Word8
0x61
, Word8
0x67
]
sDL_PROP_WINDOW_OPENVR_OVERLAY_ID_NUMBER :: BG.ByteString
sDL_PROP_WINDOW_OPENVR_OVERLAY_ID_NUMBER :: ByteString
sDL_PROP_WINDOW_OPENVR_OVERLAY_ID_NUMBER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x6F
, Word8
0x70
, Word8
0x65
, Word8
0x6E
, Word8
0x76
, Word8
0x72
, Word8
0x2E
, Word8
0x6F
, Word8
0x76
, Word8
0x65
, Word8
0x72
, Word8
0x6C
, Word8
0x61
, Word8
0x79
, Word8
0x5F
, Word8
0x69
, Word8
0x64
]
sDL_PROP_WINDOW_VIVANTE_DISPLAY_POINTER :: BG.ByteString
sDL_PROP_WINDOW_VIVANTE_DISPLAY_POINTER :: ByteString
sDL_PROP_WINDOW_VIVANTE_DISPLAY_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x76
, Word8
0x69
, Word8
0x76
, Word8
0x61
, Word8
0x6E
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x64
, Word8
0x69
, Word8
0x73
, Word8
0x70
, Word8
0x6C
, Word8
0x61
, Word8
0x79
]
sDL_PROP_WINDOW_VIVANTE_WINDOW_POINTER :: BG.ByteString
sDL_PROP_WINDOW_VIVANTE_WINDOW_POINTER :: ByteString
sDL_PROP_WINDOW_VIVANTE_WINDOW_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x76
, Word8
0x69
, Word8
0x76
, Word8
0x61
, Word8
0x6E
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
]
sDL_PROP_WINDOW_VIVANTE_SURFACE_POINTER :: BG.ByteString
sDL_PROP_WINDOW_VIVANTE_SURFACE_POINTER :: ByteString
sDL_PROP_WINDOW_VIVANTE_SURFACE_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x76
, Word8
0x69
, Word8
0x76
, Word8
0x61
, Word8
0x6E
, Word8
0x74
, Word8
0x65
, Word8
0x2E
, Word8
0x73
, Word8
0x75
, Word8
0x72
, Word8
0x66
, Word8
0x61
, Word8
0x63
, Word8
0x65
]
sDL_PROP_WINDOW_WIN32_HWND_POINTER :: BG.ByteString
sDL_PROP_WINDOW_WIN32_HWND_POINTER :: ByteString
sDL_PROP_WINDOW_WIN32_HWND_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x33
, Word8
0x32
, Word8
0x2E
, Word8
0x68
, Word8
0x77
, Word8
0x6E
, Word8
0x64
]
sDL_PROP_WINDOW_WIN32_HDC_POINTER :: BG.ByteString
sDL_PROP_WINDOW_WIN32_HDC_POINTER :: ByteString
sDL_PROP_WINDOW_WIN32_HDC_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x33
, Word8
0x32
, Word8
0x2E
, Word8
0x68
, Word8
0x64
, Word8
0x63
]
sDL_PROP_WINDOW_WIN32_INSTANCE_POINTER :: BG.ByteString
sDL_PROP_WINDOW_WIN32_INSTANCE_POINTER :: ByteString
sDL_PROP_WINDOW_WIN32_INSTANCE_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x33
, Word8
0x32
, Word8
0x2E
, Word8
0x69
, Word8
0x6E
, Word8
0x73
, Word8
0x74
, Word8
0x61
, Word8
0x6E
, Word8
0x63
, Word8
0x65
]
sDL_PROP_WINDOW_WAYLAND_DISPLAY_POINTER :: BG.ByteString
sDL_PROP_WINDOW_WAYLAND_DISPLAY_POINTER :: ByteString
sDL_PROP_WINDOW_WAYLAND_DISPLAY_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x77
, Word8
0x61
, Word8
0x79
, Word8
0x6C
, Word8
0x61
, Word8
0x6E
, Word8
0x64
, Word8
0x2E
, Word8
0x64
, Word8
0x69
, Word8
0x73
, Word8
0x70
, Word8
0x6C
, Word8
0x61
, Word8
0x79
]
sDL_PROP_WINDOW_WAYLAND_SURFACE_POINTER :: BG.ByteString
sDL_PROP_WINDOW_WAYLAND_SURFACE_POINTER :: ByteString
sDL_PROP_WINDOW_WAYLAND_SURFACE_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x77
, Word8
0x61
, Word8
0x79
, Word8
0x6C
, Word8
0x61
, Word8
0x6E
, Word8
0x64
, Word8
0x2E
, Word8
0x73
, Word8
0x75
, Word8
0x72
, Word8
0x66
, Word8
0x61
, Word8
0x63
, Word8
0x65
]
sDL_PROP_WINDOW_WAYLAND_VIEWPORT_POINTER :: BG.ByteString
sDL_PROP_WINDOW_WAYLAND_VIEWPORT_POINTER :: ByteString
sDL_PROP_WINDOW_WAYLAND_VIEWPORT_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x77
, Word8
0x61
, Word8
0x79
, Word8
0x6C
, Word8
0x61
, Word8
0x6E
, Word8
0x64
, Word8
0x2E
, Word8
0x76
, Word8
0x69
, Word8
0x65
, Word8
0x77
, Word8
0x70
, Word8
0x6F
, Word8
0x72
, Word8
0x74
]
sDL_PROP_WINDOW_WAYLAND_EGL_WINDOW_POINTER :: BG.ByteString
sDL_PROP_WINDOW_WAYLAND_EGL_WINDOW_POINTER :: ByteString
sDL_PROP_WINDOW_WAYLAND_EGL_WINDOW_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x77
, Word8
0x61
, Word8
0x79
, Word8
0x6C
, Word8
0x61
, Word8
0x6E
, Word8
0x64
, Word8
0x2E
, Word8
0x65
, Word8
0x67
, Word8
0x6C
, Word8
0x5F
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
]
sDL_PROP_WINDOW_WAYLAND_XDG_SURFACE_POINTER :: BG.ByteString
sDL_PROP_WINDOW_WAYLAND_XDG_SURFACE_POINTER :: ByteString
sDL_PROP_WINDOW_WAYLAND_XDG_SURFACE_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x77
, Word8
0x61
, Word8
0x79
, Word8
0x6C
, Word8
0x61
, Word8
0x6E
, Word8
0x64
, Word8
0x2E
, Word8
0x78
, Word8
0x64
, Word8
0x67
, Word8
0x5F
, Word8
0x73
, Word8
0x75
, Word8
0x72
, Word8
0x66
, Word8
0x61
, Word8
0x63
, Word8
0x65
]
sDL_PROP_WINDOW_WAYLAND_XDG_TOPLEVEL_POINTER :: BG.ByteString
sDL_PROP_WINDOW_WAYLAND_XDG_TOPLEVEL_POINTER :: ByteString
sDL_PROP_WINDOW_WAYLAND_XDG_TOPLEVEL_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x77
, Word8
0x61
, Word8
0x79
, Word8
0x6C
, Word8
0x61
, Word8
0x6E
, Word8
0x64
, Word8
0x2E
, Word8
0x78
, Word8
0x64
, Word8
0x67
, Word8
0x5F
, Word8
0x74
, Word8
0x6F
, Word8
0x70
, Word8
0x6C
, Word8
0x65
, Word8
0x76
, Word8
0x65
, Word8
0x6C
]
sDL_PROP_WINDOW_WAYLAND_XDG_TOPLEVEL_EXPORT_HANDLE_STRING :: BG.ByteString
sDL_PROP_WINDOW_WAYLAND_XDG_TOPLEVEL_EXPORT_HANDLE_STRING :: ByteString
sDL_PROP_WINDOW_WAYLAND_XDG_TOPLEVEL_EXPORT_HANDLE_STRING =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x77
, Word8
0x61
, Word8
0x79
, Word8
0x6C
, Word8
0x61
, Word8
0x6E
, Word8
0x64
, Word8
0x2E
, Word8
0x78
, Word8
0x64
, Word8
0x67
, Word8
0x5F
, Word8
0x74
, Word8
0x6F
, Word8
0x70
, Word8
0x6C
, Word8
0x65
, Word8
0x76
, Word8
0x65
, Word8
0x6C
, Word8
0x5F
, Word8
0x65
, Word8
0x78
, Word8
0x70
, Word8
0x6F
, Word8
0x72
, Word8
0x74
, Word8
0x5F
, Word8
0x68
, Word8
0x61
, Word8
0x6E
, Word8
0x64
, Word8
0x6C
, Word8
0x65
]
sDL_PROP_WINDOW_WAYLAND_XDG_POPUP_POINTER :: BG.ByteString
sDL_PROP_WINDOW_WAYLAND_XDG_POPUP_POINTER :: ByteString
sDL_PROP_WINDOW_WAYLAND_XDG_POPUP_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x77
, Word8
0x61
, Word8
0x79
, Word8
0x6C
, Word8
0x61
, Word8
0x6E
, Word8
0x64
, Word8
0x2E
, Word8
0x78
, Word8
0x64
, Word8
0x67
, Word8
0x5F
, Word8
0x70
, Word8
0x6F
, Word8
0x70
, Word8
0x75
, Word8
0x70
]
sDL_PROP_WINDOW_WAYLAND_XDG_POSITIONER_POINTER :: BG.ByteString
sDL_PROP_WINDOW_WAYLAND_XDG_POSITIONER_POINTER :: ByteString
sDL_PROP_WINDOW_WAYLAND_XDG_POSITIONER_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x77
, Word8
0x61
, Word8
0x79
, Word8
0x6C
, Word8
0x61
, Word8
0x6E
, Word8
0x64
, Word8
0x2E
, Word8
0x78
, Word8
0x64
, Word8
0x67
, Word8
0x5F
, Word8
0x70
, Word8
0x6F
, Word8
0x73
, Word8
0x69
, Word8
0x74
, Word8
0x69
, Word8
0x6F
, Word8
0x6E
, Word8
0x65
, Word8
0x72
]
sDL_PROP_WINDOW_X11_DISPLAY_POINTER :: BG.ByteString
sDL_PROP_WINDOW_X11_DISPLAY_POINTER :: ByteString
sDL_PROP_WINDOW_X11_DISPLAY_POINTER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x78
, Word8
0x31
, Word8
0x31
, Word8
0x2E
, Word8
0x64
, Word8
0x69
, Word8
0x73
, Word8
0x70
, Word8
0x6C
, Word8
0x61
, Word8
0x79
]
sDL_PROP_WINDOW_X11_SCREEN_NUMBER :: BG.ByteString
sDL_PROP_WINDOW_X11_SCREEN_NUMBER :: ByteString
sDL_PROP_WINDOW_X11_SCREEN_NUMBER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x78
, Word8
0x31
, Word8
0x31
, Word8
0x2E
, Word8
0x73
, Word8
0x63
, Word8
0x72
, Word8
0x65
, Word8
0x65
, Word8
0x6E
]
sDL_PROP_WINDOW_X11_WINDOW_NUMBER :: BG.ByteString
sDL_PROP_WINDOW_X11_WINDOW_NUMBER :: ByteString
sDL_PROP_WINDOW_X11_WINDOW_NUMBER =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x78
, Word8
0x31
, Word8
0x31
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
]
sDL_PROP_WINDOW_EMSCRIPTEN_CANVAS_ID_STRING :: BG.ByteString
sDL_PROP_WINDOW_EMSCRIPTEN_CANVAS_ID_STRING :: ByteString
sDL_PROP_WINDOW_EMSCRIPTEN_CANVAS_ID_STRING =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x65
, Word8
0x6D
, Word8
0x73
, Word8
0x63
, Word8
0x72
, Word8
0x69
, Word8
0x70
, Word8
0x74
, Word8
0x65
, Word8
0x6E
, Word8
0x2E
, Word8
0x63
, Word8
0x61
, Word8
0x6E
, Word8
0x76
, Word8
0x61
, Word8
0x73
, Word8
0x5F
, Word8
0x69
, Word8
0x64
]
sDL_PROP_WINDOW_EMSCRIPTEN_KEYBOARD_ELEMENT_STRING :: BG.ByteString
sDL_PROP_WINDOW_EMSCRIPTEN_KEYBOARD_ELEMENT_STRING :: ByteString
sDL_PROP_WINDOW_EMSCRIPTEN_KEYBOARD_ELEMENT_STRING =
[Word8] -> ByteString
BG.pack
[ Word8
0x53
, Word8
0x44
, Word8
0x4C
, Word8
0x2E
, Word8
0x77
, Word8
0x69
, Word8
0x6E
, Word8
0x64
, Word8
0x6F
, Word8
0x77
, Word8
0x2E
, Word8
0x65
, Word8
0x6D
, Word8
0x73
, Word8
0x63
, Word8
0x72
, Word8
0x69
, Word8
0x70
, Word8
0x74
, Word8
0x65
, Word8
0x6E
, Word8
0x2E
, Word8
0x6B
, Word8
0x65
, Word8
0x79
, Word8
0x62
, Word8
0x6F
, Word8
0x61
, Word8
0x72
, Word8
0x64
, Word8
0x5F
, Word8
0x65
, Word8
0x6C
, Word8
0x65
, Word8
0x6D
, Word8
0x65
, Word8
0x6E
, Word8
0x74
]
sDL_WINDOW_SURFACE_VSYNC_DISABLED :: BG.CInt
sDL_WINDOW_SURFACE_VSYNC_DISABLED :: CInt
sDL_WINDOW_SURFACE_VSYNC_DISABLED = (CInt
0 :: BG.CInt)
sDL_WINDOW_SURFACE_VSYNC_ADAPTIVE :: BG.CInt
sDL_WINDOW_SURFACE_VSYNC_ADAPTIVE :: CInt
sDL_WINDOW_SURFACE_VSYNC_ADAPTIVE =
CInt -> MinusRes CInt
forall a. Minus a => a -> MinusRes a
C.Expr.HostPlatform.negate (CInt
1 :: BG.CInt)
newtype SDL_HitTestResult = SDL_HitTestResult
{ SDL_HitTestResult -> CUInt
unwrap :: BG.CUInt
}
deriving stock ((forall x. SDL_HitTestResult -> Rep SDL_HitTestResult x)
-> (forall x. Rep SDL_HitTestResult x -> SDL_HitTestResult)
-> Generic SDL_HitTestResult
forall x. Rep SDL_HitTestResult x -> SDL_HitTestResult
forall x. SDL_HitTestResult -> Rep SDL_HitTestResult x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. SDL_HitTestResult -> Rep SDL_HitTestResult x
from :: forall x. SDL_HitTestResult -> Rep SDL_HitTestResult x
$cto :: forall x. Rep SDL_HitTestResult x -> SDL_HitTestResult
to :: forall x. Rep SDL_HitTestResult x -> SDL_HitTestResult
BG.Generic, SDL_HitTestResult -> SDL_HitTestResult -> Bool
(SDL_HitTestResult -> SDL_HitTestResult -> Bool)
-> (SDL_HitTestResult -> SDL_HitTestResult -> Bool)
-> Eq SDL_HitTestResult
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SDL_HitTestResult -> SDL_HitTestResult -> Bool
== :: SDL_HitTestResult -> SDL_HitTestResult -> Bool
$c/= :: SDL_HitTestResult -> SDL_HitTestResult -> Bool
/= :: SDL_HitTestResult -> SDL_HitTestResult -> Bool
Eq, Eq SDL_HitTestResult
Eq SDL_HitTestResult =>
(SDL_HitTestResult -> SDL_HitTestResult -> Ordering)
-> (SDL_HitTestResult -> SDL_HitTestResult -> Bool)
-> (SDL_HitTestResult -> SDL_HitTestResult -> Bool)
-> (SDL_HitTestResult -> SDL_HitTestResult -> Bool)
-> (SDL_HitTestResult -> SDL_HitTestResult -> Bool)
-> (SDL_HitTestResult -> SDL_HitTestResult -> SDL_HitTestResult)
-> (SDL_HitTestResult -> SDL_HitTestResult -> SDL_HitTestResult)
-> Ord SDL_HitTestResult
SDL_HitTestResult -> SDL_HitTestResult -> Bool
SDL_HitTestResult -> SDL_HitTestResult -> Ordering
SDL_HitTestResult -> SDL_HitTestResult -> SDL_HitTestResult
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: SDL_HitTestResult -> SDL_HitTestResult -> Ordering
compare :: SDL_HitTestResult -> SDL_HitTestResult -> Ordering
$c< :: SDL_HitTestResult -> SDL_HitTestResult -> Bool
< :: SDL_HitTestResult -> SDL_HitTestResult -> Bool
$c<= :: SDL_HitTestResult -> SDL_HitTestResult -> Bool
<= :: SDL_HitTestResult -> SDL_HitTestResult -> Bool
$c> :: SDL_HitTestResult -> SDL_HitTestResult -> Bool
> :: SDL_HitTestResult -> SDL_HitTestResult -> Bool
$c>= :: SDL_HitTestResult -> SDL_HitTestResult -> Bool
>= :: SDL_HitTestResult -> SDL_HitTestResult -> Bool
$cmax :: SDL_HitTestResult -> SDL_HitTestResult -> SDL_HitTestResult
max :: SDL_HitTestResult -> SDL_HitTestResult -> SDL_HitTestResult
$cmin :: SDL_HitTestResult -> SDL_HitTestResult -> SDL_HitTestResult
min :: SDL_HitTestResult -> SDL_HitTestResult -> SDL_HitTestResult
Ord)
deriving newtype (FFIType SDL_HitTestResult -> SDL_HitTestResult
SDL_HitTestResult -> FFIType SDL_HitTestResult
(SDL_HitTestResult -> FFIType SDL_HitTestResult)
-> (FFIType SDL_HitTestResult -> SDL_HitTestResult)
-> HasFFIType SDL_HitTestResult
forall a. (a -> FFIType a) -> (FFIType a -> a) -> HasFFIType a
$ctoFFIType :: SDL_HitTestResult -> FFIType SDL_HitTestResult
toFFIType :: SDL_HitTestResult -> FFIType SDL_HitTestResult
$cfromFFIType :: FFIType SDL_HitTestResult -> SDL_HitTestResult
fromFFIType :: FFIType SDL_HitTestResult -> SDL_HitTestResult
BG.HasFFIType)
instance Marshal.StaticSize SDL_HitTestResult where
staticSizeOf :: Proxy SDL_HitTestResult -> Int
staticSizeOf = \Proxy SDL_HitTestResult
_ -> (Int
4 :: Int)
staticAlignment :: Proxy SDL_HitTestResult -> Int
staticAlignment = \Proxy SDL_HitTestResult
_ -> (Int
4 :: Int)
instance Marshal.ReadRaw SDL_HitTestResult where
readRaw :: Ptr SDL_HitTestResult -> IO SDL_HitTestResult
readRaw =
\Ptr SDL_HitTestResult
ptr0 ->
(CUInt -> SDL_HitTestResult) -> IO (CUInt -> SDL_HitTestResult)
forall a. a -> IO a
forall (f :: * -> *) a. Applicative f => a -> f a
pure CUInt -> SDL_HitTestResult
SDL_HitTestResult
IO (CUInt -> SDL_HitTestResult) -> IO CUInt -> IO SDL_HitTestResult
forall a b. IO (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
<*> Ptr SDL_HitTestResult -> Int -> IO CUInt
forall a b. ReadRaw a => Ptr b -> Int -> IO a
Marshal.readRawByteOff Ptr SDL_HitTestResult
ptr0 (Int
0 :: Int)
instance Marshal.WriteRaw SDL_HitTestResult where
writeRaw :: Ptr SDL_HitTestResult -> SDL_HitTestResult -> IO ()
writeRaw =
\Ptr SDL_HitTestResult
ptr0 ->
\SDL_HitTestResult
s1 ->
case SDL_HitTestResult
s1 of
SDL_HitTestResult CUInt
unwrap2 ->
Ptr SDL_HitTestResult -> Int -> CUInt -> IO ()
forall a b. WriteRaw a => Ptr b -> Int -> a -> IO ()
Marshal.writeRawByteOff Ptr SDL_HitTestResult
ptr0 (Int
0 :: Int) CUInt
unwrap2
deriving via Marshal.EquivStorable SDL_HitTestResult instance BG.Storable SDL_HitTestResult
deriving via BG.CUInt instance BG.Prim SDL_HitTestResult
instance CEnum.CEnum SDL_HitTestResult where
type CEnumZ SDL_HitTestResult = BG.CUInt
toCEnum :: CEnumZ SDL_HitTestResult -> SDL_HitTestResult
toCEnum = CUInt -> SDL_HitTestResult
CEnumZ SDL_HitTestResult -> SDL_HitTestResult
SDL_HitTestResult
fromCEnum :: SDL_HitTestResult -> CEnumZ SDL_HitTestResult
fromCEnum = forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap"
declaredValues :: forall (proxy :: * -> *).
proxy SDL_HitTestResult -> DeclaredValues SDL_HitTestResult
declaredValues =
\proxy SDL_HitTestResult
_ ->
[(CEnumZ SDL_HitTestResult, NonEmpty String)]
-> DeclaredValues SDL_HitTestResult
forall a.
Ord (CEnumZ a) =>
[(CEnumZ a, NonEmpty String)] -> DeclaredValues a
CEnum.declaredValuesFromList
[ (CUInt
CEnumZ SDL_HitTestResult
0, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_HITTEST_NORMAL")
, (CUInt
CEnumZ SDL_HitTestResult
1, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_HITTEST_DRAGGABLE")
, (CUInt
CEnumZ SDL_HitTestResult
2, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_HITTEST_RESIZE_TOPLEFT")
, (CUInt
CEnumZ SDL_HitTestResult
3, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_HITTEST_RESIZE_TOP")
, (CUInt
CEnumZ SDL_HitTestResult
4, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_HITTEST_RESIZE_TOPRIGHT")
, (CUInt
CEnumZ SDL_HitTestResult
5, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_HITTEST_RESIZE_RIGHT")
, (CUInt
CEnumZ SDL_HitTestResult
6, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_HITTEST_RESIZE_BOTTOMRIGHT")
, (CUInt
CEnumZ SDL_HitTestResult
7, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_HITTEST_RESIZE_BOTTOM")
, (CUInt
CEnumZ SDL_HitTestResult
8, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_HITTEST_RESIZE_BOTTOMLEFT")
, (CUInt
CEnumZ SDL_HitTestResult
9, String -> NonEmpty String
forall a. a -> NonEmpty a
BG.singleton String
"SDL_HITTEST_RESIZE_LEFT")
]
showsUndeclared :: forall (proxy :: * -> *).
proxy SDL_HitTestResult -> Int -> CEnumZ SDL_HitTestResult -> ShowS
showsUndeclared =
String
-> proxy SDL_HitTestResult
-> Int
-> CEnumZ SDL_HitTestResult
-> ShowS
forall a (proxy :: * -> *).
Show (CEnumZ a) =>
String -> proxy a -> Int -> CEnumZ a -> ShowS
CEnum.showsWrappedUndeclared String
"SDL_HitTestResult"
readPrecUndeclared :: ReadPrec SDL_HitTestResult
readPrecUndeclared =
String -> ReadPrec SDL_HitTestResult
forall a. (CEnum a, Read (CEnumZ a)) => String -> ReadPrec a
CEnum.readPrecWrappedUndeclared String
"SDL_HitTestResult"
isDeclared :: SDL_HitTestResult -> Bool
isDeclared = SDL_HitTestResult -> Bool
forall a. SequentialCEnum a => a -> Bool
CEnum.seqIsDeclared
mkDeclared :: CEnumZ SDL_HitTestResult -> Maybe SDL_HitTestResult
mkDeclared = CEnumZ SDL_HitTestResult -> Maybe SDL_HitTestResult
forall a. SequentialCEnum a => CEnumZ a -> Maybe a
CEnum.seqMkDeclared
instance CEnum.SequentialCEnum SDL_HitTestResult where
minDeclaredValue :: SDL_HitTestResult
minDeclaredValue = SDL_HitTestResult
SDL_HITTEST_NORMAL
maxDeclaredValue :: SDL_HitTestResult
maxDeclaredValue = SDL_HitTestResult
SDL_HITTEST_RESIZE_LEFT
instance Show SDL_HitTestResult where
showsPrec :: Int -> SDL_HitTestResult -> ShowS
showsPrec = Int -> SDL_HitTestResult -> ShowS
forall a. CEnum a => Int -> a -> ShowS
CEnum.shows
instance Read SDL_HitTestResult where
readPrec :: ReadPrec SDL_HitTestResult
readPrec = ReadPrec SDL_HitTestResult
forall a. CEnum a => ReadPrec a
CEnum.readPrec
readList :: ReadS [SDL_HitTestResult]
readList = ReadS [SDL_HitTestResult]
forall a. Read a => ReadS [a]
BG.readListDefault
readListPrec :: ReadPrec [SDL_HitTestResult]
readListPrec = ReadPrec [SDL_HitTestResult]
forall a. Read a => ReadPrec [a]
BG.readListPrecDefault
instance
(ty ~ BG.CUInt)
=> BG.CompatHasField.HasField "unwrap" SDL_HitTestResult ty
where
hasField :: SDL_HitTestResult -> (ty -> SDL_HitTestResult, ty)
hasField =
\SDL_HitTestResult
x0 ->
( \ty
y1 ->
SDL_HitTestResult{unwrap :: CUInt
unwrap = ty
CUInt
y1}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_HitTestResult
x0
)
instance
(ty ~ BG.CUInt)
=> BG.HasField "unwrap" (BG.Ptr SDL_HitTestResult) (BG.Ptr ty)
where
getField :: Ptr SDL_HitTestResult -> Ptr ty
getField = Proxy "unwrap"
-> Ptr SDL_HitTestResult
-> Ptr (CFieldType SDL_HitTestResult "unwrap")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"unwrap")
instance HasCField.HasCField SDL_HitTestResult "unwrap" where
type CFieldType SDL_HitTestResult "unwrap" = BG.CUInt
offset# :: Proxy# SDL_HitTestResult -> Proxy# "unwrap" -> Int
offset# = \Proxy# SDL_HitTestResult
_ -> \Proxy# "unwrap"
_ -> Int
0
pattern SDL_HITTEST_NORMAL :: SDL_HitTestResult
pattern $mSDL_HITTEST_NORMAL :: forall {r}. SDL_HitTestResult -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_HITTEST_NORMAL :: SDL_HitTestResult
SDL_HITTEST_NORMAL = SDL_HitTestResult 0
pattern SDL_HITTEST_DRAGGABLE :: SDL_HitTestResult
pattern $mSDL_HITTEST_DRAGGABLE :: forall {r}. SDL_HitTestResult -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_HITTEST_DRAGGABLE :: SDL_HitTestResult
SDL_HITTEST_DRAGGABLE = SDL_HitTestResult 1
pattern SDL_HITTEST_RESIZE_TOPLEFT :: SDL_HitTestResult
pattern $mSDL_HITTEST_RESIZE_TOPLEFT :: forall {r}. SDL_HitTestResult -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_HITTEST_RESIZE_TOPLEFT :: SDL_HitTestResult
SDL_HITTEST_RESIZE_TOPLEFT = SDL_HitTestResult 2
pattern SDL_HITTEST_RESIZE_TOP :: SDL_HitTestResult
pattern $mSDL_HITTEST_RESIZE_TOP :: forall {r}. SDL_HitTestResult -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_HITTEST_RESIZE_TOP :: SDL_HitTestResult
SDL_HITTEST_RESIZE_TOP = SDL_HitTestResult 3
pattern SDL_HITTEST_RESIZE_TOPRIGHT :: SDL_HitTestResult
pattern $mSDL_HITTEST_RESIZE_TOPRIGHT :: forall {r}. SDL_HitTestResult -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_HITTEST_RESIZE_TOPRIGHT :: SDL_HitTestResult
SDL_HITTEST_RESIZE_TOPRIGHT = SDL_HitTestResult 4
pattern SDL_HITTEST_RESIZE_RIGHT :: SDL_HitTestResult
pattern $mSDL_HITTEST_RESIZE_RIGHT :: forall {r}. SDL_HitTestResult -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_HITTEST_RESIZE_RIGHT :: SDL_HitTestResult
SDL_HITTEST_RESIZE_RIGHT = SDL_HitTestResult 5
pattern SDL_HITTEST_RESIZE_BOTTOMRIGHT :: SDL_HitTestResult
pattern $mSDL_HITTEST_RESIZE_BOTTOMRIGHT :: forall {r}. SDL_HitTestResult -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_HITTEST_RESIZE_BOTTOMRIGHT :: SDL_HitTestResult
SDL_HITTEST_RESIZE_BOTTOMRIGHT = SDL_HitTestResult 6
pattern SDL_HITTEST_RESIZE_BOTTOM :: SDL_HitTestResult
pattern $mSDL_HITTEST_RESIZE_BOTTOM :: forall {r}. SDL_HitTestResult -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_HITTEST_RESIZE_BOTTOM :: SDL_HitTestResult
SDL_HITTEST_RESIZE_BOTTOM = SDL_HitTestResult 7
pattern SDL_HITTEST_RESIZE_BOTTOMLEFT :: SDL_HitTestResult
pattern $mSDL_HITTEST_RESIZE_BOTTOMLEFT :: forall {r}. SDL_HitTestResult -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_HITTEST_RESIZE_BOTTOMLEFT :: SDL_HitTestResult
SDL_HITTEST_RESIZE_BOTTOMLEFT = SDL_HitTestResult 8
pattern SDL_HITTEST_RESIZE_LEFT :: SDL_HitTestResult
pattern $mSDL_HITTEST_RESIZE_LEFT :: forall {r}. SDL_HitTestResult -> ((# #) -> r) -> ((# #) -> r) -> r
$bSDL_HITTEST_RESIZE_LEFT :: SDL_HitTestResult
SDL_HITTEST_RESIZE_LEFT = SDL_HitTestResult 9
newtype SDL_HitTest_Aux = SDL_HitTest_Aux
{ SDL_HitTest_Aux
-> Ptr SDL_Window
-> PtrConst SDL_Point
-> Ptr Void
-> IO SDL_HitTestResult
unwrap
:: BG.Ptr SDL_Window
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Point
-> BG.Ptr BG.Void
-> IO SDL_HitTestResult
}
deriving stock ((forall x. SDL_HitTest_Aux -> Rep SDL_HitTest_Aux x)
-> (forall x. Rep SDL_HitTest_Aux x -> SDL_HitTest_Aux)
-> Generic SDL_HitTest_Aux
forall x. Rep SDL_HitTest_Aux x -> SDL_HitTest_Aux
forall x. SDL_HitTest_Aux -> Rep SDL_HitTest_Aux x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. SDL_HitTest_Aux -> Rep SDL_HitTest_Aux x
from :: forall x. SDL_HitTest_Aux -> Rep SDL_HitTest_Aux x
$cto :: forall x. Rep SDL_HitTest_Aux x -> SDL_HitTest_Aux
to :: forall x. Rep SDL_HitTest_Aux x -> SDL_HitTest_Aux
BG.Generic)
foreign import ccall safe "wrapper"
hs_bindgen_22e8e872c7c7261b_base
:: (BG.Ptr BG.Void -> BG.Ptr BG.Void -> BG.Ptr BG.Void -> IO BG.CUInt)
-> IO (BG.FunPtr (BG.Ptr BG.Void -> BG.Ptr BG.Void -> BG.Ptr BG.Void -> IO BG.CUInt))
hs_bindgen_22e8e872c7c7261b
:: SDL_HitTest_Aux
-> IO (BG.FunPtr SDL_HitTest_Aux)
hs_bindgen_22e8e872c7c7261b :: SDL_HitTest_Aux -> IO (FunPtr SDL_HitTest_Aux)
hs_bindgen_22e8e872c7c7261b =
\SDL_HitTest_Aux
fun0 ->
(FunPtr (Ptr Void -> Ptr Void -> Ptr Void -> IO CUInt)
-> FunPtr SDL_HitTest_Aux)
-> IO (FunPtr (Ptr Void -> Ptr Void -> Ptr Void -> IO CUInt))
-> IO (FunPtr SDL_HitTest_Aux)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
FunPtr (Ptr Void -> Ptr Void -> Ptr Void -> IO CUInt)
-> FunPtr SDL_HitTest_Aux
forall a b. FunPtr a -> FunPtr b
BG.castFunPtr
( (Ptr Void -> Ptr Void -> Ptr Void -> IO CUInt)
-> IO (FunPtr (Ptr Void -> Ptr Void -> Ptr Void -> IO CUInt))
hs_bindgen_22e8e872c7c7261b_base
( \Ptr Void
x1 ->
\Ptr Void
x2 ->
\Ptr Void
x3 ->
(SDL_HitTestResult -> CUInt) -> IO SDL_HitTestResult -> IO CUInt
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
SDL_HitTestResult -> CUInt
SDL_HitTestResult -> FFIType SDL_HitTestResult
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType
(forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_HitTest_Aux
fun0 (FFIType (Ptr SDL_Window) -> Ptr SDL_Window
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType Ptr Void
FFIType (Ptr SDL_Window)
x1) (FFIType (PtrConst SDL_Point) -> PtrConst SDL_Point
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType Ptr Void
FFIType (PtrConst SDL_Point)
x2) (FFIType (Ptr Void) -> Ptr Void
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType Ptr Void
FFIType (Ptr Void)
x3))
)
)
foreign import ccall safe "dynamic"
hs_bindgen_33151ef072f28e0c_base
:: BG.FunPtr (BG.Ptr BG.Void -> BG.Ptr BG.Void -> BG.Ptr BG.Void -> IO BG.CUInt)
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CUInt
hs_bindgen_33151ef072f28e0c
:: BG.FunPtr SDL_HitTest_Aux
-> SDL_HitTest_Aux
hs_bindgen_33151ef072f28e0c :: FunPtr SDL_HitTest_Aux -> SDL_HitTest_Aux
hs_bindgen_33151ef072f28e0c =
\FunPtr SDL_HitTest_Aux
funPtr0 ->
(Ptr SDL_Window
-> PtrConst SDL_Point -> Ptr Void -> IO SDL_HitTestResult)
-> SDL_HitTest_Aux
SDL_HitTest_Aux
( \Ptr SDL_Window
x1 ->
\PtrConst SDL_Point
x2 ->
\Ptr Void
x3 ->
(CUInt -> SDL_HitTestResult) -> IO CUInt -> IO SDL_HitTestResult
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CUInt -> SDL_HitTestResult
FFIType SDL_HitTestResult -> SDL_HitTestResult
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( FunPtr (Ptr Void -> Ptr Void -> Ptr Void -> IO CUInt)
-> Ptr Void -> Ptr Void -> Ptr Void -> IO CUInt
hs_bindgen_33151ef072f28e0c_base
(FunPtr SDL_HitTest_Aux
-> FunPtr (Ptr Void -> Ptr Void -> Ptr Void -> IO CUInt)
forall a b. FunPtr a -> FunPtr b
BG.castFunPtr FunPtr SDL_HitTest_Aux
funPtr0)
(Ptr SDL_Window -> FFIType (Ptr SDL_Window)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Window
x1)
(PtrConst SDL_Point -> FFIType (PtrConst SDL_Point)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Point
x2)
(Ptr Void -> FFIType (Ptr Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Void
x3)
)
)
instance BG.ToFunPtr SDL_HitTest_Aux where
toFunPtr :: SDL_HitTest_Aux -> IO (FunPtr SDL_HitTest_Aux)
toFunPtr = SDL_HitTest_Aux -> IO (FunPtr SDL_HitTest_Aux)
hs_bindgen_22e8e872c7c7261b
instance BG.FromFunPtr SDL_HitTest_Aux where
fromFunPtr :: FunPtr SDL_HitTest_Aux -> SDL_HitTest_Aux
fromFunPtr = FunPtr SDL_HitTest_Aux -> SDL_HitTest_Aux
hs_bindgen_33151ef072f28e0c
instance
( ty
~ ( BG.Ptr SDL_Window
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Point
-> BG.Ptr BG.Void
-> IO SDL_HitTestResult
)
)
=> BG.CompatHasField.HasField "unwrap" SDL_HitTest_Aux ty
where
hasField :: SDL_HitTest_Aux -> (ty -> SDL_HitTest_Aux, ty)
hasField =
\SDL_HitTest_Aux
x0 ->
( \ty
y1 ->
SDL_HitTest_Aux{unwrap :: Ptr SDL_Window
-> PtrConst SDL_Point -> Ptr Void -> IO SDL_HitTestResult
unwrap = ty
Ptr SDL_Window
-> PtrConst SDL_Point -> Ptr Void -> IO SDL_HitTestResult
y1}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_HitTest_Aux
x0
)
instance
( ty
~ ( BG.Ptr SDL_Window
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Point
-> BG.Ptr BG.Void
-> IO SDL_HitTestResult
)
)
=> BG.HasField "unwrap" (BG.Ptr SDL_HitTest_Aux) (BG.Ptr ty)
where
getField :: Ptr SDL_HitTest_Aux -> Ptr ty
getField = Proxy "unwrap"
-> Ptr SDL_HitTest_Aux -> Ptr (CFieldType SDL_HitTest_Aux "unwrap")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"unwrap")
instance HasCField.HasCField SDL_HitTest_Aux "unwrap" where
type
CFieldType SDL_HitTest_Aux "unwrap" =
BG.Ptr SDL_Window
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Point
-> BG.Ptr BG.Void
-> IO SDL_HitTestResult
offset# :: Proxy# SDL_HitTest_Aux -> Proxy# "unwrap" -> Int
offset# = \Proxy# SDL_HitTest_Aux
_ -> \Proxy# "unwrap"
_ -> Int
0
newtype SDL_HitTest = SDL_HitTest
{ SDL_HitTest -> FunPtr SDL_HitTest_Aux
unwrap :: BG.FunPtr SDL_HitTest_Aux
}
deriving stock ((forall x. SDL_HitTest -> Rep SDL_HitTest x)
-> (forall x. Rep SDL_HitTest x -> SDL_HitTest)
-> Generic SDL_HitTest
forall x. Rep SDL_HitTest x -> SDL_HitTest
forall x. SDL_HitTest -> Rep SDL_HitTest x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. SDL_HitTest -> Rep SDL_HitTest x
from :: forall x. SDL_HitTest -> Rep SDL_HitTest x
$cto :: forall x. Rep SDL_HitTest x -> SDL_HitTest
to :: forall x. Rep SDL_HitTest x -> SDL_HitTest
BG.Generic, SDL_HitTest -> SDL_HitTest -> Bool
(SDL_HitTest -> SDL_HitTest -> Bool)
-> (SDL_HitTest -> SDL_HitTest -> Bool) -> Eq SDL_HitTest
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SDL_HitTest -> SDL_HitTest -> Bool
== :: SDL_HitTest -> SDL_HitTest -> Bool
$c/= :: SDL_HitTest -> SDL_HitTest -> Bool
/= :: SDL_HitTest -> SDL_HitTest -> Bool
Eq, Eq SDL_HitTest
Eq SDL_HitTest =>
(SDL_HitTest -> SDL_HitTest -> Ordering)
-> (SDL_HitTest -> SDL_HitTest -> Bool)
-> (SDL_HitTest -> SDL_HitTest -> Bool)
-> (SDL_HitTest -> SDL_HitTest -> Bool)
-> (SDL_HitTest -> SDL_HitTest -> Bool)
-> (SDL_HitTest -> SDL_HitTest -> SDL_HitTest)
-> (SDL_HitTest -> SDL_HitTest -> SDL_HitTest)
-> Ord SDL_HitTest
SDL_HitTest -> SDL_HitTest -> Bool
SDL_HitTest -> SDL_HitTest -> Ordering
SDL_HitTest -> SDL_HitTest -> SDL_HitTest
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: SDL_HitTest -> SDL_HitTest -> Ordering
compare :: SDL_HitTest -> SDL_HitTest -> Ordering
$c< :: SDL_HitTest -> SDL_HitTest -> Bool
< :: SDL_HitTest -> SDL_HitTest -> Bool
$c<= :: SDL_HitTest -> SDL_HitTest -> Bool
<= :: SDL_HitTest -> SDL_HitTest -> Bool
$c> :: SDL_HitTest -> SDL_HitTest -> Bool
> :: SDL_HitTest -> SDL_HitTest -> Bool
$c>= :: SDL_HitTest -> SDL_HitTest -> Bool
>= :: SDL_HitTest -> SDL_HitTest -> Bool
$cmax :: SDL_HitTest -> SDL_HitTest -> SDL_HitTest
max :: SDL_HitTest -> SDL_HitTest -> SDL_HitTest
$cmin :: SDL_HitTest -> SDL_HitTest -> SDL_HitTest
min :: SDL_HitTest -> SDL_HitTest -> SDL_HitTest
Ord, Int -> SDL_HitTest -> ShowS
[SDL_HitTest] -> ShowS
SDL_HitTest -> String
(Int -> SDL_HitTest -> ShowS)
-> (SDL_HitTest -> String)
-> ([SDL_HitTest] -> ShowS)
-> Show SDL_HitTest
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SDL_HitTest -> ShowS
showsPrec :: Int -> SDL_HitTest -> ShowS
$cshow :: SDL_HitTest -> String
show :: SDL_HitTest -> String
$cshowList :: [SDL_HitTest] -> ShowS
showList :: [SDL_HitTest] -> ShowS
Show)
deriving newtype
( FFIType SDL_HitTest -> SDL_HitTest
SDL_HitTest -> FFIType SDL_HitTest
(SDL_HitTest -> FFIType SDL_HitTest)
-> (FFIType SDL_HitTest -> SDL_HitTest) -> HasFFIType SDL_HitTest
forall a. (a -> FFIType a) -> (FFIType a -> a) -> HasFFIType a
$ctoFFIType :: SDL_HitTest -> FFIType SDL_HitTest
toFFIType :: SDL_HitTest -> FFIType SDL_HitTest
$cfromFFIType :: FFIType SDL_HitTest -> SDL_HitTest
fromFFIType :: FFIType SDL_HitTest -> SDL_HitTest
BG.HasFFIType
, Ptr SDL_HitTest -> IO SDL_HitTest
Ptr SDL_HitTest -> Int -> IO SDL_HitTest
Ptr SDL_HitTest -> Int -> SDL_HitTest -> IO ()
Ptr SDL_HitTest -> SDL_HitTest -> IO ()
SDL_HitTest -> Int
(SDL_HitTest -> Int)
-> (SDL_HitTest -> Int)
-> (Ptr SDL_HitTest -> Int -> IO SDL_HitTest)
-> (Ptr SDL_HitTest -> Int -> SDL_HitTest -> IO ())
-> (forall b. Ptr b -> Int -> IO SDL_HitTest)
-> (forall b. Ptr b -> Int -> SDL_HitTest -> IO ())
-> (Ptr SDL_HitTest -> IO SDL_HitTest)
-> (Ptr SDL_HitTest -> SDL_HitTest -> IO ())
-> Storable SDL_HitTest
forall b. Ptr b -> Int -> IO SDL_HitTest
forall b. Ptr b -> Int -> SDL_HitTest -> IO ()
forall a.
(a -> Int)
-> (a -> Int)
-> (Ptr a -> Int -> IO a)
-> (Ptr a -> Int -> a -> IO ())
-> (forall b. Ptr b -> Int -> IO a)
-> (forall b. Ptr b -> Int -> a -> IO ())
-> (Ptr a -> IO a)
-> (Ptr a -> a -> IO ())
-> Storable a
$csizeOf :: SDL_HitTest -> Int
sizeOf :: SDL_HitTest -> Int
$calignment :: SDL_HitTest -> Int
alignment :: SDL_HitTest -> Int
$cpeekElemOff :: Ptr SDL_HitTest -> Int -> IO SDL_HitTest
peekElemOff :: Ptr SDL_HitTest -> Int -> IO SDL_HitTest
$cpokeElemOff :: Ptr SDL_HitTest -> Int -> SDL_HitTest -> IO ()
pokeElemOff :: Ptr SDL_HitTest -> Int -> SDL_HitTest -> IO ()
$cpeekByteOff :: forall b. Ptr b -> Int -> IO SDL_HitTest
peekByteOff :: forall b. Ptr b -> Int -> IO SDL_HitTest
$cpokeByteOff :: forall b. Ptr b -> Int -> SDL_HitTest -> IO ()
pokeByteOff :: forall b. Ptr b -> Int -> SDL_HitTest -> IO ()
$cpeek :: Ptr SDL_HitTest -> IO SDL_HitTest
peek :: Ptr SDL_HitTest -> IO SDL_HitTest
$cpoke :: Ptr SDL_HitTest -> SDL_HitTest -> IO ()
poke :: Ptr SDL_HitTest -> SDL_HitTest -> IO ()
BG.Storable
, Ptr SDL_HitTest -> IO SDL_HitTest
(Ptr SDL_HitTest -> IO SDL_HitTest) -> ReadRaw SDL_HitTest
forall a. (Ptr a -> IO a) -> ReadRaw a
$creadRaw :: Ptr SDL_HitTest -> IO SDL_HitTest
readRaw :: Ptr SDL_HitTest -> IO SDL_HitTest
Marshal.ReadRaw
, Proxy SDL_HitTest -> Int
(Proxy SDL_HitTest -> Int)
-> (Proxy SDL_HitTest -> Int) -> StaticSize SDL_HitTest
forall a. (Proxy a -> Int) -> (Proxy a -> Int) -> StaticSize a
$cstaticSizeOf :: Proxy SDL_HitTest -> Int
staticSizeOf :: Proxy SDL_HitTest -> Int
$cstaticAlignment :: Proxy SDL_HitTest -> Int
staticAlignment :: Proxy SDL_HitTest -> Int
Marshal.StaticSize
, Ptr SDL_HitTest -> SDL_HitTest -> IO ()
(Ptr SDL_HitTest -> SDL_HitTest -> IO ()) -> WriteRaw SDL_HitTest
forall a. (Ptr a -> a -> IO ()) -> WriteRaw a
$cwriteRaw :: Ptr SDL_HitTest -> SDL_HitTest -> IO ()
writeRaw :: Ptr SDL_HitTest -> SDL_HitTest -> IO ()
Marshal.WriteRaw
)
instance
(ty ~ BG.FunPtr SDL_HitTest_Aux)
=> BG.CompatHasField.HasField "unwrap" SDL_HitTest ty
where
hasField :: SDL_HitTest -> (ty -> SDL_HitTest, ty)
hasField =
\SDL_HitTest
x0 ->
( \ty
y1 ->
SDL_HitTest{unwrap :: FunPtr SDL_HitTest_Aux
unwrap = ty
FunPtr SDL_HitTest_Aux
y1}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_HitTest
x0
)
instance
(ty ~ BG.FunPtr SDL_HitTest_Aux)
=> BG.HasField "unwrap" (BG.Ptr SDL_HitTest) (BG.Ptr ty)
where
getField :: Ptr SDL_HitTest -> Ptr ty
getField = Proxy "unwrap"
-> Ptr SDL_HitTest -> Ptr (CFieldType SDL_HitTest "unwrap")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"unwrap")
instance HasCField.HasCField SDL_HitTest "unwrap" where
type
CFieldType SDL_HitTest "unwrap" =
BG.FunPtr SDL_HitTest_Aux
offset# :: Proxy# SDL_HitTest -> Proxy# "unwrap" -> Int
offset# = \Proxy# SDL_HitTest
_ -> \Proxy# "unwrap"
_ -> Int
0