diff options
author | nulltoken <emeric.fermas@gmail.com> | 2013-05-25 14:55:51 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2013-05-26 21:07:38 +0400 |
commit | 8b13ff3a89d40fef94974facf52d578f11feba52 (patch) | |
tree | 01103eb0adb033d54ecf26dc8a34594e039a913c /LibGit2Sharp/Core/NativeMethods.cs | |
parent | 96df5f8d6d3e35f8aadafdc25a95ede3eb9e86b5 (diff) |
Introduce repo.ObjectDatabase.CreateTag()
Diffstat (limited to 'LibGit2Sharp/Core/NativeMethods.cs')
-rw-r--r-- | LibGit2Sharp/Core/NativeMethods.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/LibGit2Sharp/Core/NativeMethods.cs b/LibGit2Sharp/Core/NativeMethods.cs index a7f6f57c..cd0078a6 100644 --- a/LibGit2Sharp/Core/NativeMethods.cs +++ b/LibGit2Sharp/Core/NativeMethods.cs @@ -1097,6 +1097,15 @@ namespace LibGit2Sharp.Core SubmoduleSafeHandle submodule); [DllImport(libgit2)] + internal static extern int git_tag_annotation_create( + out GitOid oid, + RepositorySafeHandle repo, + [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string name, + GitObjectSafeHandle target, + SignatureSafeHandle signature, + [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string message); + + [DllImport(libgit2)] internal static extern int git_tag_create( out GitOid oid, RepositorySafeHandle repo, |