module Bindings.Libgit2.Merge 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
import Bindings.Libgit2.Types
import Bindings.Libgit2.Oid
foreign import ccall "git_merge_base" c'git_merge_base
:: Ptr C'git_oid -> Ptr C'git_repository -> Ptr C'git_oid -> Ptr C'git_oid -> IO (CInt)
foreign import ccall "&git_merge_base" p'git_merge_base
:: FunPtr (Ptr C'git_oid -> Ptr C'git_repository -> Ptr C'git_oid -> Ptr C'git_oid -> IO (CInt))
foreign import ccall "git_merge_base_many" c'git_merge_base_many
:: Ptr C'git_oid -> Ptr C'git_repository -> Ptr (C'git_oid) -> CSize -> IO (CInt)
foreign import ccall "&git_merge_base_many" p'git_merge_base_many
:: FunPtr (Ptr C'git_oid -> Ptr C'git_repository -> Ptr (C'git_oid) -> CSize -> IO (CInt))