{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Clipboard.FunPtr (
SDL3.Sys.Bindgen.Clipboard.FunPtr.sDL_SetClipboardText,
SDL3.Sys.Bindgen.Clipboard.FunPtr.sDL_GetClipboardText,
SDL3.Sys.Bindgen.Clipboard.FunPtr.sDL_HasClipboardText,
SDL3.Sys.Bindgen.Clipboard.FunPtr.sDL_SetPrimarySelectionText,
SDL3.Sys.Bindgen.Clipboard.FunPtr.sDL_GetPrimarySelectionText,
SDL3.Sys.Bindgen.Clipboard.FunPtr.sDL_HasPrimarySelectionText,
SDL3.Sys.Bindgen.Clipboard.FunPtr.sDL_SetClipboardData,
SDL3.Sys.Bindgen.Clipboard.FunPtr.sDL_ClearClipboardData,
SDL3.Sys.Bindgen.Clipboard.FunPtr.sDL_GetClipboardData,
SDL3.Sys.Bindgen.Clipboard.FunPtr.sDL_HasClipboardData,
SDL3.Sys.Bindgen.Clipboard.FunPtr.sDL_GetClipboardMimeTypes,
)
where
import Prelude (IO, fmap)
import HsBindgen.Runtime.LibC qualified
import HsBindgen.Runtime.PtrConst qualified as PtrConst
import HsBindgen.Runtime.Support qualified as BG
import HsBindgen.Runtime.Support.CAPI qualified
import SDL3.Sys.Bindgen.Clipboard
$( HsBindgen.Runtime.Support.CAPI.addCSource
( HsBindgen.Runtime.Support.CAPI.unlines
[ "#define SDL_MAIN_HANDLED"
, "#define SDL_SLOW_MEMCPY"
, "#define SDL_SLOW_MEMMOVE"
, "#define SDL_SLOW_MEMSET"
, "#include <SDL3/SDL_clipboard.h>"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Clipboard_get_SDL_SetClipboardText */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_e6a081b49815ff9d (void)) ("
, " char const *arg1"
, ")"
, "{"
, " return &SDL_SetClipboardText;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Clipboard_get_SDL_GetClipboardText */"
, "__attribute__ ((const))"
, "char *(*hs_bindgen_e073f17299d97161 (void)) (void)"
, "{"
, " return &SDL_GetClipboardText;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Clipboard_get_SDL_HasClipboardText */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_0110b0e19d65293a (void)) (void)"
, "{"
, " return &SDL_HasClipboardText;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Clipboard_get_SDL_SetPrimarySelectionText */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_2780901b25e68105 (void)) ("
, " char const *arg1"
, ")"
, "{"
, " return &SDL_SetPrimarySelectionText;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Clipboard_get_SDL_GetPrimarySelectionText */"
, "__attribute__ ((const))"
, "char *(*hs_bindgen_a50a077372a1275b (void)) (void)"
, "{"
, " return &SDL_GetPrimarySelectionText;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Clipboard_get_SDL_HasPrimarySelectionText */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_ed5cec4a17949538 (void)) (void)"
, "{"
, " return &SDL_HasPrimarySelectionText;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Clipboard_get_SDL_SetClipboardData */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_407833da207603f1 (void)) ("
, " SDL_ClipboardDataCallback arg1,"
, " SDL_ClipboardCleanupCallback arg2,"
, " void *arg3,"
, " char const *const *arg4,"
, " size_t arg5"
, ")"
, "{"
, " return &SDL_SetClipboardData;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Clipboard_get_SDL_ClearClipboardData */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_6b6d9f04b710100d (void)) (void)"
, "{"
, " return &SDL_ClearClipboardData;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Clipboard_get_SDL_GetClipboardData */"
, "__attribute__ ((const))"
, "void *(*hs_bindgen_4936992218b0c564 (void)) ("
, " char const *arg1,"
, " size_t *arg2"
, ")"
, "{"
, " return &SDL_GetClipboardData;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Clipboard_get_SDL_HasClipboardData */"
, "__attribute__ ((const))"
, "_Bool (*hs_bindgen_a0c05f57097b9fe0 (void)) ("
, " char const *arg1"
, ")"
, "{"
, " return &SDL_HasClipboardData;"
, "}"
, "/* sdl3bindgensys_SDL3.Sys.Bindgen.Clipboard_get_SDL_GetClipboardMimeTypes */"
, "__attribute__ ((const))"
, "char **(*hs_bindgen_fa141967047535cc (void)) ("
, " size_t *arg1"
, ")"
, "{"
, " return &SDL_GetClipboardMimeTypes;"
, "}"
]
)
)
foreign import ccall unsafe "hs_bindgen_e6a081b49815ff9d"
hs_bindgen_e6a081b49815ff9d_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_e6a081b49815ff9d :: IO (BG.FunPtr (PtrConst.PtrConst BG.CChar -> IO BG.CBool))
hs_bindgen_e6a081b49815ff9d :: IO (FunPtr (PtrConst CChar -> IO CBool))
hs_bindgen_e6a081b49815ff9d =
(FunPtr Void -> FunPtr (PtrConst CChar -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (PtrConst CChar -> IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (PtrConst CChar -> IO CBool)
FFIType (FunPtr (PtrConst CChar -> IO CBool))
-> FunPtr (PtrConst CChar -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_e6a081b49815ff9d_base
{-# NOINLINE sDL_SetClipboardText #-}
sDL_SetClipboardText :: BG.FunPtr (PtrConst.PtrConst BG.CChar -> IO BG.CBool)
sDL_SetClipboardText :: FunPtr (PtrConst CChar -> IO CBool)
sDL_SetClipboardText =
IO (FunPtr (PtrConst CChar -> IO CBool))
-> FunPtr (PtrConst CChar -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (PtrConst CChar -> IO CBool))
hs_bindgen_e6a081b49815ff9d
foreign import ccall unsafe "hs_bindgen_e073f17299d97161"
hs_bindgen_e073f17299d97161_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_e073f17299d97161 :: IO (BG.FunPtr (IO (BG.Ptr BG.CChar)))
hs_bindgen_e073f17299d97161 :: IO (FunPtr (IO (Ptr CChar)))
hs_bindgen_e073f17299d97161 =
(FunPtr Void -> FunPtr (IO (Ptr CChar)))
-> IO (FunPtr Void) -> IO (FunPtr (IO (Ptr CChar)))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (IO (Ptr CChar))
FFIType (FunPtr (IO (Ptr CChar))) -> FunPtr (IO (Ptr CChar))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_e073f17299d97161_base
{-# NOINLINE sDL_GetClipboardText #-}
sDL_GetClipboardText :: BG.FunPtr (IO (BG.Ptr BG.CChar))
sDL_GetClipboardText :: FunPtr (IO (Ptr CChar))
sDL_GetClipboardText =
IO (FunPtr (IO (Ptr CChar))) -> FunPtr (IO (Ptr CChar))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO (Ptr CChar)))
hs_bindgen_e073f17299d97161
foreign import ccall unsafe "hs_bindgen_0110b0e19d65293a"
hs_bindgen_0110b0e19d65293a_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_0110b0e19d65293a :: IO (BG.FunPtr (IO BG.CBool))
hs_bindgen_0110b0e19d65293a :: IO (FunPtr (IO CBool))
hs_bindgen_0110b0e19d65293a =
(FunPtr Void -> FunPtr (IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (IO CBool)
FFIType (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_0110b0e19d65293a_base
{-# NOINLINE sDL_HasClipboardText #-}
sDL_HasClipboardText :: BG.FunPtr (IO BG.CBool)
sDL_HasClipboardText :: FunPtr (IO CBool)
sDL_HasClipboardText =
IO (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CBool))
hs_bindgen_0110b0e19d65293a
foreign import ccall unsafe "hs_bindgen_2780901b25e68105"
hs_bindgen_2780901b25e68105_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_2780901b25e68105 :: IO (BG.FunPtr (PtrConst.PtrConst BG.CChar -> IO BG.CBool))
hs_bindgen_2780901b25e68105 :: IO (FunPtr (PtrConst CChar -> IO CBool))
hs_bindgen_2780901b25e68105 =
(FunPtr Void -> FunPtr (PtrConst CChar -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (PtrConst CChar -> IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (PtrConst CChar -> IO CBool)
FFIType (FunPtr (PtrConst CChar -> IO CBool))
-> FunPtr (PtrConst CChar -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_2780901b25e68105_base
{-# NOINLINE sDL_SetPrimarySelectionText #-}
sDL_SetPrimarySelectionText :: BG.FunPtr (PtrConst.PtrConst BG.CChar -> IO BG.CBool)
sDL_SetPrimarySelectionText :: FunPtr (PtrConst CChar -> IO CBool)
sDL_SetPrimarySelectionText =
IO (FunPtr (PtrConst CChar -> IO CBool))
-> FunPtr (PtrConst CChar -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (PtrConst CChar -> IO CBool))
hs_bindgen_2780901b25e68105
foreign import ccall unsafe "hs_bindgen_a50a077372a1275b"
hs_bindgen_a50a077372a1275b_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_a50a077372a1275b :: IO (BG.FunPtr (IO (BG.Ptr BG.CChar)))
hs_bindgen_a50a077372a1275b :: IO (FunPtr (IO (Ptr CChar)))
hs_bindgen_a50a077372a1275b =
(FunPtr Void -> FunPtr (IO (Ptr CChar)))
-> IO (FunPtr Void) -> IO (FunPtr (IO (Ptr CChar)))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (IO (Ptr CChar))
FFIType (FunPtr (IO (Ptr CChar))) -> FunPtr (IO (Ptr CChar))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_a50a077372a1275b_base
{-# NOINLINE sDL_GetPrimarySelectionText #-}
sDL_GetPrimarySelectionText :: BG.FunPtr (IO (BG.Ptr BG.CChar))
sDL_GetPrimarySelectionText :: FunPtr (IO (Ptr CChar))
sDL_GetPrimarySelectionText =
IO (FunPtr (IO (Ptr CChar))) -> FunPtr (IO (Ptr CChar))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO (Ptr CChar)))
hs_bindgen_a50a077372a1275b
foreign import ccall unsafe "hs_bindgen_ed5cec4a17949538"
hs_bindgen_ed5cec4a17949538_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_ed5cec4a17949538 :: IO (BG.FunPtr (IO BG.CBool))
hs_bindgen_ed5cec4a17949538 :: IO (FunPtr (IO CBool))
hs_bindgen_ed5cec4a17949538 =
(FunPtr Void -> FunPtr (IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (IO CBool)
FFIType (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_ed5cec4a17949538_base
{-# NOINLINE sDL_HasPrimarySelectionText #-}
sDL_HasPrimarySelectionText :: BG.FunPtr (IO BG.CBool)
sDL_HasPrimarySelectionText :: FunPtr (IO CBool)
sDL_HasPrimarySelectionText =
IO (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CBool))
hs_bindgen_ed5cec4a17949538
foreign import ccall unsafe "hs_bindgen_407833da207603f1"
hs_bindgen_407833da207603f1_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_407833da207603f1
:: IO
( BG.FunPtr
( SDL_ClipboardDataCallback
-> SDL_ClipboardCleanupCallback
-> BG.Ptr BG.Void
-> PtrConst.PtrConst (PtrConst.PtrConst BG.CChar)
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CBool
)
)
hs_bindgen_407833da207603f1 :: IO
(FunPtr
(SDL_ClipboardDataCallback
-> SDL_ClipboardCleanupCallback
-> Ptr Void
-> PtrConst (PtrConst CChar)
-> CSize
-> IO CBool))
hs_bindgen_407833da207603f1 =
(FunPtr Void
-> FunPtr
(SDL_ClipboardDataCallback
-> SDL_ClipboardCleanupCallback
-> Ptr Void
-> PtrConst (PtrConst CChar)
-> CSize
-> IO CBool))
-> IO (FunPtr Void)
-> IO
(FunPtr
(SDL_ClipboardDataCallback
-> SDL_ClipboardCleanupCallback
-> Ptr Void
-> PtrConst (PtrConst CChar)
-> CSize
-> IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void
-> FunPtr
(SDL_ClipboardDataCallback
-> SDL_ClipboardCleanupCallback
-> Ptr Void
-> PtrConst (PtrConst CChar)
-> CSize
-> IO CBool)
FFIType
(FunPtr
(SDL_ClipboardDataCallback
-> SDL_ClipboardCleanupCallback
-> Ptr Void
-> PtrConst (PtrConst CChar)
-> CSize
-> IO CBool))
-> FunPtr
(SDL_ClipboardDataCallback
-> SDL_ClipboardCleanupCallback
-> Ptr Void
-> PtrConst (PtrConst CChar)
-> CSize
-> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_407833da207603f1_base
{-# NOINLINE sDL_SetClipboardData #-}
sDL_SetClipboardData
:: BG.FunPtr
( SDL_ClipboardDataCallback
-> SDL_ClipboardCleanupCallback
-> BG.Ptr BG.Void
-> PtrConst.PtrConst (PtrConst.PtrConst BG.CChar)
-> HsBindgen.Runtime.LibC.CSize
-> IO BG.CBool
)
sDL_SetClipboardData :: FunPtr
(SDL_ClipboardDataCallback
-> SDL_ClipboardCleanupCallback
-> Ptr Void
-> PtrConst (PtrConst CChar)
-> CSize
-> IO CBool)
sDL_SetClipboardData =
IO
(FunPtr
(SDL_ClipboardDataCallback
-> SDL_ClipboardCleanupCallback
-> Ptr Void
-> PtrConst (PtrConst CChar)
-> CSize
-> IO CBool))
-> FunPtr
(SDL_ClipboardDataCallback
-> SDL_ClipboardCleanupCallback
-> Ptr Void
-> PtrConst (PtrConst CChar)
-> CSize
-> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO
(FunPtr
(SDL_ClipboardDataCallback
-> SDL_ClipboardCleanupCallback
-> Ptr Void
-> PtrConst (PtrConst CChar)
-> CSize
-> IO CBool))
hs_bindgen_407833da207603f1
foreign import ccall unsafe "hs_bindgen_6b6d9f04b710100d"
hs_bindgen_6b6d9f04b710100d_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_6b6d9f04b710100d :: IO (BG.FunPtr (IO BG.CBool))
hs_bindgen_6b6d9f04b710100d :: IO (FunPtr (IO CBool))
hs_bindgen_6b6d9f04b710100d =
(FunPtr Void -> FunPtr (IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (IO CBool)
FFIType (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_6b6d9f04b710100d_base
{-# NOINLINE sDL_ClearClipboardData #-}
sDL_ClearClipboardData :: BG.FunPtr (IO BG.CBool)
sDL_ClearClipboardData :: FunPtr (IO CBool)
sDL_ClearClipboardData =
IO (FunPtr (IO CBool)) -> FunPtr (IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (IO CBool))
hs_bindgen_6b6d9f04b710100d
foreign import ccall unsafe "hs_bindgen_4936992218b0c564"
hs_bindgen_4936992218b0c564_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_4936992218b0c564
:: IO
(BG.FunPtr (PtrConst.PtrConst BG.CChar -> BG.Ptr HsBindgen.Runtime.LibC.CSize -> IO (BG.Ptr BG.Void)))
hs_bindgen_4936992218b0c564 :: IO (FunPtr (PtrConst CChar -> Ptr CSize -> IO (Ptr Void)))
hs_bindgen_4936992218b0c564 =
(FunPtr Void
-> FunPtr (PtrConst CChar -> Ptr CSize -> IO (Ptr Void)))
-> IO (FunPtr Void)
-> IO (FunPtr (PtrConst CChar -> Ptr CSize -> 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 FunPtr Void
-> FunPtr (PtrConst CChar -> Ptr CSize -> IO (Ptr Void))
FFIType (FunPtr (PtrConst CChar -> Ptr CSize -> IO (Ptr Void)))
-> FunPtr (PtrConst CChar -> Ptr CSize -> IO (Ptr Void))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_4936992218b0c564_base
{-# NOINLINE sDL_GetClipboardData #-}
sDL_GetClipboardData
:: BG.FunPtr (PtrConst.PtrConst BG.CChar -> BG.Ptr HsBindgen.Runtime.LibC.CSize -> IO (BG.Ptr BG.Void))
sDL_GetClipboardData :: FunPtr (PtrConst CChar -> Ptr CSize -> IO (Ptr Void))
sDL_GetClipboardData =
IO (FunPtr (PtrConst CChar -> Ptr CSize -> IO (Ptr Void)))
-> FunPtr (PtrConst CChar -> Ptr CSize -> IO (Ptr Void))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (PtrConst CChar -> Ptr CSize -> IO (Ptr Void)))
hs_bindgen_4936992218b0c564
foreign import ccall unsafe "hs_bindgen_a0c05f57097b9fe0"
hs_bindgen_a0c05f57097b9fe0_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_a0c05f57097b9fe0 :: IO (BG.FunPtr (PtrConst.PtrConst BG.CChar -> IO BG.CBool))
hs_bindgen_a0c05f57097b9fe0 :: IO (FunPtr (PtrConst CChar -> IO CBool))
hs_bindgen_a0c05f57097b9fe0 =
(FunPtr Void -> FunPtr (PtrConst CChar -> IO CBool))
-> IO (FunPtr Void) -> IO (FunPtr (PtrConst CChar -> IO CBool))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (PtrConst CChar -> IO CBool)
FFIType (FunPtr (PtrConst CChar -> IO CBool))
-> FunPtr (PtrConst CChar -> IO CBool)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_a0c05f57097b9fe0_base
{-# NOINLINE sDL_HasClipboardData #-}
sDL_HasClipboardData :: BG.FunPtr (PtrConst.PtrConst BG.CChar -> IO BG.CBool)
sDL_HasClipboardData :: FunPtr (PtrConst CChar -> IO CBool)
sDL_HasClipboardData =
IO (FunPtr (PtrConst CChar -> IO CBool))
-> FunPtr (PtrConst CChar -> IO CBool)
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (PtrConst CChar -> IO CBool))
hs_bindgen_a0c05f57097b9fe0
foreign import ccall unsafe "hs_bindgen_fa141967047535cc"
hs_bindgen_fa141967047535cc_base
:: IO (BG.FunPtr BG.Void)
hs_bindgen_fa141967047535cc
:: IO (BG.FunPtr (BG.Ptr HsBindgen.Runtime.LibC.CSize -> IO (BG.Ptr (BG.Ptr BG.CChar))))
hs_bindgen_fa141967047535cc :: IO (FunPtr (Ptr CSize -> IO (Ptr (Ptr CChar))))
hs_bindgen_fa141967047535cc =
(FunPtr Void -> FunPtr (Ptr CSize -> IO (Ptr (Ptr CChar))))
-> IO (FunPtr Void)
-> IO (FunPtr (Ptr CSize -> IO (Ptr (Ptr CChar))))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap FunPtr Void -> FunPtr (Ptr CSize -> IO (Ptr (Ptr CChar)))
FFIType (FunPtr (Ptr CSize -> IO (Ptr (Ptr CChar))))
-> FunPtr (Ptr CSize -> IO (Ptr (Ptr CChar)))
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO (FunPtr Void)
hs_bindgen_fa141967047535cc_base
{-# NOINLINE sDL_GetClipboardMimeTypes #-}
sDL_GetClipboardMimeTypes
:: BG.FunPtr (BG.Ptr HsBindgen.Runtime.LibC.CSize -> IO (BG.Ptr (BG.Ptr BG.CChar)))
sDL_GetClipboardMimeTypes :: FunPtr (Ptr CSize -> IO (Ptr (Ptr CChar)))
sDL_GetClipboardMimeTypes =
IO (FunPtr (Ptr CSize -> IO (Ptr (Ptr CChar))))
-> FunPtr (Ptr CSize -> IO (Ptr (Ptr CChar)))
forall a. IO a -> a
BG.unsafePerformIO IO (FunPtr (Ptr CSize -> IO (Ptr (Ptr CChar))))
hs_bindgen_fa141967047535cc