module Bindings.Libgit2.Threads where
import Foreign.Ptr
import Foreign.Ptr (Ptr,FunPtr,plusPtr)
import Foreign.Ptr (wordPtrToPtr,castPtrToFunPtr)
import Foreign.Storable
import Foreign.C.Types
import Foreign.C.String (CString,CStringLen,CWString,CWStringLen)
import Foreign.Marshal.Alloc (alloca)
import Foreign.Marshal.Array (peekArray,pokeArray)
import Data.Int
import Data.Word
import Bindings.Libgit2.Common
foreign import ccall "git_threads_init" c'git_threads_init
:: IO (CInt)
foreign import ccall "&git_threads_init" p'git_threads_init
:: FunPtr (IO (CInt))
foreign import ccall "git_threads_shutdown" c'git_threads_shutdown
:: IO ()
foreign import ccall "&git_threads_shutdown" p'git_threads_shutdown
:: FunPtr (IO ())