{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Thread.Unsafe (
SDL3.Sys.Bindgen.Thread.Unsafe.sDL_CreateThreadRuntime,
SDL3.Sys.Bindgen.Thread.Unsafe.sDL_CreateThreadWithPropertiesRuntime,
SDL3.Sys.Bindgen.Thread.Unsafe.sDL_GetThreadName,
SDL3.Sys.Bindgen.Thread.Unsafe.sDL_GetCurrentThreadID,
SDL3.Sys.Bindgen.Thread.Unsafe.sDL_GetThreadID,
SDL3.Sys.Bindgen.Thread.Unsafe.sDL_SetCurrentThreadPriority,
SDL3.Sys.Bindgen.Thread.Unsafe.sDL_WaitThread,
SDL3.Sys.Bindgen.Thread.Unsafe.sDL_GetThreadState,
SDL3.Sys.Bindgen.Thread.Unsafe.sDL_DetachThread,
SDL3.Sys.Bindgen.Thread.Unsafe.sDL_GetTLS,
SDL3.Sys.Bindgen.Thread.Unsafe.sDL_SetTLS,
SDL3.Sys.Bindgen.Thread.Unsafe.sDL_CleanupTLS,
)
where
import Prelude (IO, fmap)
import HsBindgen.Runtime.LibC qualified
import HsBindgen.Runtime.PtrConst qualified as PtrConst
import HsBindgen.Runtime.Support qualified
import HsBindgen.Runtime.Support qualified as BG
import HsBindgen.Runtime.Support.CAPI qualified
import SDL3.Sys.Bindgen.Properties qualified
import SDL3.Sys.Bindgen.Stdinc qualified
import SDL3.Sys.Bindgen.Thread
$( 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_thread.h>"
, "SDL_Thread *hs_bindgen_0b01e232776d1771 ("
, " SDL_ThreadFunction arg1,"
, " char const *arg2,"
, " void *arg3,"
, " SDL_FunctionPointer arg4,"
, " SDL_FunctionPointer arg5"
, ")"
, "{"
, " return (SDL_CreateThreadRuntime)(arg1, arg2, arg3, arg4, arg5);"
, "}"
, "SDL_Thread *hs_bindgen_1c8412acc4b761ed ("
, " SDL_PropertiesID arg1,"
, " SDL_FunctionPointer arg2,"
, " SDL_FunctionPointer arg3"
, ")"
, "{"
, " return (SDL_CreateThreadWithPropertiesRuntime)(arg1, arg2, arg3);"
, "}"
, "char const *hs_bindgen_98e2f1286c996b7c ("
, " SDL_Thread *arg1"
, ")"
, "{"
, " return (SDL_GetThreadName)(arg1);"
, "}"
, "SDL_ThreadID hs_bindgen_cdc0bfea9267653a (void)"
, "{"
, " return (SDL_GetCurrentThreadID)();"
, "}"
, "SDL_ThreadID hs_bindgen_0bcf1cae64c8f7f6 ("
, " SDL_Thread *arg1"
, ")"
, "{"
, " return (SDL_GetThreadID)(arg1);"
, "}"
, "_Bool hs_bindgen_3d388217e2964b35 ("
, " SDL_ThreadPriority arg1"
, ")"
, "{"
, " return (SDL_SetCurrentThreadPriority)(arg1);"
, "}"
, "void hs_bindgen_fe4fa21954b69cf9 ("
, " SDL_Thread *arg1,"
, " signed int *arg2"
, ")"
, "{"
, " (SDL_WaitThread)(arg1, arg2);"
, "}"
, "SDL_ThreadState hs_bindgen_44514a39d4434fbe ("
, " SDL_Thread *arg1"
, ")"
, "{"
, " return (SDL_GetThreadState)(arg1);"
, "}"
, "void hs_bindgen_4de0f0719eae79d5 ("
, " SDL_Thread *arg1"
, ")"
, "{"
, " (SDL_DetachThread)(arg1);"
, "}"
, "void *hs_bindgen_43b0e02438c01176 ("
, " SDL_TLSID *arg1"
, ")"
, "{"
, " return (SDL_GetTLS)(arg1);"
, "}"
, "_Bool hs_bindgen_ff93284cbd8231ff ("
, " SDL_TLSID *arg1,"
, " void const *arg2,"
, " SDL_TLSDestructorCallback arg3"
, ")"
, "{"
, " return (SDL_SetTLS)(arg1, arg2, arg3);"
, "}"
, "void hs_bindgen_b394a7e70a8b089a (void)"
, "{"
, " (SDL_CleanupTLS)();"
, "}"
]
)
)
foreign import ccall unsafe "hs_bindgen_0b01e232776d1771"
hs_bindgen_0b01e232776d1771_base
:: BG.FunPtr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.Support.FunPtrVoid
-> HsBindgen.Runtime.Support.FunPtrVoid
-> IO (BG.Ptr BG.Void)
hs_bindgen_0b01e232776d1771
:: SDL_ThreadFunction
-> PtrConst.PtrConst BG.CChar
-> BG.Ptr BG.Void
-> SDL3.Sys.Bindgen.Stdinc.SDL_FunctionPointer
-> SDL3.Sys.Bindgen.Stdinc.SDL_FunctionPointer
-> IO (BG.Ptr SDL_Thread)
hs_bindgen_0b01e232776d1771 :: SDL_ThreadFunction
-> PtrConst CChar
-> Ptr Void
-> SDL_FunctionPointer
-> SDL_FunctionPointer
-> IO (Ptr SDL_Thread)
hs_bindgen_0b01e232776d1771 =
\SDL_ThreadFunction
x0 ->
\PtrConst CChar
x1 ->
\Ptr Void
x2 ->
\SDL_FunctionPointer
x3 ->
\SDL_FunctionPointer
x4 ->
(Ptr Void -> Ptr SDL_Thread)
-> IO (Ptr Void) -> IO (Ptr SDL_Thread)
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_Thread
FFIType (Ptr SDL_Thread) -> Ptr SDL_Thread
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( FunPtr Void
-> Ptr Void
-> Ptr Void
-> FunPtr Void
-> FunPtr Void
-> IO (Ptr Void)
hs_bindgen_0b01e232776d1771_base
(SDL_ThreadFunction -> FFIType SDL_ThreadFunction
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_ThreadFunction
x0)
(PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x1)
(Ptr Void -> FFIType (Ptr Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Void
x2)
(SDL_FunctionPointer -> FFIType SDL_FunctionPointer
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_FunctionPointer
x3)
(SDL_FunctionPointer -> FFIType SDL_FunctionPointer
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_FunctionPointer
x4)
)
sDL_CreateThreadRuntime
:: SDL_ThreadFunction
-> PtrConst.PtrConst BG.CChar
-> BG.Ptr BG.Void
-> SDL3.Sys.Bindgen.Stdinc.SDL_FunctionPointer
-> SDL3.Sys.Bindgen.Stdinc.SDL_FunctionPointer
-> IO (BG.Ptr SDL_Thread)
sDL_CreateThreadRuntime :: SDL_ThreadFunction
-> PtrConst CChar
-> Ptr Void
-> SDL_FunctionPointer
-> SDL_FunctionPointer
-> IO (Ptr SDL_Thread)
sDL_CreateThreadRuntime = SDL_ThreadFunction
-> PtrConst CChar
-> Ptr Void
-> SDL_FunctionPointer
-> SDL_FunctionPointer
-> IO (Ptr SDL_Thread)
hs_bindgen_0b01e232776d1771
foreign import ccall unsafe "hs_bindgen_1c8412acc4b761ed"
hs_bindgen_1c8412acc4b761ed_base
:: HsBindgen.Runtime.LibC.Word32
-> HsBindgen.Runtime.Support.FunPtrVoid
-> HsBindgen.Runtime.Support.FunPtrVoid
-> IO (BG.Ptr BG.Void)
hs_bindgen_1c8412acc4b761ed
:: SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
-> SDL3.Sys.Bindgen.Stdinc.SDL_FunctionPointer
-> SDL3.Sys.Bindgen.Stdinc.SDL_FunctionPointer
-> IO (BG.Ptr SDL_Thread)
hs_bindgen_1c8412acc4b761ed :: SDL_PropertiesID
-> SDL_FunctionPointer
-> SDL_FunctionPointer
-> IO (Ptr SDL_Thread)
hs_bindgen_1c8412acc4b761ed =
\SDL_PropertiesID
x0 ->
\SDL_FunctionPointer
x1 ->
\SDL_FunctionPointer
x2 ->
(Ptr Void -> Ptr SDL_Thread)
-> IO (Ptr Void) -> IO (Ptr SDL_Thread)
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_Thread
FFIType (Ptr SDL_Thread) -> Ptr SDL_Thread
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Word32 -> FunPtr Void -> FunPtr Void -> IO (Ptr Void)
hs_bindgen_1c8412acc4b761ed_base (SDL_PropertiesID -> FFIType SDL_PropertiesID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PropertiesID
x0) (SDL_FunctionPointer -> FFIType SDL_FunctionPointer
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_FunctionPointer
x1) (SDL_FunctionPointer -> FFIType SDL_FunctionPointer
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_FunctionPointer
x2))
sDL_CreateThreadWithPropertiesRuntime
:: SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
-> SDL3.Sys.Bindgen.Stdinc.SDL_FunctionPointer
-> SDL3.Sys.Bindgen.Stdinc.SDL_FunctionPointer
-> IO (BG.Ptr SDL_Thread)
sDL_CreateThreadWithPropertiesRuntime :: SDL_PropertiesID
-> SDL_FunctionPointer
-> SDL_FunctionPointer
-> IO (Ptr SDL_Thread)
sDL_CreateThreadWithPropertiesRuntime =
SDL_PropertiesID
-> SDL_FunctionPointer
-> SDL_FunctionPointer
-> IO (Ptr SDL_Thread)
hs_bindgen_1c8412acc4b761ed
foreign import ccall unsafe "hs_bindgen_98e2f1286c996b7c"
hs_bindgen_98e2f1286c996b7c_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_98e2f1286c996b7c
:: BG.Ptr SDL_Thread
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_98e2f1286c996b7c :: Ptr SDL_Thread -> IO (PtrConst CChar)
hs_bindgen_98e2f1286c996b7c =
\Ptr SDL_Thread
x0 ->
(Ptr Void -> PtrConst CChar)
-> IO (Ptr Void) -> IO (PtrConst CChar)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> PtrConst CChar
FFIType (PtrConst CChar) -> PtrConst CChar
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_98e2f1286c996b7c_base (Ptr SDL_Thread -> FFIType (Ptr SDL_Thread)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Thread
x0))
sDL_GetThreadName
:: BG.Ptr SDL_Thread
-> IO (PtrConst.PtrConst BG.CChar)
sDL_GetThreadName :: Ptr SDL_Thread -> IO (PtrConst CChar)
sDL_GetThreadName = Ptr SDL_Thread -> IO (PtrConst CChar)
hs_bindgen_98e2f1286c996b7c
foreign import ccall unsafe "hs_bindgen_cdc0bfea9267653a"
hs_bindgen_cdc0bfea9267653a_base
:: IO HsBindgen.Runtime.LibC.Word64
hs_bindgen_cdc0bfea9267653a :: IO SDL_ThreadID
hs_bindgen_cdc0bfea9267653a :: IO SDL_ThreadID
hs_bindgen_cdc0bfea9267653a =
(Word64 -> SDL_ThreadID) -> IO Word64 -> IO SDL_ThreadID
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Word64 -> SDL_ThreadID
FFIType SDL_ThreadID -> SDL_ThreadID
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO Word64
hs_bindgen_cdc0bfea9267653a_base
sDL_GetCurrentThreadID :: IO SDL_ThreadID
sDL_GetCurrentThreadID :: IO SDL_ThreadID
sDL_GetCurrentThreadID = IO SDL_ThreadID
hs_bindgen_cdc0bfea9267653a
foreign import ccall unsafe "hs_bindgen_0bcf1cae64c8f7f6"
hs_bindgen_0bcf1cae64c8f7f6_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word64
hs_bindgen_0bcf1cae64c8f7f6
:: BG.Ptr SDL_Thread
-> IO SDL_ThreadID
hs_bindgen_0bcf1cae64c8f7f6 :: Ptr SDL_Thread -> IO SDL_ThreadID
hs_bindgen_0bcf1cae64c8f7f6 =
\Ptr SDL_Thread
x0 ->
(Word64 -> SDL_ThreadID) -> IO Word64 -> IO SDL_ThreadID
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Word64 -> SDL_ThreadID
FFIType SDL_ThreadID -> SDL_ThreadID
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO Word64
hs_bindgen_0bcf1cae64c8f7f6_base (Ptr SDL_Thread -> FFIType (Ptr SDL_Thread)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Thread
x0))
sDL_GetThreadID
:: BG.Ptr SDL_Thread
-> IO SDL_ThreadID
sDL_GetThreadID :: Ptr SDL_Thread -> IO SDL_ThreadID
sDL_GetThreadID = Ptr SDL_Thread -> IO SDL_ThreadID
hs_bindgen_0bcf1cae64c8f7f6
foreign import ccall unsafe "hs_bindgen_3d388217e2964b35"
hs_bindgen_3d388217e2964b35_base
:: BG.CUInt
-> IO BG.CBool
hs_bindgen_3d388217e2964b35
:: SDL_ThreadPriority
-> IO BG.CBool
hs_bindgen_3d388217e2964b35 :: SDL_ThreadPriority -> IO CBool
hs_bindgen_3d388217e2964b35 =
\SDL_ThreadPriority
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (CUInt -> IO CBool
hs_bindgen_3d388217e2964b35_base (SDL_ThreadPriority -> FFIType SDL_ThreadPriority
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_ThreadPriority
x0))
sDL_SetCurrentThreadPriority
:: SDL_ThreadPriority
-> IO BG.CBool
sDL_SetCurrentThreadPriority :: SDL_ThreadPriority -> IO CBool
sDL_SetCurrentThreadPriority =
SDL_ThreadPriority -> IO CBool
hs_bindgen_3d388217e2964b35
foreign import ccall unsafe "hs_bindgen_fe4fa21954b69cf9"
hs_bindgen_fe4fa21954b69cf9_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_fe4fa21954b69cf9
:: BG.Ptr SDL_Thread
-> BG.Ptr BG.CInt
-> IO ()
hs_bindgen_fe4fa21954b69cf9 :: Ptr SDL_Thread -> Ptr CInt -> IO ()
hs_bindgen_fe4fa21954b69cf9 =
\Ptr SDL_Thread
x0 ->
\Ptr CInt
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_fe4fa21954b69cf9_base (Ptr SDL_Thread -> FFIType (Ptr SDL_Thread)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Thread
x0) (Ptr CInt -> FFIType (Ptr CInt)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CInt
x1)
sDL_WaitThread
:: BG.Ptr SDL_Thread
-> BG.Ptr BG.CInt
-> IO ()
sDL_WaitThread :: Ptr SDL_Thread -> Ptr CInt -> IO ()
sDL_WaitThread = Ptr SDL_Thread -> Ptr CInt -> IO ()
hs_bindgen_fe4fa21954b69cf9
foreign import ccall unsafe "hs_bindgen_44514a39d4434fbe"
hs_bindgen_44514a39d4434fbe_base
:: BG.Ptr BG.Void
-> IO BG.CUInt
hs_bindgen_44514a39d4434fbe
:: BG.Ptr SDL_Thread
-> IO SDL_ThreadState
hs_bindgen_44514a39d4434fbe :: Ptr SDL_Thread -> IO SDL_ThreadState
hs_bindgen_44514a39d4434fbe =
\Ptr SDL_Thread
x0 ->
(CUInt -> SDL_ThreadState) -> IO CUInt -> IO SDL_ThreadState
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CUInt -> SDL_ThreadState
FFIType SDL_ThreadState -> SDL_ThreadState
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CUInt
hs_bindgen_44514a39d4434fbe_base (Ptr SDL_Thread -> FFIType (Ptr SDL_Thread)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Thread
x0))
sDL_GetThreadState
:: BG.Ptr SDL_Thread
-> IO SDL_ThreadState
sDL_GetThreadState :: Ptr SDL_Thread -> IO SDL_ThreadState
sDL_GetThreadState = Ptr SDL_Thread -> IO SDL_ThreadState
hs_bindgen_44514a39d4434fbe
foreign import ccall unsafe "hs_bindgen_4de0f0719eae79d5"
hs_bindgen_4de0f0719eae79d5_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_4de0f0719eae79d5
:: BG.Ptr SDL_Thread
-> IO ()
hs_bindgen_4de0f0719eae79d5 :: Ptr SDL_Thread -> IO ()
hs_bindgen_4de0f0719eae79d5 =
\Ptr SDL_Thread
x0 ->
Ptr Void -> IO ()
hs_bindgen_4de0f0719eae79d5_base (Ptr SDL_Thread -> FFIType (Ptr SDL_Thread)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Thread
x0)
sDL_DetachThread
:: BG.Ptr SDL_Thread
-> IO ()
sDL_DetachThread :: Ptr SDL_Thread -> IO ()
sDL_DetachThread = Ptr SDL_Thread -> IO ()
hs_bindgen_4de0f0719eae79d5
foreign import ccall unsafe "hs_bindgen_43b0e02438c01176"
hs_bindgen_43b0e02438c01176_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_43b0e02438c01176
:: BG.Ptr SDL_TLSID
-> IO (BG.Ptr BG.Void)
hs_bindgen_43b0e02438c01176 :: Ptr SDL_TLSID -> IO (Ptr Void)
hs_bindgen_43b0e02438c01176 =
\Ptr SDL_TLSID
x0 ->
(Ptr Void -> Ptr Void) -> IO (Ptr Void) -> IO (Ptr Void)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr Void
FFIType (Ptr Void) -> Ptr Void
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_43b0e02438c01176_base (Ptr SDL_TLSID -> FFIType (Ptr SDL_TLSID)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_TLSID
x0))
sDL_GetTLS
:: BG.Ptr SDL_TLSID
-> IO (BG.Ptr BG.Void)
sDL_GetTLS :: Ptr SDL_TLSID -> IO (Ptr Void)
sDL_GetTLS = Ptr SDL_TLSID -> IO (Ptr Void)
hs_bindgen_43b0e02438c01176
foreign import ccall unsafe "hs_bindgen_ff93284cbd8231ff"
hs_bindgen_ff93284cbd8231ff_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.FunPtr BG.Void
-> IO BG.CBool
hs_bindgen_ff93284cbd8231ff
:: BG.Ptr SDL_TLSID
-> PtrConst.PtrConst BG.Void
-> SDL_TLSDestructorCallback
-> IO BG.CBool
hs_bindgen_ff93284cbd8231ff :: Ptr SDL_TLSID
-> PtrConst Void -> SDL_TLSDestructorCallback -> IO CBool
hs_bindgen_ff93284cbd8231ff =
\Ptr SDL_TLSID
x0 ->
\PtrConst Void
x1 ->
\SDL_TLSDestructorCallback
x2 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> FunPtr Void -> IO CBool
hs_bindgen_ff93284cbd8231ff_base (Ptr SDL_TLSID -> FFIType (Ptr SDL_TLSID)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_TLSID
x0) (PtrConst Void -> FFIType (PtrConst Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst Void
x1) (SDL_TLSDestructorCallback -> FFIType SDL_TLSDestructorCallback
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_TLSDestructorCallback
x2))
sDL_SetTLS
:: BG.Ptr SDL_TLSID
-> PtrConst.PtrConst BG.Void
-> SDL_TLSDestructorCallback
-> IO BG.CBool
sDL_SetTLS :: Ptr SDL_TLSID
-> PtrConst Void -> SDL_TLSDestructorCallback -> IO CBool
sDL_SetTLS = Ptr SDL_TLSID
-> PtrConst Void -> SDL_TLSDestructorCallback -> IO CBool
hs_bindgen_ff93284cbd8231ff
foreign import ccall unsafe "hs_bindgen_b394a7e70a8b089a"
hs_bindgen_b394a7e70a8b089a_base
:: IO ()
hs_bindgen_b394a7e70a8b089a :: IO ()
hs_bindgen_b394a7e70a8b089a :: IO ()
hs_bindgen_b394a7e70a8b089a =
IO ()
hs_bindgen_b394a7e70a8b089a_base
sDL_CleanupTLS :: IO ()
sDL_CleanupTLS :: IO ()
sDL_CleanupTLS = IO ()
hs_bindgen_b394a7e70a8b089a