8000 Remove useless marshaling directive · freevoid/libgit2sharp@0394ec6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0394ec6

Browse files
committed
Remove useless marshaling directive
1 parent 88cf0d9 commit 0394ec6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LibGit2Sharp/Core/NativeMethods.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ internal static extern int git_commit_create(
218218
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string message,
219219
GitObjectSafeHandle tree,
220220
int parentCount,
221-
[MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 7)] [In] IntPtr[] parents);
221+
[MarshalAs(UnmanagedType.LPArray)] [In] IntPtr[] parents);
222222

223223
[DllImport(libgit2)]
224224
[return : MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8NoCleanupMarshaler))]

0 commit comments

Comments
 (0)
0