Skip to content

Commit d96bfe6

Browse files
committed
NativeMethods: take strings for git_rebase_commit
1 parent 93b6835 commit d96bfe6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LibGit2Sharp/Core/NativeMethods.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,8 @@ internal static extern unsafe int git_rebase_commit(
213213
git_rebase* rebase,
214214
git_signature* author,
215215
git_signature* committer,
216-
IntPtr message_encoding,
217-
IntPtr message);
216+
[CustomMarshaler(typeof(StrictUtf8Marshaler), typeof(string))] byte* message_encoding,
217+
[CustomMarshaler(typeof(StrictUtf8Marshaler), typeof(string))] byte* message);
218218

219219
[DllImport(libgit2)]
220220
internal static extern unsafe int git_rebase_abort(

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy