diff options
Diffstat (limited to 'LibGit2Sharp/Core/NativeMethods.cs')
-rw-r--r-- | LibGit2Sharp/Core/NativeMethods.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/LibGit2Sharp/Core/NativeMethods.cs b/LibGit2Sharp/Core/NativeMethods.cs index 10b2594a..b48d37a3 100644 --- a/LibGit2Sharp/Core/NativeMethods.cs +++ b/LibGit2Sharp/Core/NativeMethods.cs @@ -236,12 +236,15 @@ namespace LibGit2Sharp.Core public static extern IntPtr git_tree_entry_byname(IntPtr tree, string filename); [DllImport(libgit2)] - public static extern IntPtr git_tree_entry_id(IntPtr tree); + public static extern IntPtr git_tree_entry_id(IntPtr entry); [DllImport(libgit2)] public static extern IntPtr git_tree_entry_name(IntPtr entry); [DllImport(libgit2)] + public static extern GitObjectType git_tree_entry_type(IntPtr entry); + + [DllImport(libgit2)] public static extern uint git_tree_entrycount(IntPtr tree); } }
\ No newline at end of file |